SPECS: quake2-mod-lithium.spec (NEW) - new

glen glen at pld-linux.org
Mon Oct 22 16:19:21 CEST 2007


Author: glen                         Date: Mon Oct 22 14:19:20 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   quake2-mod-lithium.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/quake2-mod-lithium.spec
diff -u /dev/null SPECS/quake2-mod-lithium.spec:1.1
--- /dev/null	Mon Oct 22 16:19:20 2007
+++ SPECS/quake2-mod-lithium.spec	Mon Oct 22 16:19:15 2007
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define		_modname	lithium
+Summary:	Server-side deathmatch modification for Quake II
+Name:		quake2-mod-%{_modname}
+Version:	1.24
+Release:	0.1
+License:	?
+Group:		Applications/Games
+# Source0Download:	http://asp.planetquake.com/dl/dl.asp?lithium/lithium2_1.24-i386-unknown-linux2.0.tar.gz
+Source0:	lithium2_%{version}-i386-unknown-linux2.0.tar.gz
+# NoSource0-md5:	9b84269fb49d208598d1658226e4135e
+NoSource:	0
+URL:		http://lithium.planetquake.gamespy.com/
+Requires:	quake2-common
+ExclusiveArch:	%{ix86}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_gamelibdir	%{_libdir}/quake2
+%define		_gamedatadir	%{_datadir}/quake2
+%define		_gamehomedir	/var/games/quake2
+
+# because of gl_image.c:1559
+%define		specflags	-fno-strict-aliasing
+
+%description
+Lithium II is a very configurable server-side deathmatch modification
+for Quake II. It adds many features and options to the game, while not
+requiring clients to download anything special.
+
+%prep
+%setup -q -n %{_modname}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_gamelibdir}/%{_modname}
+install game*.so $RPM_BUILD_ROOT%{_gamelibdir}/%{_modname}
+cp -a admin.lst ctf.lst maps.lst $RPM_BUILD_ROOT%{_gamelibdir}/%{_modname}
+cp -a lithctf.cfg lithium.cfg procket.cfg stock.cfg stockctf.cfg $RPM_BUILD_ROOT%{_gamelibdir}/%{_modname}
+cp -a lithium2.qst $RPM_BUILD_ROOT%{_gamelibdir}/%{_modname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.txt
+%dir %{_gamelibdir}/%{_modname}
+%{_gamelibdir}/%{_modname}/*.lst
+%{_gamelibdir}/%{_modname}/*.cfg
+%{_gamelibdir}/%{_modname}/*.qst
+%attr(755,root,root) %{_gamelibdir}/%{_modname}/game*.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/10/22 14:19:15  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list