SPECS: quake2.spec - on alpha no ref_* implementations compiled; r...

glen glen at pld-linux.org
Mon Oct 22 18:54:46 CEST 2007


Author: glen                         Date: Mon Oct 22 16:54:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- on alpha no ref_* implementations compiled; rel 5

---- Files affected:
SPECS:
   quake2.spec (1.79 -> 1.80) 

---- Diffs:

================================================================
Index: SPECS/quake2.spec
diff -u SPECS/quake2.spec:1.79 SPECS/quake2.spec:1.80
--- SPECS/quake2.spec:1.79	Mon Oct 22 18:49:54 2007
+++ SPECS/quake2.spec	Mon Oct 22 18:54:41 2007
@@ -11,7 +11,7 @@
 Summary(pt_BR.UTF-8):	Quake2 para Linux
 Name:		quake2
 Version:	3.21
-Release:	4.2
+Release:	5
 Epoch:		1
 License:	GPL (for main code only)
 Group:		Applications/Games
@@ -223,12 +223,6 @@
 
 cd linux/release%{qarch}-glibc
 
-%ifarch alpha
-install q2ded $RPM_BUILD_ROOT%{_bindir}/quake2id
-%else
-install quake2 $RPM_BUILD_ROOT%{_bindir}/quake2id
-%endif
-install ref_*.so $RPM_BUILD_ROOT%{_gamelibdir}
 install game%{qarch}.so $RPM_BUILD_ROOT%{_gamelibdir}/baseq2
 install ctf/game%{qarch}.so $RPM_BUILD_ROOT%{_gamelibdir}/ctf
 %if %{with rogue}
@@ -238,6 +232,12 @@
 install -D xatrix/game%{qarch}.so $RPM_BUILD_ROOT%{_gamelibdir}/xatrix/game%{qarch}.so
 %endif
 
+%ifarch alpha
+install q2ded $RPM_BUILD_ROOT%{_bindir}/quake2id
+%else
+install quake2 $RPM_BUILD_ROOT%{_bindir}/quake2id
+install ref_*.so $RPM_BUILD_ROOT%{_gamelibdir}
+
 cat > $RPM_BUILD_ROOT%{_bindir}/quake2-glx <<EOF
 #!/bin/sh
 exec %{_bindir}/quake2id +set vid_ref glx +set gl_driver libGL.so.1 > /dev/null
@@ -278,6 +278,7 @@
 Categories=Game;X-FPPGame;
 Encoding=UTF-8
 EOF
+%endif
 
 echo "%{_gamelibdir}" > $RPM_BUILD_ROOT%{_sysconfdir}/quake2.conf
 
@@ -348,6 +349,7 @@
 %dir %attr(770,root,quake2) %{_gamehomedir}/.quake2/baseq2
 %config(noreplace) %attr(660,root,quake2) %verify(not md5 mtime size) %{_gamehomedir}/.quake2/baseq2/server.cfg
 
+%ifnarch alpha
 %files glx
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/quake2-glx
@@ -364,6 +366,7 @@
 %attr(755,root,root) %{_bindir}/quake2-x11
 %attr(755,root,root) %{_gamelibdir}/ref_softx.so
 %{_desktopdir}/quake2-x11.desktop
+%endif
 
 %if %{with rogue}
 %files rogue
@@ -385,6 +388,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.80  2007/10/22 16:54:41  glen
+- on alpha no ref_* implementations compiled; rel 5
+
 Revision 1.79  2007/10/22 16:49:54  glen
 - on alpha q2ded is produced
 
================================================================

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



More information about the pld-cvs-commit mailing list