SPECS: quake2forge.spec - -server doesn't need x libraries, so spl...

glen glen at pld-linux.org
Fri Oct 19 20:06:34 CEST 2007


Author: glen                         Date: Fri Oct 19 18:06:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -server doesn't need x libraries, so split to -common
- rel 1

---- Files affected:
SPECS:
   quake2forge.spec (1.78 -> 1.79) 

---- Diffs:

================================================================
Index: SPECS/quake2forge.spec
diff -u SPECS/quake2forge.spec:1.78 SPECS/quake2forge.spec:1.79
--- SPECS/quake2forge.spec:1.78	Sun Apr 29 01:49:42 2007
+++ SPECS/quake2forge.spec	Fri Oct 19 20:06:29 2007
@@ -10,7 +10,7 @@
 Summary(pl.UTF-8):	Quake2Forge - ulepszona wersja klasycznego silnika Quake II firmy id Software
 Name:		quake2forge
 Version:	0.3
-Release:	0.1
+Release:	1
 License:	GPL (for main code only)
 Group:		Applications/Games
 # http://dl.sourceforge.net/quake/quake2-%{version}.tar.gz [but no 0.3 yet]
@@ -53,9 +53,10 @@
 BuildRequires:	xorg-lib-libXext-devel
 BuildRequires:	xorg-lib-libXxf86dga-devel
 BuildRequires:	xorg-lib-libXxf86vm-devel
+Requires:	%{name}-common = %{version}-%{release}
 Requires:	%{name}-renderer = %{version}-%{release}
-Obsoletes:	quake2-static <= 1:0.3
 Obsoletes:	quake2 <= 1:0.3
+Obsoletes:	quake2-static <= 1:0.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_gamelibdir	%{_libdir}/quake2
@@ -73,6 +74,13 @@
 Quake2Forge - ulepszona wersja klasycznego silnika Quake II firmy id
 Software.
 
+%package common
+Summary:	Quake2Forge common files
+Group:		Applications/Games
+
+%description common
+Quake2Forge common files.
+
 %package server
 Summary:	Quake2Forge server
 Summary(pl.UTF-8):	Serwer Quake2Forge
@@ -85,7 +93,7 @@
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-common = %{version}-%{release}
 Requires:	rc-scripts
 Requires:	screen
 Provides:	group(quake2)
@@ -379,6 +387,11 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS HACKING README TODO _doc/*
+%{_pixmapsdir}/quake2forge.png
+%{_desktopdir}/quake2forge.desktop
+
+%files common
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/quake2
 %dir %{_gamelibdir}
 %dir %{_gamelibdir}/baseq2
@@ -389,8 +402,6 @@
 #%%{_gamedir}/baseq2/players
 %dir %{_gamedatadir}
 %dir %{_gamedatadir}/baseq2
-%{_pixmapsdir}/quake2forge.png
-%{_desktopdir}/quake2forge.desktop
 
 %files server
 %defattr(644,root,root,755)
@@ -466,6 +477,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.79  2007/10/19 18:06:29  glen
+- -server doesn't need x libraries, so split to -common
+- rel 1
+
 Revision 1.78  2007/04/28 23:49:42  qboosh
 - sorted snd-* packages
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/quake2forge.spec?r1=1.78&r2=1.79&f=u



More information about the pld-cvs-commit mailing list