]> git.pld-linux.org Git - packages/wesnoth.git/blobdiff - wesnoth.spec
- up to 1.8.4
[packages/wesnoth.git] / wesnoth.spec
index c71ade6a926af65e0f9c588bb1611a83e48caa3c..621968c85c8892064663672106268e77d24a7c88 100644 (file)
@@ -1,7 +1,5 @@
 # TODO
-# - use desktop file included with project (consider which one are better)
 # - unpackaged language files
-# - fix lacales (seems broken)
 # Conditional build
 %bcond_without server  # without server
 %bcond_without tools   # without tools
@@ -11,16 +9,17 @@ Summary:     Strategy game with a fantasy theme
 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.8
-Release:       0.1
+Version:       1.8.4
+Release:       0.9
 Epoch:         1
 License:       GPL v2+
 Group:         X11/Applications/Games/Strategy
 Source0:       http://downloads.sourceforge.net/wesnoth/%{name}-%{version}.tar.bz2
-# Source0-md5: 07e4b97512e307c54dcfd86659a61e41
+# Source0-md5: 2dce83f835ecce1d505ea60e46b7356f
 Source1:       %{name}d.init
 Patch0:                %{name}-libpng.patch
 Patch1:                %{name}-desktop.patch
+Patch2:                %{name}-locale_dir.patch
 URL:           http://www.wesnoth.org/
 BuildRequires: SDL-devel >= 1.2.7
 BuildRequires: SDL_image-devel >= 1.2
@@ -30,6 +29,7 @@ BuildRequires:        SDL_ttf-devel >= 2.0.8
 BuildRequires: asciidoc
 BuildRequires: boost-devel >= 1.33
 BuildRequires: cmake >= 2.4
+BuildRequires: dbus-devel
 %{?with_fribidi:BuildRequires: fribidi-devel}
 BuildRequires: gettext-devel
 BuildRequires: libpng-devel
@@ -38,6 +38,7 @@ BuildRequires:        libvorbis-devel
 BuildRequires: lua51-devel
 BuildRequires: pango-devel
 BuildRequires: pkgconfig
+BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
@@ -110,6 +111,7 @@ Edytor map i narzędzia do tłumaczeń.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # don't install locales in %{_datadir}/%{name}
 %{__sed} -i 's,${DATADIR}/${LOCALEDIR},${LOCALEDIR},' CMakeLists.txt
@@ -162,6 +164,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/la
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/racv
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en@shaw
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/sr@ijekavian
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/sr@ijekavianlatin
 rm -rf $RPM_BUILD_ROOT%{_mandir}/ca_ES@valencia
 
 # the same as manuals from %{_mandir}/man?
@@ -229,6 +232,7 @@ fi
 %lang(et) %{_mandir}/et/man6/wesnothd.6*
 %lang(fi) %{_mandir}/fi/man6/wesnothd.6*
 %lang(fr) %{_mandir}/fr/man6/wesnothd.6*
+%lang(gl) %{_mandir}/gl/man6/wesnothd.6*
 %lang(hu) %{_mandir}/hu/man6/wesnothd.6*
 %lang(it) %{_mandir}/it/man6/wesnothd.6*
 %lang(ja) %{_mandir}/ja/man6/wesnothd.6*
@@ -240,6 +244,7 @@ fi
 %lang(sr@latin) %{_mandir}/sr@latin/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
 
This page took 0.113035 seconds and 4 git commands to generate.