SPECS: ggz-server.spec - more BRs, devel deps

qboosh qboosh at pld-linux.org
Fri Aug 3 20:55:59 CEST 2007


Author: qboosh                       Date: Fri Aug  3 18:55:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more BRs, devel deps

---- Files affected:
SPECS:
   ggz-server.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/ggz-server.spec
diff -u SPECS/ggz-server.spec:1.4 SPECS/ggz-server.spec:1.5
--- SPECS/ggz-server.spec:1.4	Mon Jul 23 21:14:24 2007
+++ SPECS/ggz-server.spec	Fri Aug  3 20:55:54 2007
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 # TODO:
+# - update for db 4.6 (now it's ready for 4.[01234])
 # - check *.dsc and *.room files. Are we need them?
 
 Summary:	Main GGZ server
@@ -13,7 +14,16 @@
 # Source0-md5:	7e30eedefb69834d9f76fdf7fed646ea
 Source1:	%{name}.init
 URL:		http://www.ggzgamingzone.org/
-BuildRequires:	libggz >= 0.0.14
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
+BuildRequires:	avahi-devel
+BuildRequires:	db-devel >= 4
+BuildRequires:	expat-devel >= 1.95
+BuildRequires:	libggz-devel >= 0.0.14
+BuildRequires:	libtool
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires(post,preun):	/sbin/chkconfig
+Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,6 +40,7 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki ggz-server
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	libggz-devel >= 0.0.14
 
 %description devel
 Header files for ggz-server library.
@@ -53,7 +64,8 @@
 %setup -q
 
 %build
-%{__aclocal} -I m4/ -I m4/ggz/
+%{__libtoolize}
+%{__aclocal} -I m4 -I m4/ggz
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -74,6 +86,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+/sbin/ldconfig
 /sbin/chkconfig --add ggzd
 %service ggzd restart
 
@@ -83,15 +96,17 @@
 	/sbin/chkconfig --del ggzd
 fi
 
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO ggzd/ggzd.conf.example
 %attr(755,root,root) %{_bindir}/ggzd*
 %attr(755,root,root) %{_libdir}/ggzd
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%attr(755,root,root) %{_libdir}/lib*.so.6
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.6
 %attr(754,root,root) /etc/rc.d/init.d/ggzd
-%{_datadir}/ggz/
+%{_datadir}/ggz
 %{_mandir}/man6/*.6*
 
 %files devel
@@ -111,6 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/08/03 18:55:54  qboosh
+- more BRs, devel deps
+
 Revision 1.4  2007/07/23 19:14:24  lisu
 - BR: libggz-devel
 - TODO added
@@ -123,4 +141,3 @@
 
 Revision 1.1  2007/07/22 23:05:14  lisu
 - initial PLD release
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ggz-server.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list