2 # - update for db 4.6 (now it's ready for 4.[01234])
3 # - check *.dsc and *.room files. Are we need them?
5 Summary: Main GGZ server
6 Summary(pl.UTF-8): Główny serwer GGZ
12 Source0: http://ftp.belnet.be/packages/ggzgamingzone/ggz/0.0.14/%{name}-%{version}.tar.gz
13 # Source0-md5: 7e30eedefb69834d9f76fdf7fed646ea
15 URL: http://www.ggzgamingzone.org/
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: avahi-devel
19 BuildRequires: db-devel >= 4
20 BuildRequires: expat-devel >= 1.95
21 BuildRequires: libggz-devel >= 0.0.14
22 BuildRequires: libtool
23 BuildRequires: rpmbuild(macros) >= 1.268
24 Requires(post,preun): /sbin/chkconfig
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This package contains the main GGZ server, some administrative
30 utilities, a game server handling library and lots of game servers.
32 %description -l pl.UTF-8
33 Ta paczka zawiera główny serwer GGZ, kilka narzędzi
34 administracyjnych, bibliotekę sterującą serwerem oraz dużo
38 Summary: Header files for ggz-server library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ggz-server
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
42 Requires: libggz-devel >= 0.0.14
45 Header files for ggz-server library.
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki ggz-server.
51 Summary: Static ggz-server library
52 Summary(pl.UTF-8): Statyczna biblioteka ggz-server
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 Static ggz-server library.
59 %description static -l pl.UTF-8
60 Statyczna biblioteka ggz-server.
67 %{__aclocal} -I m4 -I m4/ggz
75 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,ggzd}
80 DESTDIR=$RPM_BUILD_ROOT
82 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ggzd
84 :> $RPM_BUILD_ROOT/etc/ggzd/ggzd.conf
87 rm -rf $RPM_BUILD_ROOT
91 /sbin/chkconfig --add ggzd
95 if [ "$1" = "0" ]; then
97 /sbin/chkconfig --del ggzd
100 %postun -p /sbin/ldconfig
103 %defattr(644,root,root,755)
104 %dir %{_sysconfdir}/ggzd
105 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ggzd/*.conf
106 %doc AUTHORS ChangeLog NEWS README TODO ggzd/ggzd.conf.example
107 %attr(755,root,root) %{_bindir}/ggzd*
108 %attr(755,root,root) %{_libdir}/ggzd
109 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/lib*.so.6
111 %attr(754,root,root) /etc/rc.d/init.d/ggzd
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/lib*.so
123 %defattr(644,root,root,755)