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