SPECS: urbanterror.spec - package datafiles

glen glen at pld-linux.org
Mon Feb 2 09:11:16 CET 2009


Author: glen                         Date: Mon Feb  2 08:11:16 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package datafiles

---- Files affected:
SPECS:
   urbanterror.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/urbanterror.spec
diff -u SPECS/urbanterror.spec:1.2 SPECS/urbanterror.spec:1.3
--- SPECS/urbanterror.spec:1.2	Sun Feb  1 20:16:30 2009
+++ SPECS/urbanterror.spec	Mon Feb  2 09:11:11 2009
@@ -1,10 +1,12 @@
 # $Revision$, $Date$
 # TODO
 # - check the license?
+# - package dedicated server: ioUrTded
+# - what of is ioUrbanTerror.* and where should it be installed?
 Summary:	FPS best be described as a Hollywood tactical shooter
 Name:		urbanterror
 Version:	4.1
-Release:	0.1
+Release:	0.3
 Group:		Applications/Games
 Source0:	http://dls.urt.voxel.net/q3ut4/UrbanTerror_41_FULL.zip
 # NoSource0-md5:	1370306ea236f65f595e7ca70765e469
@@ -18,7 +20,6 @@
 Source3:	%{name}.desktop
 Source4:	%{name}.png
 Requires:	quake3
-Requires:	unzip
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,17 +33,14 @@
 a very unique, enjoyable and addictive game.
 
 Urban Terror uses the GPL licensed ioquake3 engine, however the Urban
-Terror datafiles are not freely redistributable. This package will
-install an Urban Terror menu entry, which will automatically download
-the necessary datafiles (700 MB!) the first time you start Urban
-Terror.
+Terror datafiles are not freely redistributable.
 
 %prep
 %setup -q -n UrbanTerror
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{gamedir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{gamedir}/q3ut4}
 %ifarch %{ix86}
 install ioUrbanTerror.i386 $RPM_BUILD_ROOT%{_bindir}/ioUrbanTerror
 install ioUrTded.i386 $RPM_BUILD_ROOT%{_bindir}/ioUrTded
@@ -51,6 +49,9 @@
 install ioUrbanTerror.x86_64 $RPM_BUILD_ROOT%{_bindir}/ioUrbanTerror
 install ioUrTded.x86_64 $RPM_BUILD_ROOT%{_bindir}/ioUrTded
 %endif
+cp -a q3ut4/*.pk3 $RPM_BUILD_ROOT%{gamedir}/q3ut4
+cp -a q3ut4/*.cfg $RPM_BUILD_ROOT%{gamedir}/q3ut4
+cp -a q3ut4/{demos,screenshots} $RPM_BUILD_ROOT%{gamedir}/q3ut4
 
 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/urbanterror
 cp -a %{SOURCE2} $RPM_BUILD_ROOT%{gamedir}
@@ -63,12 +64,14 @@
 %files
 %defattr(644,root,root,755)
 %doc ioUrbanTerror_id-readme.txt ioUrbanTerror_README.txt
+%doc q3ut4/*.txt q3ut4/*.doc
 %attr(755,root,root) %{_bindir}/urbanterror
 %attr(755,root,root) %{_bindir}/ioUrTded
 %attr(755,root,root) %{_bindir}/ioUrbanTerror
 %{gamedir}/urbanterror.autodlrc
 %{_desktopdir}/urbanterror.desktop
 %{_pixmapsdir}/urbanterror.png
+%{gamedir}/q3ut4
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -76,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/02/02 08:11:11  glen
+- package datafiles
+
 Revision 1.2  2009/02/01 19:16:30  glen
 - dir fix
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/urbanterror.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list