packages: openttd-openmsx/openttd-openmsx.spec (NEW) - new

lisu lisu at pld-linux.org
Fri Apr 23 23:26:40 CEST 2010


Author: lisu                         Date: Fri Apr 23 21:26:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/openttd-openmsx:
   openttd-openmsx.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/openttd-openmsx/openttd-openmsx.spec
diff -u /dev/null packages/openttd-openmsx/openttd-openmsx.spec:1.1
--- /dev/null	Fri Apr 23 23:26:40 2010
+++ packages/openttd-openmsx/openttd-openmsx.spec	Fri Apr 23 23:26:34 2010
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary:	Open source replacement for the original Transport Tycoon Deluxe (TTD) music
+Summary(pl.UTF-8):	Darmowy zastępnik dla oryginalnej muzki do gry Transport Tycoon Deluxe (TTD)
+Name:		openttd-openmsx
+Version:	0.2.1
+Release:	1
+License:	GPL v2+
+Group:		Applications/Games
+Source0:	http://bundles.openttdcoop.org/openmsx/releases/openmsx-%{version}-source.tar.gz
+# Source0-md5:	f03e93d4818eaa6035c8e8f6056bbef1
+URL:		http://wiki.openttd.org/OpenMSX
+BuildRequires:	sed >= 4.0
+Requires:	openttd-data
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenMSX is an open source replacement for the original Transport
+Tycoon Deluxe (TTD) music.
+
+%description -l pl.UTF-8
+Darmowy zastępnik dla oryginalnej muzki do gry Transport Tycoon Deluxe
+(TTD).
+
+%prep
+%setup -q -n openmsx-%{version}-source
+%{__sed} -i 's,$(INSTALL_DIR),$(DESTDIR)$(INSTALL_DIR),' scripts/Makefile.bundles
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	INSTALL_DIR="%{_datadir}/openttd/data" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/{changelog.txt,readme.txt}
+%{_datadir}/openttd/data/openmsx-%{version}
+
+%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  2010/04/23 21:26:34  lisu
+- new
+
================================================================


More information about the pld-cvs-commit mailing list