Author: arvenil Date: Mon Mar 23 21:39:02 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - packaged python files (TODO part) - proper version number - release 1
---- Files affected: SPECS: wesnoth.spec (1.104 -> 1.105) ---- Diffs: ================================================================ Index: SPECS/wesnoth.spec diff -u SPECS/wesnoth.spec:1.104 SPECS/wesnoth.spec:1.105 --- SPECS/wesnoth.spec:1.104 Mon Mar 23 16:11:27 2009 +++ SPECS/wesnoth.spec Mon Mar 23 22:38:57 2009 @@ -3,7 +3,6 @@ # - rename language files s...@latin to s...@latn and include them # - use desktop file included with project (consider which one are better) # - dont know what should I do with s...@latin and racv man pages -# - put python files into pysite_dir # Conditional build %bcond_without server # without server %bcond_without tools # without tools @@ -13,12 +12,12 @@ 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.6a -Release: 0.1 +Version: 1.6 +Release: 1 Epoch: 1 License: GPL v2+ Group: X11/Applications/Games/Strategy -Source0: http://www.wesnoth.org/files/%{name}-%{version}.tar.bz2 +Source0: http://www.wesnoth.org/files/%{name}-%{version}a.tar.bz2 # Source0-md5: 3c4618eb64d1e5aeb6a00ab3956d5080 Source1: %{name}.desktop Source2: %{name}_editor.desktop @@ -109,10 +108,10 @@ Edytor map i narzędzia do tłumaczeń. %prep -%setup -q +%setup -q -n %{name}-%{version}a %patch0 -p1 %patch1 -p1 -%{__sed} -i 's,PYTHON_PREFIX"/lib,PYTHON_PREFIX"/%{_lib},g' configure.ac +%{__sed} -i 's,$PYTHON_PREFIX"/lib/,"%{_libdir}/,g' configure.ac %build %{__gettextize} @@ -121,6 +120,7 @@ %{__autoheader} %{__automake} %configure \ + PYTHON_VERSION=%{py_ver} \ %{?with_server:--enable-server} \ %{?with_server:--enable-campaign-server} \ --enable-python-install \ @@ -159,9 +159,9 @@ # 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 +%py_comp $RPM_BUILD_ROOT%{py_sitedir} +%py_ocomp $RPM_BUILD_ROOT%{py_sitedir} +%py_postclean %find_lang %{name} --all-name @@ -272,8 +272,8 @@ #%%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] +%dir %{py_sitedir}/%{name} +%{py_sitedir}/%{name}/*.py[co] %endif %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -282,6 +282,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.105 2009/03/23 21:38:57 arvenil +- packaged python files (TODO part) +- proper version number +- release 1 + Revision 1.104 2009/03/23 15:11:27 lisu - fix TODO text ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wesnoth.spec?r1=1.104&r2=1.105&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
