2 # - check *.dsc and *.room files. Are we need them?
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: libggz >= 0.0.14
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 This package contains the main GGZ server, some administrative
20 utilities, a game server handling library and lots of game servers.
22 %description -l pl.UTF-8
23 Ta paczka zawiera główny serwer GGZ, kilka narzędzi
24 administracyjnych, bibliotekę sterującą serwerem oraz dużo
28 Summary: Header files for ggz-server library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ggz-server
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
34 Header files for ggz-server library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki ggz-server.
40 Summary: Static ggz-server library
41 Summary(pl.UTF-8): Statyczna biblioteka ggz-server
42 Group: Development/Libraries
43 Requires: %{name}-devel = %{version}-%{release}
46 Static ggz-server library.
48 %description static -l pl.UTF-8
49 Statyczna biblioteka ggz-server.
55 %{__aclocal} -I m4/ -I m4/ggz/
63 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
68 DESTDIR=$RPM_BUILD_ROOT
70 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ggzd
73 rm -rf $RPM_BUILD_ROOT
76 /sbin/chkconfig --add ggzd
80 if [ "$1" = "0" ]; then
82 /sbin/chkconfig --del ggzd
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README TODO ggzd/ggzd.conf.example
88 %attr(755,root,root) %{_bindir}/ggzd*
89 %attr(755,root,root) %{_libdir}/ggzd
90 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
91 %attr(755,root,root) %{_libdir}/lib*.so.6
92 %attr(754,root,root) /etc/rc.d/init.d/ggzd
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/lib*.so
104 %defattr(644,root,root,755)