2 # - update for db 4.6 (now it's ready for 4.[01234])
4 Summary: Main GGZ server
5 Summary(pl.UTF-8): Główny serwer GGZ
11 Source0: http://ftp.belnet.be/packages/ggzgamingzone/ggz/0.0.14/%{name}-%{version}.tar.gz
12 # Source0-md5: 7e30eedefb69834d9f76fdf7fed646ea
14 URL: http://www.ggzgamingzone.org/
15 BuildRequires: autoconf >= 2.50
16 BuildRequires: automake
17 BuildRequires: avahi-devel
18 BuildRequires: db-devel >= 4
19 BuildRequires: expat-devel >= 1.95
20 BuildRequires: libggz-devel >= 0.0.14
21 BuildRequires: libtool
22 BuildRequires: rpmbuild(macros) >= 1.268
23 Requires(post,preun): /sbin/chkconfig
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This package contains the main GGZ server, some administrative
29 utilities, a game server handling library and lots of game servers.
31 %description -l pl.UTF-8
32 Ta paczka zawiera główny serwer GGZ, kilka narzędzi
33 administracyjnych, bibliotekę sterującą serwerem oraz dużo
37 Summary: Header files for ggz-server library
38 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ggz-server
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: libggz-devel >= 0.0.14
44 Header files for ggz-server library.
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki ggz-server.
50 Summary: Static ggz-server library
51 Summary(pl.UTF-8): Statyczna biblioteka ggz-server
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 Static ggz-server library.
58 %description static -l pl.UTF-8
59 Statyczna biblioteka ggz-server.
66 %{__aclocal} -I m4 -I m4/ggz
74 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,ggzd}
79 DESTDIR=$RPM_BUILD_ROOT
81 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ggzd
83 :> $RPM_BUILD_ROOT/etc/ggzd/ggzd.conf
86 rm -rf $RPM_BUILD_ROOT
90 /sbin/chkconfig --add ggzd
94 if [ "$1" = "0" ]; then
96 /sbin/chkconfig --del ggzd
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %dir %{_sysconfdir}/ggzd
104 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ggzd/*.conf
105 %doc AUTHORS ChangeLog NEWS README TODO ggzd/ggzd.conf.example
106 %attr(755,root,root) %{_bindir}/ggzd*
107 %attr(755,root,root) %{_libdir}/ggzd
108 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/lib*.so.6
110 %attr(754,root,root) /etc/rc.d/init.d/ggzd
113 %dir %{_sysconfdir}/ggzd/games
114 %dir %{_sysconfdir}/ggzd/rooms
115 %{_sysconfdir}/ggzd/ggzd.motd
116 %{_sysconfdir}/ggzd/games/*.dsc
117 %{_sysconfdir}/ggzd/rooms/*.room
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/lib*.so
127 %defattr(644,root,root,755)