Author: arvenil Date: Fri Oct 3 20:57:47 2008 GMT Module: SPECS Tag: DEVEL ---- Log message: - up to 1.5.4
---- Files affected: SPECS: wesnoth.spec (1.97 -> 1.97.2.1) ---- Diffs: ================================================================ Index: SPECS/wesnoth.spec diff -u SPECS/wesnoth.spec:1.97 SPECS/wesnoth.spec:1.97.2.1 --- SPECS/wesnoth.spec:1.97 Fri Oct 3 20:06:21 2008 +++ SPECS/wesnoth.spec Fri Oct 3 22:57:41 2008 @@ -12,13 +12,13 @@ Summary(hu.UTF-8): Fantasy környezetben játszódó stratégiai játék Summary(pl.UTF-8): Strategiczna gra z motywem fantasy Name: wesnoth -Version: 1.4.5 -Release: 2 +Version: 1.5.4 +Release: 1 Epoch: 1 License: GPL v2+ Group: X11/Applications/Games/Strategy Source0: http://www.wesnoth.org/files/%{name}-%{version}.tar.bz2 -# Source0-md5: 09b7b76d4a4eedf502f38df9d551d827 +# Source0-md5: f4222d741bd0dd4c1336a96b6f1c5c2d Source1: %{name}.desktop Source2: %{name}_editor.desktop Source3: %{name}d.init @@ -106,6 +106,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%{__sed} -i 's,PYTHON_PREFIX"/lib,PYTHON_PREFIX"/%{_lib},g' configure.ac %build %{__gettextize} @@ -115,6 +116,8 @@ %{__automake} %configure \ %{?with_server:--enable-server} \ + %{?with_server:--enable-campaign-server} \ + --enable-python-install \ %{?with_tools:--enable-editor} \ %{?with_tools:--enable-tools} \ --with%{!?with_fribidi:out}-fribidi \ @@ -136,7 +139,9 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} +%if %{with server} install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/wesnothd +%endif mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{nb_NO,nb} @@ -148,6 +153,10 @@ # the same as manuals from %{_mandir}/man? rm -rf $RPM_BUILD_ROOT%{_mandir}/en_GB +%py_comp $RPM_BUILD_ROOT%{py_sitedir} +%py_ocomp $RPM_BUILD_ROOT%{py_sitedir} +%py_postclean + %find_lang %{name} --all-name %clean @@ -191,6 +200,7 @@ %lang(sv) %{_mandir}/sv/man6/wesnoth.6* %lang(tr) %{_mandir}/tr/man6/wesnoth.6* %lang(zh_CN) %{_mandir}/zh_CN/man6/wesnoth.6* +%lang(zh_TW) %{_mandir}/zh_TW/man6/wesnoth.6* %{_datadir}/%{name} %{_desktopdir}/%{name}.desktop %{_pixmapsdir}/%{name}-icon.png @@ -198,6 +208,7 @@ %if %{with server} %files server %defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/campaignd %attr(755,root,root) %{_bindir}/wesnothd %attr(754,root,root) /etc/rc.d/init.d/wesnothd %{_mandir}/man6/wesnothd.6* @@ -210,7 +221,6 @@ %lang(hu) %{_mandir}/hu/man6/wesnothd.6* %lang(it) %{_mandir}/it/man6/wesnothd.6* %lang(ja) %{_mandir}/ja/man6/wesnothd.6* -%lang(lt) %{_mandir}/lt/man6/wesnothd.6* %lang(nl) %{_mandir}/nl/man6/wesnothd.6* %lang(pl) %{_mandir}/pl/man6/wesnothd.6* %lang(sk) %{_mandir}/sk/man6/wesnothd.6* @@ -218,6 +228,7 @@ %lang(sv) %{_mandir}/sv/man6/wesnothd.6* %lang(tr) %{_mandir}/tr/man6/wesnothd.6* %lang(zh_CN) %{_mandir}/zh_CN/man6/wesnothd.6* +%lang(zh_TW) %{_mandir}/zh_TW/man6/wesnothd.6* %attr(770,wesnothd,wesnothd) %dir /var/run/wesnothd %endif @@ -226,6 +237,7 @@ %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/cutter %attr(755,root,root) %{_bindir}/exploder +%attr(755,root,root) %{_bindir}/wesnoth_addon_manager %attr(755,root,root) %{_bindir}/wesnoth_editor %attr(755,root,root) %{_bindir}/wmlindent %attr(755,root,root) %{_bindir}/wmllint @@ -248,8 +260,11 @@ %lang(sv) %{_mandir}/sv/man6/wesnoth_editor.6* %lang(tr) %{_mandir}/tr/man6/wesnoth_editor.6* %lang(zh_CN) %{_mandir}/zh_CN/man6/wesnoth_editor.6* +%lang(zh_TW) %{_mandir}/zh_TW/man6/wesnoth_editor.6* %{_desktopdir}/%{name}_editor.desktop %{_pixmapsdir}/%{name}_editor-icon.png +%dir %{py_sitedir}/%{name} +%{py_sitedir}/%{name}/*.py[co] %endif %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -258,6 +273,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.97.2.1 2008/10/03 20:57:41 arvenil +- up to 1.5.4 + Revision 1.97 2008/10/03 18:06:21 arekm - release 2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wesnoth.spec?r1=1.97&r2=1.97.2.1&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
