SPECS (AC-branch): wesnoth.spec - merged changes from HEAD - up to...
arvenil
arvenil at pld-linux.org
Fri Apr 20 12:53:04 CEST 2007
Author: arvenil Date: Fri Apr 20 10:53:04 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- merged changes from HEAD
- up to 1.2.4
- added russian (ru) translations
- release 1
- STBR
---- Files affected:
SPECS:
wesnoth.spec (1.60 -> 1.60.2.1)
---- Diffs:
================================================================
Index: SPECS/wesnoth.spec
diff -u SPECS/wesnoth.spec:1.60 SPECS/wesnoth.spec:1.60.2.1
--- SPECS/wesnoth.spec:1.60 Mon Dec 25 13:46:18 2006
+++ SPECS/wesnoth.spec Fri Apr 20 12:52:59 2007
@@ -7,12 +7,12 @@
Summary: Strategy game with a fantasy theme
Summary(pl): Strategiczna gra z motywem fantasy
Name: wesnoth
-Version: 1.2
+Version: 1.2.4
Release: 1
License: GPL v2+
Group: X11/Applications/Games/Strategy
-Source0: http://www.wesnoth.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 722a459282abe6d04dbe228d031c088e
+Source0: http://www.wesnoth.org/files/%{name}-%{version}.tar.bz2
+# Source0-md5: e24c9adb2fa6cc25759a0a1baf0585e8
Source1: %{name}.desktop
Source2: %{name}d.init
Patch0: %{name}-Makefile.patch
@@ -51,7 +51,12 @@
Summary: Network server for Wesnoth
Summary(pl): Sieciowy serwer dla Wesnoth
Group: X11/Applications/Games/Strategy
+Requires: rc-scripts >= 0.4.0.17
Requires(post,preun): /sbin/chkconfig
+Requires(postun): /usr/sbin/groupdel
+Requires(postun): /usr/sbin/userdel
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
%description server
Server for playing networked games of Wesnoth.
@@ -116,6 +121,10 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%pre server
+%groupadd -P %{name}-server -g 178 wesnothd
+%useradd -P %{name}-server -u 178 -d /var/run/wesnothd -c "Wesnothd User" -g wesnothd wesnothd
+
%post server
/sbin/chkconfig --add wesnothd
%service wesnothd restart
@@ -124,6 +133,8 @@
if [ "$1" = "0" ]; then
%service wesnothd stop
/sbin/chkconfig --del wesnothd
+ %userremove wesnothd
+ %groupremove wesnothd
fi
%files -f %{name}.lang
@@ -135,9 +146,11 @@
%lang(de) %{_mandir}/de/man6/wesnoth.6*
%lang(cs) %{_mandir}/cs/man6/wesnoth.6*
%lang(fr) %{_mandir}/fr/man6/wesnoth.6*
+%lang(it) %{_mandir}/it/man6/wesnoth.6*
%lang(ja) %{_mandir}/ja/man6/wesnoth.6*
%lang(nl) %{_mandir}/nl/man6/wesnoth.6*
%lang(pt_BR) %{_mandir}/pt_BR/man6/wesnoth.6*
+%lang(ru) %{_mandir}/ru/man6/wesnoth.6*
%lang(sk) %{_mandir}/sk/man6/wesnoth.6*
%lang(sv) %{_mandir}/sv/man6/wesnoth.6*
%{_datadir}/%{name}
@@ -153,12 +166,14 @@
%lang(cs) %{_mandir}/cs/man6/wesnothd.6*
%lang(de) %{_mandir}/de/man6/wesnothd.6*
%lang(fr) %{_mandir}/fr/man6/wesnothd.6*
+%lang(it) %{_mandir}/it/man6/wesnothd.6*
%lang(ja) %{_mandir}/ja/man6/wesnothd.6*
%lang(nl) %{_mandir}/nl/man6/wesnothd.6*
%lang(pt_BR) %{_mandir}/pt_BR/man6/wesnothd.6*
+%lang(ru) %{_mandir}/ru/man6/wesnothd.6*
%lang(sk) %{_mandir}/sk/man6/wesnothd.6*
%lang(sv) %{_mandir}/sv/man6/wesnothd.6*
-%dir /var/run/wesnothd
+%attr(770,wesnothd,wesnothd) %dir /var/run/wesnothd
%endif
%if %{with tools}
@@ -175,6 +190,7 @@
%lang(ja) %{_mandir}/ja/man6/wesnoth_editor.6*
%lang(nl) %{_mandir}/nl/man6/wesnoth_editor.6*
%lang(pt_BR) %{_mandir}/pt_BR/man6/wesnoth_editor.6*
+%lang(ru) %{_mandir}/ru/man6/wesnoth_editor.6*
%lang(sk) %{_mandir}/sk/man6/wesnoth_editor.6*
%lang(sv) %{_mandir}/sv/man6/wesnoth_editor.6*
%endif
@@ -185,6 +201,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.60.2.1 2007/04/20 10:52:59 arvenil
+- merged changes from HEAD
+- up to 1.2.4
+- added russian (ru) translations
+- release 1
+- STBR
+
Revision 1.60 2006/12/25 12:46:18 megabajt
- fixed locale names and removed unsupported(?) la and ca_ES at valencia locale
- removed manuals from %{_mandir}/en_GB (the same as manuals from %{_mandir}/man?)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/wesnoth.spec?r1=1.60&r2=1.60.2.1&f=u
More information about the pld-cvs-commit
mailing list