]> git.pld-linux.org Git - packages/ggz-server.git/blob - ggz-server.spec
- tab
[packages/ggz-server.git] / ggz-server.spec
1 Summary:        Main GGZ server
2 Summary(pl.UTF-8):      Główny serwer GGZ
3 Name:           ggz-server
4 Version:        0.0.14
5 Release:        0.1
6 License:        GPL v2+
7 Group:          Applications
8 Source0:        http://ftp.belnet.be/packages/ggzgamingzone/ggz/0.0.14/%{name}-%{version}.tar.gz
9 # Source0-md5:  7e30eedefb69834d9f76fdf7fed646ea
10 Source1:        %{name}.init
11 URL:            http://www.ggzgamingzone.org/
12 #BuildRequires:
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This package contains the main GGZ server, some administrative
17 utilities, a game server handling library and lots of game servers.
18
19 %description -l pl.UTF-8
20 Ta paczka zawiera główny serwer GGZ, kilka narzędzi
21 administracyjnych, bibliotekę sterującą serwerem oraz dużo
22 serwerów gier.
23
24 %package devel
25 Summary:        Header files for ggz-server library
26 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki ggz-server
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for ggz-server library.
32
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe biblioteki ggz-server.
35
36 %package static
37 Summary:        Static ggz-server library
38 Summary(pl.UTF-8):      Statyczna biblioteka ggz-server
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static ggz-server library.
44
45 %description static -l pl.UTF-8
46 Statyczna biblioteka ggz-server.
47
48 %prep
49 %setup -q
50
51 %build
52 %{__aclocal} -I m4/ -I m4/ggz/
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ggzd
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 /sbin/chkconfig --add ggzd
74 %service ggzd restart
75
76 %preun
77 if [ "$1" = "0" ]; then
78         %service ggzd stop
79         /sbin/chkconfig --del ggzd
80 fi
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README TODO ggzd/ggzd.conf.example
85 %attr(755,root,root) %{_bindir}/ggzd*
86 %attr(755,root,root) %{_libdir}/ggzd
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
88 %attr(755,root,root) %{_libdir}/lib*.so.6
89 %attr(754,root,root) /etc/rc.d/init.d/ggzd
90 %{_datadir}/ggz/
91 %{_mandir}/man6/*.6*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/lib*.so
96 %{_libdir}/lib*.la
97 %{_includedir}/*
98 %{_mandir}/man3/*.3*
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/lib*.a
This page took 0.096614 seconds and 4 git commands to generate.