SPECS: quake3-gpl.spec - used %{__make} copyfiles in %install - ad...
paszczus
paszczus at pld-linux.org
Fri Oct 14 00:06:28 CEST 2005
Author: paszczus Date: Thu Oct 13 22:06:28 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- used %{__make} copyfiles in %install
- added BR: sed >= 4.0 cause changed COPYFILES directory
---- Files affected:
SPECS:
quake3-gpl.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/quake3-gpl.spec
diff -u SPECS/quake3-gpl.spec:1.3 SPECS/quake3-gpl.spec:1.4
--- SPECS/quake3-gpl.spec:1.3 Thu Oct 13 23:38:44 2005
+++ SPECS/quake3-gpl.spec Fri Oct 14 00:06:23 2005
@@ -3,7 +3,7 @@
Summary(pl): Quake3 dla Linuksa
Name: quake3-gpl
Version: 1.33
-Release: 0.1
+Release: 0.2
License: GPL
Group: Applications/Games
Source0: quake3-%{version}_SVN156M.tar.bz2
@@ -14,8 +14,9 @@
Source4: quake3.desktop
Source5: quake3-smp.desktop
URL: http://icculus.org/quake3/
-BuildRequires: rpmbuild(macros) >= 1.202
BuildRequires: byacc
+BuildRequires: sed >= 4.0
+BuildRequires: rpmbuild(macros) >= 1.202
Requires(pre): /bin/id
Requires(pre): /usr/bin/getgid
Requires(pre): /usr/sbin/groupadd
@@ -89,6 +90,8 @@
%build
+sed -i s:/usr/local/games/quake3:$RPM_BUILD_ROOT%{_gamedir}: code/unix/Makefile
+
%{__make}
%install
@@ -102,11 +105,15 @@
install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}/%{name}-smp.desktop
-install code/unix/releaseppc-glibc/baseq3/* $RPM_BUILD_ROOT%{_gamedir}/baseq3
-install code/unix/releaseppc-glibc/linuxquake3* $RPM_BUILD_ROOT%{_gamedir}/quake3
+#install code/unix/releaseppc-glibc/baseq3/* $RPM_BUILD_ROOT%{_gamedir}/baseq3
+#install code/unix/releaseppc-glibc/linuxquake3* $RPM_BUILD_ROOT%{_gamedir}/quake3
#install pb/*.so $RPM_BUILD_ROOT%{_gamedir}/pb
#install pb/htm/*.htm $RPM_BUILD_ROOT%{_gamedir}/pb/htm
+cd code/unix
+%{__make} copyfiles
+
+cd ../../
# make check files happy
rm -f $RPM_BUILD_ROOT%{_gamedir}/quake3{,-smp}
@@ -180,6 +187,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2005/10/13 22:06:23 paszczus
+- used %{__make} copyfiles in %install
+- added BR: sed >= 4.0 cause changed COPYFILES directory
+
Revision 1.3 2005/10/13 21:38:44 paszczus
- typo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/quake3-gpl.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list