SPECS: quake3.spec - up to yesterdays snapshot - build and install...

sparky sparky at pld-linux.org
Sun Nov 6 20:47:00 CET 2005


Author: sparky                       Date: Sun Nov  6 19:47:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to yesterdays snapshot
- build and install shared libraries
- web/include/status.php replaces STATUS, it's plain html file

---- Files affected:
SPECS:
   quake3.spec (1.53 -> 1.54) 

---- Diffs:

================================================================
Index: SPECS/quake3.spec
diff -u SPECS/quake3.spec:1.53 SPECS/quake3.spec:1.54
--- SPECS/quake3.spec:1.53	Sat Nov  5 11:39:38 2005
+++ SPECS/quake3.spec	Sun Nov  6 20:46:55 2005
@@ -4,19 +4,19 @@
 Summary(pl):	Quake3 dla Linuksa
 Name:		quake3
 Version:	1.33
-%define	_snap	20051103
+%define	_snap	20051105
 Release:	0.%{_snap}.1
 License:	GPL
 Group:		Applications/Games
 Source0:	http://sparky.homelinux.org/snaps/icculus/%{name}-%{_snap}.tar.bz2
-# Source0-md5:	db4168a93a253a795095c6a461bfd7e9
+# Source0-md5:	915ba37078aa102908617db577b79599
 Source2:	q3ded.init
 Source3:	q3ded.sysconfig
 Source4:	%{name}.png
 Source5:	%{name}.desktop
 Source6:	%{name}-smp.desktop
 Patch0:		%{name}-gpl-Makefile-install.patch
-Patch1:		%{name}-alphafix.patch
+Patch1:		%{name}-QUAKELIBDIR.patch
 URL:		http://icculus.org/quake3/
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel
@@ -96,6 +96,7 @@
 %build
 CFLAGS="%{rpmcflags}"
 CFLAGS="$CFLAGS -DDEFAULT_BASEDIR=\\\"%{_datadir}/games/%{name}\\\""
+CFLAGS="$CFLAGS -DQUAKELIBDIR=\\\"%{_libdir}/%{name}\\\""
 CFLAGS="$CFLAGS -Wall -Wimplicit -Wstrict-prototypes"
 CFLAGS="$CFLAGS -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 $(sdl-config --cflags)"
 CFLAGS="$CFLAGS -DNDEBUG -MMD"
@@ -119,8 +120,7 @@
 %{__make} -C code/unix install	\
 	BR="release-%{_target}"	\
 	BINDIR=$RPM_BUILD_ROOT%{_bindir}		\
-	DATADIR=$RPM_BUILD_ROOT%{_datadir}/games/%{name}	\
-	LIBDIR=$RPM_BUILD_ROOT%{_libdir}/%{name}
+	Q3LIBDIR=$RPM_BUILD_ROOT%{_libdir}/%{name}
 
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/q3ded
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/q3ded
@@ -194,10 +194,15 @@
 
 %files common
 %defattr(644,root,root,755)
-%doc id-readme.txt i_o-q3-readme ChangeLog STATUS TODO
+%doc id-readme.txt i_o-q3-readme ChangeLog TODO web/include/status.php
 %dir %{_datadir}/games/%{name}
 %dir %{_datadir}/games/%{name}/baseq3
 %{_pixmapsdir}/quake3.png
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/baseq3
+%dir %{_libdir}/%{name}/missionpack
+%attr(755,root,root) %{_libdir}/%{name}/baseq3/*.so
+%attr(755,root,root) %{_libdir}/%{name}/missionpack/*.so
 
 %files server
 %defattr(644,root,root,755)
@@ -220,6 +225,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.54  2005/11/06 19:46:55  sparky
+- up to yesterdays snapshot
+- build and install shared libraries
+- web/include/status.php replaces STATUS, it's plain html file
+
 Revision 1.53  2005/11/05 10:39:38  paszczus
 - typo, spaces
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/quake3.spec?r1=1.53&r2=1.54&f=u




More information about the pld-cvs-commit mailing list