51 lines
941 B
RPMSpec
Executable File
51 lines
941 B
RPMSpec
Executable File
# $Id$
|
|
# $HeadURL$
|
|
#
|
|
# Von Hand auszufuellen - Version und Release anpassen!
|
|
# thp_viewer.tar.bz2 muss nach /usr/src/packages/SOURCES
|
|
# rpmbuild --target=noarch -bb ctc_thp.spec
|
|
#
|
|
Summary: CTC THP-Viewer
|
|
Name: ahtc_thp
|
|
Version: 1.3
|
|
Release: 54411
|
|
License: proprietary
|
|
Group: Applications/Communications
|
|
Source: thp.tgz
|
|
Prefix: /opt/THP
|
|
BuildRoot: /shd/CTC/TOOLS/tds/
|
|
Vendor: Rheinmetall Electronics GmbH
|
|
URL: http://www.rheinmetall-electronics.de
|
|
Packager: ctc
|
|
AutoReqProv: no
|
|
|
|
%description
|
|
Combat Training Center THP-Viewer Software for Windows
|
|
|
|
%changelog
|
|
#* date +"%a %b %d %Y" text
|
|
* Thu Aug 30 2011 CE
|
|
- initial
|
|
|
|
%prep
|
|
%setup -q -n thp
|
|
echo "prep done"
|
|
|
|
%build
|
|
# nothing to do here
|
|
|
|
%install
|
|
mkdir -p "$RPM_BUILD_ROOT/%{prefix}/"
|
|
cp -r "%{_builddir}/%{buildsubdir}" "$RPM_BUILD_ROOT/%{prefix}/"
|
|
cp -r "%{_builddir}/thp_starter.exe" "$RPM_BUILD_ROOT/%{prefix}/"
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,ctc,ctc)
|
|
"%{prefix}/"
|
|
|
|
|
|
|