]> git.pld-linux.org Git - packages/wesnoth.git/blobdiff - wesnoth.spec
- -tools requere wesnoth with epoch
[packages/wesnoth.git] / wesnoth.spec
index fe006315c6218535545f9769ca01d624fbc23be5..6a97be486866f435f1c8bf46be58f3eea3cdc5aa 100644 (file)
 Summary:       Strategy game with a fantasy theme
 Summary(pl.UTF-8):     Strategiczna gra z motywem fantasy
 Name:          wesnoth
-Version:       1.3.10
-Release:       1
+Version:       1.2.8
+Release:       2
+Epoch:         1
 License:       GPL v2+
 Group:         X11/Applications/Games/Strategy
 Source0:       http://www.wesnoth.org/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 227f0649e365e3f4139d240d31a7c843
+# Source0-md5: 99d17b23d2ea4dc3a008f5c69cd43789
 Source1:       %{name}.desktop
 Source2:       %{name}_editor.desktop
 Source3:       %{name}d.init
@@ -30,11 +31,12 @@ BuildRequires:      SDL_ttf-devel >= 2.0
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.9
 BuildRequires: gettext-devel
+BuildRequires: libpng-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:1.5
 BuildRequires: python-devel
-BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: zipios++-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -57,12 +59,12 @@ kampanii.
 Summary:       Network server for Wesnoth
 Summary(pl.UTF-8):     Sieciowy serwer dla Wesnoth
 Group:         X11/Applications/Games/Strategy
-Requires:      rc-scripts >= 0.4.0.17
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/groupdel
 Requires(postun):      /usr/sbin/userdel
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
+Requires:      rc-scripts >= 0.4.0.17
 
 %description server
 Server for playing networked games of Wesnoth.
@@ -74,7 +76,7 @@ Serwer do prowadzenia sieciowych gier Wesnoth.
 Summary:       Tools for Wesnoth
 Summary(pl.UTF-8):     Narzędzia dla Wesnoth
 Group:         X11/Applications/Games/Strategy
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description tools
 Map editor and translations tools.
@@ -104,7 +106,7 @@ Edytor map i narzędzia do tłumaczeń.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/var/run/wesnothd,/etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/var/run/wesnothd,/etc/rc.d/init.d,%{_docdir}/%{name}-%{version}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -118,7 +120,7 @@ install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/wesnothd
 
 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{gl_ES,gl}
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{nb_NO,nb} 
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{nb_NO,nb}
 
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca_ES@valencia
 
@@ -154,25 +156,19 @@ fi
 %doc %{_docdir}/%{name}-%{version}
 %attr(755,root,root) %{_bindir}/wesnoth
 %{_mandir}/man6/wesnoth.6*
-%lang(bg) %{_mandir}/bg/man6/wesnoth.6*
-%lang(cs) %{_mandir}/cs/man6/wesnoth.6*
-%lang(da) %{_mandir}/da/man6/wesnoth.6*
 %lang(de) %{_mandir}/de/man6/wesnoth.6*
-%lang(es) %{_mandir}/es/man6/wesnoth.6*
+%lang(cs) %{_mandir}/cs/man6/wesnoth.6*
 %lang(fr) %{_mandir}/fr/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(nl) %{_mandir}/nl/man6/wesnoth.6*
-%lang(pl) %{_mandir}/pl/man6/wesnoth.6*
 %lang(pt_BR) %{_mandir}/pt_BR/man6/wesnoth.6*
 %lang(ru) %{_mandir}/ru/man6/wesnoth.6*
 %lang(sk) %{_mandir}/sk/man6/wesnoth.6*
-%lang(sr) %{_mandir}/sr/man6/wesnoth.6*
 %lang(sv) %{_mandir}/sv/man6/wesnoth.6*
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/%{name}-icon.png
+#%{_pixmapsdir}/%{name}-icon.png
 
 %if %{with server}
 %files server
@@ -180,22 +176,16 @@ fi
 %attr(755,root,root) %{_bindir}/wesnothd
 %attr(754,root,root) /etc/rc.d/init.d/wesnothd
 %{_mandir}/man6/wesnothd.6*
-%lang(bg) %{_mandir}/bg/man6/wesnothd.6*
-%lang(cs) %{_mandir}/cs/man6/wesnothd.6*
-%lang(da) %{_mandir}/da/man6/wesnothd.6*
-%lang(de) %{_mandir}/de/man6/wesnothd.6*
-%lang(es) %{_mandir}/es/man6/wesnothd.6*
-%lang(fr) %{_mandir}/fr/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(nl) %{_mandir}/nl/man6/wesnothd.6*
-%lang(pl) %{_mandir}/pl/man6/wesnothd.6*
-%lang(pt_BR) %{_mandir}/pt_BR/man6/wesnothd.6*
-%lang(ru) %{_mandir}/ru/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(de) %{_mandir}/de/man6/wesnoth.6*
+%lang(cs) %{_mandir}/cs/man6/wesnoth.6*
+%lang(fr) %{_mandir}/fr/man6/wesnoth.6*
+%lang(it) %{_mandir}/it/man6/wesnoth.6*
+%lang(ja) %{_mandir}/ja/man6/wesnoth.6*
+%lang(nl) %{_mandir}/nl/man6/wesnoth.6*
+%lang(pt_BR) %{_mandir}/pt_BR/man6/wesnoth.6*
+%lang(ru) %{_mandir}/ru/man6/wesnoth.6*
+%lang(sk) %{_mandir}/sk/man6/wesnoth.6*
+%lang(sv) %{_mandir}/sv/man6/wesnoth.6*
 %attr(770,wesnothd,wesnothd) %dir /var/run/wesnothd
 %endif
 
@@ -206,22 +196,16 @@ fi
 %attr(755,root,root) %{_bindir}/exploder
 %attr(755,root,root) %{_bindir}/wesnoth_editor
 %{_mandir}/man6/wesnoth_editor.6*
-%lang(bg) %{_mandir}/bg/man6/wesnoth_editor.6*
 %lang(cs) %{_mandir}/cs/man6/wesnoth_editor.6*
-%lang(da) %{_mandir}/da/man6/wesnoth_editor.6*
 %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(hu) %{_mandir}/hu/man6/wesnoth_editor.6*
 %lang(it) %{_mandir}/it/man6/wesnoth_editor.6*
 %lang(ja) %{_mandir}/ja/man6/wesnoth_editor.6*
 %lang(nl) %{_mandir}/nl/man6/wesnoth_editor.6*
-%lang(pl) %{_mandir}/pl/man6/wesnoth_editor.6*
 %lang(pt_BR) %{_mandir}/pt_BR/man6/wesnoth_editor.6*
 %lang(ru) %{_mandir}/ru/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*
 %{_desktopdir}/%{name}_editor.desktop
-%{_pixmapsdir}/%{name}_editor-icon.png
+#%{_pixmapsdir}/%{name}_editor-icon.png
 %endif
This page took 0.029097 seconds and 4 git commands to generate.