# TODO
# - rename language files sr@latin to sr@Latn and include them
# - use desktop file included with project (consider which one are better)
-# - dont know what should I do with lt man pages
+# - dont know what should I do with sr@latin man pages
#
# Conditional build
%bcond_without server # without server
Summary: Strategy game with a fantasy theme
Summary(pl.UTF-8): Strategiczna gra z motywem fantasy
Name: wesnoth
-Version: 1.4.1
+Version: 1.4.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: a357fcba2f2055ce112f25941a681374
+# Source0-md5: b2260808e94eba12aa7ceaa40fa0ee4d
Source1: %{name}.desktop
Source2: %{name}_editor.desktop
Source3: %{name}d.init
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@valencia
+mv -f $RPM_BUILD_ROOT%{_mandir}/{gl_ES,gl}
# unsupported(?)
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca_ES@valencia
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/la
+rm -rf $RPM_BUILD_ROOT%{_mandir}/ca_ES@valencia
# the same as manuals from %{_mandir}/man?
rm -rf $RPM_BUILD_ROOT%{_mandir}/en_GB
%lang(de) %{_mandir}/de/man6/wesnoth.6*
%lang(es) %{_mandir}/es/man6/wesnoth.6*
%lang(fr) %{_mandir}/fr/man6/wesnoth.6*
+%lang(gl) %{_mandir}/gl/man6/wesnoth.6*
%lang(hu) %{_mandir}/hu/man6/wesnoth.6*
%lang(it) %{_mandir}/it/man6/wesnoth.6*
%lang(ja) %{_mandir}/ja/man6/wesnoth.6*
-#%lang(lt) %{_mandir}/lt/man6/wesnoth.6*
+%lang(lt) %{_mandir}/lt/man6/wesnoth.6*
%lang(nl) %{_mandir}/nl/man6/wesnoth.6*
%lang(pl) %{_mandir}/pl/man6/wesnoth.6*
%lang(sk) %{_mandir}/sk/man6/wesnoth.6*
+%lang(sr) %{_mandir}/sr/man6/wesnoth.6*
%lang(sv) %{_mandir}/sv/man6/wesnoth.6*
+%lang(tr) %{_mandir}/tr/man6/wesnoth.6*
%lang(zh_CN) %{_mandir}/zh_CN/man6/wesnoth.6*
%{_datadir}/%{name}
%{_desktopdir}/%{name}.desktop
%lang(de) %{_mandir}/de/man6/wesnothd.6*
%lang(es) %{_mandir}/es/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*
-#%lang(lt) %{_mandir}/lt/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*
+%lang(sr) %{_mandir}/sr/man6/wesnothd.6*
%lang(sv) %{_mandir}/sv/man6/wesnothd.6*
+%lang(tr) %{_mandir}/tr/man6/wesnothd.6*
%lang(zh_CN) %{_mandir}/zh_CN/man6/wesnothd.6*
%attr(770,wesnothd,wesnothd) %dir /var/run/wesnothd
%endif
%lang(de) %{_mandir}/de/man6/wesnoth_editor.6*
%lang(es) %{_mandir}/es/man6/wesnoth_editor.6*
%lang(fr) %{_mandir}/fr/man6/wesnoth_editor.6*
+%lang(gl) %{_mandir}/gl/man6/wesnoth_editor.6*
%lang(hu) %{_mandir}/hu/man6/wesnoth_editor.6*
%lang(it) %{_mandir}/it/man6/wesnoth_editor.6*
%lang(ja) %{_mandir}/ja/man6/wesnoth_editor.6*
-#%lang(lt) %{_mandir}/lt/man6/wesnoth_editor.6*
+%lang(lt) %{_mandir}/lt/man6/wesnoth_editor.6*
%lang(nl) %{_mandir}/nl/man6/wesnoth_editor.6*
%lang(pl) %{_mandir}/pl/man6/wesnoth_editor.6*
%lang(sk) %{_mandir}/sk/man6/wesnoth_editor.6*
+%lang(sr) %{_mandir}/sr/man6/wesnoth_editor.6*
%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*
%{_desktopdir}/%{name}_editor.desktop
%{_pixmapsdir}/%{name}_editor-icon.png