Author: lisu Date: Fri Jun 11 21:32:13 2010 GMT Module: packages Tag: HEAD ---- Log message: - add bcond for bonus map pack disabled by default (read NOTE) - rel 2
---- Files affected: packages/wormux: wormux.spec (1.56 -> 1.57) ---- Diffs: ================================================================ Index: packages/wormux/wormux.spec diff -u packages/wormux/wormux.spec:1.56 packages/wormux/wormux.spec:1.57 --- packages/wormux/wormux.spec:1.56 Wed Apr 21 10:03:40 2010 +++ packages/wormux/wormux.spec Fri Jun 11 23:32:08 2010 @@ -1,11 +1,19 @@ # $Revision$, $Date$ +# +# 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: 1 +Release: 2 License: GPL v2+ Group: X11/Applications/Games Source0: http://download.gna.org/wormux/%{name}-%{version}.tar.bz2 @@ -51,9 +59,11 @@ %{__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 @@ -69,7 +79,7 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -cp -r maps/* $RPM_BUILD_ROOT%{_datadir}/games/%{name}/map +%{?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 @@ -95,6 +105,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.57 2010/06/11 21:32:08 lisu +- add bcond for bonus map pack disabled by default (read NOTE) +- rel 2 + Revision 1.56 2010/04/21 08:03:40 lisu - 0.9.2.1 (fix build on 64 bits) ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wormux/wormux.spec?r1=1.56&r2=1.57&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
