packages: wormux/wormux.spec - move bonus map pack to separate spec (wormux...
lisu
lisu at pld-linux.org
Sat Jun 12 15:05:53 CEST 2010
Author: lisu Date: Sat Jun 12 13:05:53 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- move bonus map pack to separate spec (wormux-bonusmaps.spec)
- Suggestes: wormux-bonusmaps
- shorter URL
- rel 3
---- Files affected:
packages/wormux:
wormux.spec (1.58 -> 1.59)
---- Diffs:
================================================================
Index: packages/wormux/wormux.spec
diff -u packages/wormux/wormux.spec:1.58 packages/wormux/wormux.spec:1.59
--- packages/wormux/wormux.spec:1.58 Fri Jun 11 23:36:03 2010
+++ packages/wormux/wormux.spec Sat Jun 12 15:05:45 2010
@@ -1,29 +1,16 @@
# $Revision$, $Date$
-#
-# TODO: move additional maps to separate subpackage
-#
-# NOTE: Bonus maps pack is disabled by default, because player
-# can't play via network with other players which don't
-# have additional maps.
-#
-# Conditional build
-%bcond_with maps # without additional maps subpackage
-#
-%define _maps_ver 20100221
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: 2
+Release: 3
License: GPL v2+
Group: X11/Applications/Games
Source0: http://download.gna.org/wormux/%{name}-%{version}.tar.bz2
# Source0-md5: e49621b9b4ac7c8d1b11657989df61db
-Source1: http://download.gna.org/wormux/Wormux-BonusMaps-%{_maps_ver}.tar.gz
-# Source1-md5: 58fd6b93fb848315affe1145b2729a62
Patch0: %{name}-desktop.patch
-URL: http://www.wormux.org/en/index.php
+URL: http://www.wormux.org/
BuildRequires: SDL-devel >= 1.2.6
BuildRequires: SDL_gfx-devel >= 2.0.13
BuildRequires: SDL_image-devel
@@ -39,6 +26,7 @@
BuildRequires: perl-base
BuildRequires: pkgconfig
BuildRequires: sed >= 4.1
+Suggests: wormux-bonusmaps
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -61,12 +49,6 @@
%{__sed} -i -e 's/ja_JP/ja/g' po/LINGUAS
mv -f po/ja{_JP,}.po
-%if %{with maps}
-mkdir maps && cd maps
-%{__tar} xf %{SOURCE1}
-cd ..
-%endif
-
%build
%{__aclocal} -I build/m4
%{__autoconf}
@@ -81,8 +63,6 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{?with_maps:cp -r maps/* $RPM_BUILD_ROOT%{_datadir}/games/%{name}/map}
-
# rename pixmap
mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}_128x128.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
@@ -107,6 +87,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.59 2010/06/12 13:05:45 lisu
+- move bonus map pack to separate spec (wormux-bonusmaps.spec)
+- Suggestes: wormux-bonusmaps
+- shorter URL
+- rel 3
+
Revision 1.58 2010/06/11 21:36:03 lisu
- TODO
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wormux/wormux.spec?r1=1.58&r2=1.59&f=u
More information about the pld-cvs-commit
mailing list