SPECS: openttd-scenarios.spec (NEW) - new - scenario files which used to be...

sparky sparky at pld-linux.org
Sat Apr 4 16:56:27 CEST 2009


Author: sparky                       Date: Sat Apr  4 14:56:27 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new
- scenario files which used to be packaged with openttd-data
- and all the scenarios one could find today on openttd content server

---- Files affected:
SPECS:
   openttd-scenarios.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/openttd-scenarios.spec
diff -u /dev/null SPECS/openttd-scenarios.spec:1.1
--- /dev/null	Sat Apr  4 16:56:27 2009
+++ SPECS/openttd-scenarios.spec	Sat Apr  4 16:56:21 2009
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+#
+Summary:	Scenario files for OpenTTD
+Name:		openttd-scenarios
+Version:	20090404
+Release:	1
+License:	Mixed
+Group:		X11/Applications/Games
+Source0:	%{name}-%{version}.tar.bz2
+# Source0-md5:	a57a21cef9c9ebc97be3316939326ff9
+Source1:	http://dl.sourceforge.net/openttd/openttd-0.4.8-scenarios.tar.bz2
+# Source1-md5:	34e8cb13ce1d4e6b5b24887c628c1ac8
+Source2:	http://dl.sourceforge.net/openttd/openttd-0.5.0-scenarios.tar.bz2
+# Source2-md5:	37892f1fdded957f956766642a9e877d
+URL:		http://www.openttd.com/
+Requires:	openttd-data >= 0.7.0-1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Scenario files for OpenTTD.
+
+%prep
+%setup -q -a1 -a2
+mv openttd-0.4.8-RC1-scenarios/* scenario
+mv *.scn scenario
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_datadir}/openttd
+
+cp -r scenario $RPM_BUILD_ROOT%{_datadir}/openttd
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_datadir}/openttd/scenario/*.scn
+%{_datadir}/openttd/scenario/*.tar
+%{_datadir}/openttd/scenario/heightmap/*.tar
+
+%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.1  2009/04/04 14:56:21  sparky
+- new
+- scenario files which used to be packaged with openttd-data
+- and all the scenarios one could find today on openttd content server
+
================================================================


More information about the pld-cvs-commit mailing list