SPECS (AC-branch): quake2.spec - on alpha no ref_* implementations...

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


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

---- Files affected:
SPECS:
   quake2.spec (1.77.2.1 -> 1.77.2.2) 

---- Diffs:

================================================================
Index: SPECS/quake2.spec
diff -u SPECS/quake2.spec:1.77.2.1 SPECS/quake2.spec:1.77.2.2
--- SPECS/quake2.spec:1.77.2.1	Mon Oct 22 18:50:52 2007
+++ SPECS/quake2.spec	Mon Oct 22 18:53:57 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
@@ -221,12 +221,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}
@@ -236,6 +230,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
@@ -276,6 +276,7 @@
 Categories=Game;X-FPPGame;
 Encoding=UTF-8
 EOF
+%endif
 
 echo "%{_gamelibdir}" > $RPM_BUILD_ROOT%{_sysconfdir}/quake2.conf
 
@@ -346,6 +347,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
@@ -362,6 +364,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
@@ -383,6 +386,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.77.2.2  2007/10/22 16:53:57  glen
+- on alpha no ref_* implementations compiled; rel 5
+
 Revision 1.77.2.1  2007/10/22 16:50:52  glen
 - on alpha q2ded is produced
 
================================================================

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



More information about the pld-cvs-commit mailing list