]> git.pld-linux.org Git - packages/ggz-server.git/commitdiff
- initial PLD release
authorlisu <lisu@pld-linux.org>
Sun, 22 Jul 2007 23:05:14 +0000 (23:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ggz-server.spec -> 1.1

ggz-server.spec [new file with mode: 0644]

diff --git a/ggz-server.spec b/ggz-server.spec
new file mode 100644 (file)
index 0000000..46e1d2b
--- /dev/null
@@ -0,0 +1,99 @@
+Summary:       Main GGZ server
+Summary(pl.UTF-8):     Główny serwer GGZ
+Name:          ggz-server
+Version:       0.0.14
+Release:       0.1
+License:       GPL v2+
+Group:         Applications
+Source0:       http://ftp.belnet.be/packages/ggzgamingzone/ggz/0.0.14/%{name}-%{version}.tar.gz
+# Source0-md5: 7e30eedefb69834d9f76fdf7fed646ea
+Source1:       %{name}.init
+URL:           http://www.ggzgamingzone.org/
+#BuildRequires:        
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains the main GGZ server, some administrative utilities, a game server handling library and lots of game servers.
+
+%description -l pl.UTF-8
+Ta paczka zawiera główny serwer GGZ, kilka narzędzi administracyjnych, bibliotekę sterującą serwerem oraz dużo serwerów gier.
+
+%package devel
+Summary:       Header files for ggz-server library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki ggz-server
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for ggz-server library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki ggz-server.
+
+%package static
+Summary:       Static ggz-server library
+Summary(pl.UTF-8):     Statyczna biblioteka ggz-server
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static ggz-server library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka ggz-server.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal} -I m4/ -I m4/ggz/
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ggzd
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add ggzd
+%service ggzd restart
+
+%preun
+if [ "$1" = "0" ]; then
+       %service ggzd stop
+       /sbin/chkconfig --del ggzd
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO ggzd/ggzd.conf.example
+%attr(755,root,root) %{_bindir}/ggzd*
+%attr(755,root,root) %{_libdir}/ggzd
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/lib*.so.6
+%attr(754,root,root) /etc/rc.d/init.d/ggzd
+%{_datadir}/ggz/
+%{_mandir}/man6/*.6*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*
+%{_mandir}/man3/*.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.076847 seconds and 4 git commands to generate.