SPECS: wesnoth.spec - fixed locale names and removed unsupported(?...
megabajt
megabajt at pld-linux.org
Mon Dec 25 13:46:23 CET 2006
Author: megabajt Date: Mon Dec 25 12:46:23 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 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?)
- use %service
---- Files affected:
SPECS:
wesnoth.spec (1.59 -> 1.60)
---- Diffs:
================================================================
Index: SPECS/wesnoth.spec
diff -u SPECS/wesnoth.spec:1.59 SPECS/wesnoth.spec:1.60
--- SPECS/wesnoth.spec:1.59 Mon Dec 25 01:57:26 2006
+++ SPECS/wesnoth.spec Mon Dec 25 13:46:18 2006
@@ -28,6 +28,7 @@
BuildRequires: gettext-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:1.5
+BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: zipios++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -84,7 +85,8 @@
%configure \
%{?with_server:--enable-server} \
%{?with_tools:--enable-editor} \
- %{?with_tools:--enable-tools}
+ %{?with_tools:--enable-tools} \
+ --with-zipios
%{__make}
%install
@@ -98,6 +100,17 @@
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/wesnothd
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{gl_ES,gl}
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{nb_NO,nb}
+
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca_ES at valencia
+
+# unsupported(?)
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/la
+
+# the same as manuals from %{_mandir}/man?
+rm -rf $RPM_BUILD_ROOT%{_mandir}/en_GB
+
%find_lang %{name} --all-name
%clean
@@ -105,17 +118,11 @@
%post server
/sbin/chkconfig --add wesnothd
-if [ -f /var/lock/subsys/wesnothd ]; then
- /etc/rc.d/init.d/wesnothd restart >&2
-else
- echo "Run \"/etc/rc.d/init.d/wesnothd start\" to start wesnothd." >&2
-fi
+%service wesnothd restart
%preun server
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/wesnothd ]; then
- /etc/rc.d/init.d/wesnothd stop
- fi
+ %service wesnothd stop
/sbin/chkconfig --del wesnothd
fi
@@ -127,7 +134,6 @@
%{_mandir}/man6/wesnoth.6*
%lang(de) %{_mandir}/de/man6/wesnoth.6*
%lang(cs) %{_mandir}/cs/man6/wesnoth.6*
-%lang(en_GB) %{_mandir}/en_GB/man6/wesnoth.6*
%lang(fr) %{_mandir}/fr/man6/wesnoth.6*
%lang(ja) %{_mandir}/ja/man6/wesnoth.6*
%lang(nl) %{_mandir}/nl/man6/wesnoth.6*
@@ -146,7 +152,6 @@
%{_mandir}/man6/wesnothd.6*
%lang(cs) %{_mandir}/cs/man6/wesnothd.6*
%lang(de) %{_mandir}/de/man6/wesnothd.6*
-%lang(en_GB) %{_mandir}/en_GB/man6/wesnothd.6*
%lang(fr) %{_mandir}/fr/man6/wesnothd.6*
%lang(ja) %{_mandir}/ja/man6/wesnothd.6*
%lang(nl) %{_mandir}/nl/man6/wesnothd.6*
@@ -165,7 +170,6 @@
%{_mandir}/man6/wesnoth_editor.6*
%lang(cs) %{_mandir}/cs/man6/wesnoth_editor.6*
%lang(de) %{_mandir}/de/man6/wesnoth_editor.6*
-%lang(en_GB) %{_mandir}/en_GB/man6/wesnoth_editor.6*
%lang(fr) %{_mandir}/fr/man6/wesnoth_editor.6*
%lang(it) %{_mandir}/it/man6/wesnoth_editor.6*
%lang(ja) %{_mandir}/ja/man6/wesnoth_editor.6*
@@ -181,6 +185,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+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?)
+- use %service
+
Revision 1.59 2006/12/25 00:57:26 lisu
- more man pages added
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/wesnoth.spec?r1=1.59&r2=1.60&f=u
More information about the pld-cvs-commit
mailing list