SPECS: quake2.spec - drop -static

glen glen at pld-linux.org
Sat Feb 24 15:33:59 CET 2007


Author: glen                         Date: Sat Feb 24 14:33:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- drop -static

---- Files affected:
SPECS:
   quake2.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/quake2.spec
diff -u SPECS/quake2.spec:1.63 SPECS/quake2.spec:1.64
--- SPECS/quake2.spec:1.63	Sat Feb 24 15:30:13 2007
+++ SPECS/quake2.spec	Sat Feb 24 15:33:54 2007
@@ -1,13 +1,12 @@
 # $Revision$, $Date$
 # TODO:
 # - ipv6 support
-# - -static without -devel makes no sense (remove -static)
 Summary:	Quake2 for linux
 Summary(pl.UTF-8):	Quake2 dla Linuksa
 Summary(pt_BR.UTF-8):	Quake2 para Linux
 Name:		quake2
 Version:	0.3
-Release:	3.1
+Release:	3.2
 Epoch:		1
 License:	GPL (for code only)
 Group:		X11/Applications/Games
@@ -49,25 +48,12 @@
 %description -l pt_BR.UTF-8
 Quake2 para Linux!
 
-%package static
-Summary:	Quake2 - static libs
-Summary(pl.UTF-8):	Quake2 - biblioteki statyczne
-Group:		X11/Applications/Games
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-
-%description static
-Quake2 - static libs
-
-%description static -l pl.UTF-8
-Quake2 - biblioteki statyczne
-
 %package server
 Summary:	Quake2 server
 Summary(pl.UTF-8):	Serwer Quake2
 Summary(pt_BR.UTF-8):	Servidor Quake2
 Group:		Applications/Games
 Requires(post,preun):	/sbin/chkconfig
-Requires(post,preun):	/sbin/chkconfig
 Requires(postun):	/usr/sbin/groupdel
 Requires(postun):	/usr/sbin/userdel
 Requires(pre):	/bin/id
@@ -240,6 +226,7 @@
 %{__autoconf}
 
 %configure \
+	--disable-static \
 	--enable-ltdl-install=no \
 	--libdir=%{_libdir}/games \
 	--datadir=%{_datadir}/games \
@@ -273,7 +260,7 @@
 cp -a docs _doc
 rm -rf _doc/{CVS,Makefile*,ctf/CVS,ctf/Makefile*}
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/games/quake2/snd_{alsa,ao,oss,sdl}.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/games/quake2/snd_{alsa,ao,oss,sdl}.la
 rm -f $RPM_BUILD_ROOT%{_libdir}/games/quake2/ref_{soft,softx,sdlgl,softsdl,glx}.la
 rm -f $RPM_BUILD_ROOT%{_libdir}/games/quake2/{baseq2,ctf}/game.la
 rm -f $RPM_BUILD_ROOT%{_gamedatadir}/baseq2/config.cfg
@@ -319,17 +306,6 @@
 %{_pixmapsdir}/quake2.png
 %{_desktopdir}/quake2.desktop
 
-%files static
-%defattr(644,root,root,755)
-%{_gamelibdir}/baseq2/game.a
-%{_gamelibdir}/ctf/game.a
-%{_gamelibdir}/ref_glx.a
-%{_gamelibdir}/ref_sdlgl.a
-%{_gamelibdir}/ref_soft.a
-%{_gamelibdir}/ref_softsdl.a
-%{_gamelibdir}/ref_softx.a
-%{_gamelibdir}/ref_tdfx.a
-
 %files server
 %defattr(644,root,root,755)
 %attr(754,root,root) /etc/rc.d/init.d/quake2-server
@@ -383,6 +359,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.64  2007/02/24 14:33:54  glen
+- drop -static
+
 Revision 1.63  2007/02/24 14:30:13  glen
 - create quake2 user for -server
 
@@ -483,7 +462,7 @@
 - we don't use NAS any more. If it doesn't build without it - fix it
 
 Revision 1.32  2003/06/30 08:09:01  bartowl
-- BR:nas-static, dunno why, but without libaudio.a it won't build
+- BR: nas-static, dunno why, but without libaudio.a it won't build
 
 Revision 1.31  2003/05/28 13:01:34  malekith
 - massive attack: source-md5
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/quake2.spec?r1=1.63&r2=1.64&f=u



More information about the pld-cvs-commit mailing list