packages: warmux/warmux.spec - name changed to warmux - version 11.01 - add...
lisu
lisu at pld-linux.org
Tue Feb 15 12:37:48 CET 2011
Author: lisu Date: Tue Feb 15 11:37:48 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- name changed to warmux
- version 11.01
- add optflags.patch which forces append PLD's rpmcxxflags
- drop building of unsupported ua locale
---- Files affected:
packages/warmux:
warmux.spec (1.59 -> 1.60)
---- Diffs:
================================================================
Index: packages/warmux/warmux.spec
diff -u packages/warmux/warmux.spec:1.59 packages/warmux/warmux.spec:1.60
--- packages/warmux/warmux.spec:1.59 Sat Jun 12 15:05:45 2010
+++ packages/warmux/warmux.spec Tue Feb 15 12:37:43 2011
@@ -2,14 +2,15 @@
Summary: A free (libre) clone of Worms from Team17
Summary(de.UTF-8): Ein kostenloser Team17 Worms-Klon
Summary(pl.UTF-8): Wolnodostępny klon Worms z Team17
-Name: wormux
-Version: 0.9.2.1
-Release: 3
+Name: warmux
+Version: 11.01
+Release: 1
License: GPL v2+
Group: X11/Applications/Games
-Source0: http://download.gna.org/wormux/%{name}-%{version}.tar.bz2
-# Source0-md5: e49621b9b4ac7c8d1b11657989df61db
-Patch0: %{name}-desktop.patch
+Source0: http://download.gna.org/warmux/%{name}-%{version}.tar.bz2
+# Source0-md5: ecf98ff1a91899d35d0ba8266ace9787
+Patch0: desktop.patch
+Patch1: optflags.patch
URL: http://www.wormux.org/
BuildRequires: SDL-devel >= 1.2.6
BuildRequires: SDL_gfx-devel >= 2.0.13
@@ -26,7 +27,8 @@
BuildRequires: perl-base
BuildRequires: pkgconfig
BuildRequires: sed >= 4.1
-Suggests: wormux-bonusmaps
+Suggests: warmux-bonusmaps
+Obsoletes: wormux
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -41,9 +43,10 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
-# disable building unsupported locale
-%{__sed} -i -e 's|cpf||g' po/LINGUAS
+# disable building unsupported locales
+%{__sed} -i -e 's|cpf||g;s|ua||g' po/LINGUAS
# fix jp locale
%{__sed} -i -e 's/ja_JP/ja/g' po/LINGUAS
@@ -54,6 +57,7 @@
%{__autoconf}
%{__automake}
%configure \
+ OPTFLAGS="%{rpmcxxflags}" \
--with-datadir-name=%{_datadir}/games/%{name}
%{__make}
@@ -74,12 +78,12 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/wormux
-%attr(755,root,root) %{_bindir}/wormux-list-games
+%attr(755,root,root) %{_bindir}/warmux
+%attr(755,root,root) %{_bindir}/warmux-list-games
%{_datadir}/games/%{name}
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.png
-%{_mandir}/man6/wormux.6*
+%{_mandir}/man6/warmux.6*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -87,6 +91,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.60 2011/02/15 11:37:43 lisu
+- name changed to warmux
+- version 11.01
+- add optflags.patch which forces append PLD's rpmcxxflags
+- drop building of unsupported ua locale
+
Revision 1.59 2010/06/12 13:05:45 lisu
- move bonus map pack to separate spec (wormux-bonusmaps.spec)
- Suggestes: wormux-bonusmaps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/warmux/warmux.spec?r1=1.59&r2=1.60&f=u
More information about the pld-cvs-commit
mailing list