SPECS: wesnoth-addons.spec - more subpackages - wesnothver macro

uzsolt uzsolt at pld-linux.org
Thu Feb 12 19:08:59 CET 2009


Author: uzsolt                       Date: Thu Feb 12 18:08:59 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more subpackages
- wesnothver macro

---- Files affected:
SPECS:
   wesnoth-addons.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/wesnoth-addons.spec
diff -u SPECS/wesnoth-addons.spec:1.2 SPECS/wesnoth-addons.spec:1.3
--- SPECS/wesnoth-addons.spec:1.2	Thu Feb 12 17:40:26 2009
+++ SPECS/wesnoth-addons.spec	Thu Feb 12 19:08:53 2009
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%define wesnothver 1.4
 Summary:	Additional stuffs (maps, scenarios, eras, campaigns) for Wesnoth
 Summary(hu.UTF-8):	Bővítések Wesnoth-hoz (térképek, küldetések, korok)
 Name:		wesnoth-addons
@@ -8,16 +9,20 @@
 Group:		X11/Applications/Games
 # 0-49: multiplayers
 # 50-99: campaigns
-Source0:	http://files.wesnoth.org/addons/1.4/Temples_Of_The_Nagas.tar.bz2
+Source0:	http://files.wesnoth.org/addons/%{wesnothver}/Temples_Of_The_Nagas.tar.bz2
 # Source0-md5:	642d90907ecfb5d9aa29625a68e6b3e8
-Source50:	http://files.wesnoth.org/addons/1.4/Flight_Freedom_1_3.tar.bz2
+Source50:	http://files.wesnoth.org/addons/%{wesnothver}/Flight_Freedom_1_3.tar.bz2
 # Source50-md5:	cbf9d0a47784a04224a2b1225517d601
-Source51:	http://files.wesnoth.org/addons/1.4/Dead_Water.tar.bz2
+Source51:	http://files.wesnoth.org/addons/%{wesnothver}/Dead_Water.tar.bz2
 # Source51-md5:	f50c5a1683a95cdb94680d649fc1e65d
-Source52:	http://files.wesnoth.org/addons/1.4/Elvish_Legacy.tar.bz2
+Source52:	http://files.wesnoth.org/addons/%{wesnothver}/Elvish_Legacy.tar.bz2
 # Source52-md5:	e3cabb85cd9399141336fe75cdf9d42b
+Source53:	http://files.wesnoth.org/addons/%{wesnothver}/Bad_Moon_Rising.tar.bz2
+# Source53-md5:	c9c01b5a4d795f8f718b156860a5bae0
+Source54:	http://files.wesnoth.org/addons/%{wesnothver}/Forgotten_Kingdom.tar.bz2
+# Source54-md5:	3b35f5651eb4bb4d28a1d83b03f632c3
 URL:		http://www.wesnoth.org/addons/1.4/
-Requires:	wesnoth >= 1.4
+Requires:	wesnoth >= %{wesnothver}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define wesnothdir %{_datadir}/wesnoth/data
@@ -60,6 +65,7 @@
 Summary:	Lead your merfolk on a mission to convince a powerful mermaid to help you repel an undead invasion
 Summary(hu.UTF-8):	Vezesd a sellő népet egy élőhalott invázió ellen
 Group:		X11/Applications/Games
+Group:		X11/Applications/Games
 
 %description camp-dead_water
 Lead your merfolk on a mission to convince a powerful mermaid to help
@@ -79,6 +85,30 @@
 %description camp-elvish_legacy -l hu.UTF-8
 Meg kell védened az embereid az orkoktól.
 
+%package camp-bad_moon_rising
+Summary:	Officer Lorenzon leads a revolution against the brutal Prince
+Summary(hu.UTF-8):	Lorenzon kapitány egy lázadást vezet a kegyetlen Herceg ellen
+Group:		X11/Applications/Games
+
+%description camp-bad_moon_rising
+Officer Lorenzon leads a revolution against the brutal Prince.
+
+%description camp-bad_moon_rising -l hu.UTF-8
+Lorenzon kapitány egy lázadást vezet a kegyetlen Herceg ellen.
+
+%package camp-forgotten_kingdom
+Summary:	Help Orlog, a troll chieftan
+Summary(hu.UTF-8):	Segíts Orlog-nak, egy troll főnöknek
+Group:		X11/Applications/Games
+
+%description camp-forgotten_kingdom
+Help Orlog, a troll chieftan, lead his people to safety in the
+underground and discover an ancient power long forgotten.
+
+%description camp-forgotten_kingdom
+Segíts Orlog-nak, a troll főnöknek az embereit biztonságba vezényelni
+a föld alatt és felfedezni az ősí erőt, amelyet rég elfeledtek.
+
 
 %prep
 install -d wesnoth-addons
@@ -88,6 +118,8 @@
 %{__tar} xf %{SOURCE50}
 %{__tar} xf %{SOURCE51}
 %{__tar} xf %{SOURCE52}
+%{__tar} xf %{SOURCE53}
+%{__tar} xf %{SOURCE54}
 
 find -name COPYING.txt -exec rm {} \;
 
@@ -104,7 +136,8 @@
 %{__cp} -r Flight_Freedom_1_3 $RPM_BUILD_ROOT%{wesnothcamp}
 %{__cp} -r Dead_Water $RPM_BUILD_ROOT%{wesnothcamp}
 %{__cp} -r Elvish_Legacy $RPM_BUILD_ROOT%{wesnothcamp}
-
+%{__cp} -r Bad_Moon_Rising $RPM_BUILD_ROOT%{wesnothcamp}
+%{__cp} -r Forgotten_Kingdom $RPM_BUILD_ROOT%{wesnothcamp}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -129,12 +162,24 @@
 %defattr(644,root,root,755)
 %{wesnothcamp}/Elvish_Legacy
 
+%files camp-bad_moon_rising
+%defattr(644,root,root,755)
+%{wesnothcamp}/Bad_Moon_Rising
+
+%files camp-forgotten_kingdom
+%defattr(644,root,root,755)
+%{wesnothcamp}/Forgotten_Kingdom
+
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/02/12 18:08:53  uzsolt
+- more subpackages
+- wesnothver macro
+
 Revision 1.2  2009/02/12 16:40:26  uzsolt
 - Elvish Legacy campaign
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wesnoth-addons.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list