packages: wormux/wormux.spec - add additional maps pack - rel 2

lisu lisu at pld-linux.org
Mon Feb 1 16:01:16 CET 2010


Author: lisu                         Date: Mon Feb  1 15:01:16 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add additional maps pack
- rel 2

---- Files affected:
packages/wormux:
   wormux.spec (1.52 -> 1.53) 

---- Diffs:

================================================================
Index: packages/wormux/wormux.spec
diff -u packages/wormux/wormux.spec:1.52 packages/wormux/wormux.spec:1.53
--- packages/wormux/wormux.spec:1.52	Wed Jan 27 10:51:04 2010
+++ packages/wormux/wormux.spec	Mon Feb  1 16:01:08 2010
@@ -1,14 +1,17 @@
 # $Revision$, $Date$
+%define		_maps_ver	20100107
 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.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://download.gna.org/wormux/%{name}-%{version}.tar.bz2
 # Source0-md5:	001b4979c53ffcf4c45715cad4f8bc85
+Source1:	http://download.gna.org/wormux/Wormux-BonusMaps-%{_maps_ver}.tar.gz
+# Source1-md5:	282bb00629ddcae910ac43b0ab5fe85d
 Patch0:		%{name}-desktop.patch
 URL:		http://www.wormux.org/en/index.php
 BuildRequires:	SDL-devel >= 1.2.6
@@ -48,6 +51,10 @@
 %{__sed} -i -e 's/ja_JP/ja/g' po/LINGUAS
 mv -f po/ja{_JP,}.po
 
+mkdir maps && cd maps
+%{__tar} xf %{SOURCE1}
+cd ..
+
 %build
 %{__aclocal} -I build/m4
 %{__autoconf}
@@ -62,6 +69,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+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
 
@@ -85,6 +94,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.53  2010/02/01 15:01:08  lisu
+- add additional maps pack
+- rel 2
+
 Revision 1.52  2010/01/27 09:51:04  lisu
 - updated to 0.9.0
 - adapter
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wormux/wormux.spec?r1=1.52&r2=1.53&f=u



More information about the pld-cvs-commit mailing list