Author: glen Date: Tue Jan 27 14:24:34 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - new, needs glibc 2.4 to test
---- Files affected: SPECS: urbanterror.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/urbanterror.spec diff -u /dev/null SPECS/urbanterror.spec:1.1 --- /dev/null Tue Jan 27 15:24:34 2009 +++ SPECS/urbanterror.spec Tue Jan 27 15:24:29 2009 @@ -0,0 +1,80 @@ +# $Revision$, $Date$ +# TODO +# - check the license? +Summary: FPS best be described as a Hollywood tactical shooter +Name: urbanterror +Version: 4.1 +Release: 0.1 +Group: Applications/Games +Source0: http://dls.urt.voxel.net/q3ut4/UrbanTerror_41_FULL.zip +# NoSource0-md5: 1370306ea236f65f595e7ca70765e469 +# too huge for df (700mb)? +NoSource: 0 +License: ? +URL: http://www.urbanterror.net/ +Requires: hicolor-icon-theme +Source1: %{name}.sh +Source2: %{name}.autodlrc +Source3: %{name}.desktop +Source4: %{name}.png +Requires: quake3 +Requires: unzip +ExclusiveArch: %{ix86} %{x8664} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define gamedir %{_prefix}/share/q3 + +%description +Urban Terror could best be described as a Hollywood tactical shooter; +it is realism based to a certain extent (environments/weapons/player +models), but also goes by the motto "fun over realism" (fast gameplay +and lots of action). This combination of reality and action results in +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. + +%prep +%setup -q -n UrbanTerror + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{gamedir}} +%ifarch %{ix86} +install ioUrbanTerror.i386 $RPM_BUILD_ROOT%{_bindir}/ioUrbanTerror +install ioUrTded.i386 $RPM_BUILD_ROOT%{_bindir}/ioUrTded +%endif +%ifarch %{x8664} +install ioUrbanTerror.x86_64 $RPM_BUILD_ROOT%{_bindir}/ioUrbanTerror +install ioUrTded.x86_64 $RPM_BUILD_ROOT%{_bindir}/ioUrTded +%endif + +install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/urbanterror +cp -a %{SOURCE2} $RPM_BUILD_ROOT%{gamedir} +cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir} +cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ioUrbanTerror_id-readme.txt ioUrbanTerror_README.txt +%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 + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/01/27 14:24:29 glen +- new, needs glibc 2.4 to test ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
