]> git.pld-linux.org Git - packages/wesnoth.git/blobdiff - wesnoth.spec
- updated dependencies
[packages/wesnoth.git] / wesnoth.spec
index e334dfc7bcfb521b3f6de4162b0092745b09930f..140b404e2315c629f7afc795d00353d9e543c67e 100644 (file)
@@ -10,13 +10,13 @@ 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):     Gra strategiczna z motywem fantasy
 Name:          wesnoth
-Version:       1.14.15
+Version:       1.14.16
 Release:       1
 Epoch:         1
 License:       GPL v2+
 Group:         X11/Applications/Games/Strategy
 Source0:       http://downloads.sourceforge.net/wesnoth/%{name}-%{version}.tar.bz2
-# Source0-md5: f3149cf74ae55c490739494c45179fa7
+# Source0-md5: 769733a55ab5742815e0acf8c51e13e4
 Source1:       %{name}d.init
 Source2:       %{name}.tmpfiles
 Source3:       %{name}.sysconfig
@@ -32,15 +32,17 @@ BuildRequires:      cairo-devel >= 1.10.0
 BuildRequires: cmake >= 2.8.5
 BuildRequires: dbus-devel
 BuildRequires: fontconfig-devel >= 2.4.1
-%{?with_fribidi:BuildRequires: fribidi-devel}
+%{?with_fribidi:BuildRequires: fribidi-devel >= 0.10.9}
 BuildRequires: gettext-tools
 BuildRequires: libicu-devel
 BuildRequires: libpng-devel
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libvorbis-devel
-BuildRequires: openssl-devel
+BuildRequires: openssl-devel >= 1.0
 BuildRequires: pango-devel >= 1:1.22.0
 BuildRequires: pkgconfig
+BuildRequires: readline-devel
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.605
 BuildRequires: sed >= 4.0
@@ -55,6 +57,7 @@ Requires(post,postun):        gtk-update-icon-cache
 Requires:      %{name}-data = %{epoch}:%{version}
 Requires:      SDL2 >= 2.0.4
 Requires:      fontconfig >= 2.4.1
+%{?with_fribidi:Requires:      fribidi >= 0.10.9}
 Requires:      pango >= 1:1.22.8
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -107,9 +110,7 @@ Serwer do prowadzenia sieciowych gier Wesnoth.
 Summary:       Strategy game with a fantasy theme - data files
 Summary(pl.UTF-8):     Gra strategiczna z motywem fantasy - pliki danych
 Group:         Applications/Games
-%if "%{_rpmversion}" >= "4.6"
 BuildArch:     noarch
-%endif
 
 %description data
 This package contains the data files for Wesnoth.
@@ -117,6 +118,8 @@ This package contains the data files for Wesnoth.
 %description data -l pl.UTF-8
 Ten pakiet zawiera pliki danych dla gry Wesnoth.
 
+%global debug_package %{nil}
+
 %prep
 %setup -q
 
@@ -202,12 +205,12 @@ rm -rf $RPM_BUILD_ROOT
 %preun server
 if [ "$1" = "0" ]; then
        %service wesnothd stop
+       /sbin/chkconfig --del wesnothd
 fi
 %systemd_preun wesnothd.service
 
 %postun server
 if [ "$1" = "0" ]; then
-       /sbin/chkconfig --del wesnothd
        %userremove wesnothd
        %groupremove wesnothd
 fi
@@ -219,6 +222,7 @@ fi
 %doc %{_docdir}/%{name}
 %attr(755,root,root) %{_bindir}/wesnoth
 %{_mandir}/man6/wesnoth.6*
+%lang(ca) %{_mandir}/ca/man6/wesnoth.6*
 %lang(de) %{_mandir}/de/man6/wesnoth.6*
 %lang(es) %{_mandir}/es/man6/wesnoth.6*
 %lang(fr) %{_mandir}/fr/man6/wesnoth.6*
@@ -244,6 +248,7 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/wesnothd
 %attr(644,root,root) %{systemdunitdir}/wesnothd.service
 %{_mandir}/man6/wesnothd.6*
+%lang(ca) %{_mandir}/ca/man6/wesnothd.6*
 %lang(cs) %{_mandir}/cs/man6/wesnothd.6*
 %lang(de) %{_mandir}/de/man6/wesnothd.6*
 %lang(es) %{_mandir}/es/man6/wesnothd.6*
This page took 0.521863 seconds and 4 git commands to generate.