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

lisu lisu at pld-linux.org
Fri Apr 23 22:52:58 CEST 2010


Author: lisu                         Date: Fri Apr 23 20:52:58 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/openttd-opensfx/openttd-opensfx.spec
diff -u /dev/null packages/openttd-opensfx/openttd-opensfx.spec:1.1
--- /dev/null	Fri Apr 23 22:52:59 2010
+++ packages/openttd-opensfx/openttd-opensfx.spec	Fri Apr 23 22:52:53 2010
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+Summary:	Free replacement of the base sounds for OpenTTD
+Summary(pl.UTF-8):	Darmowy zastępnik podstawowych dźwięków dla OpenTTD
+Name:		openttd-opensfx
+Version:	0.2.3
+Release:	1
+License:	GPL v2+
+Group:		Applications/Games
+Source0:	http://bundles.openttdcoop.org/opensfx/releases/opensfx-%{version}-source.tar.gz
+# Source0-md5:	220642e895c5e490db90c01e33336f53
+URL:		http://bundles.openttdcoop.org/opensfx/
+BuildRequires:	catcodec
+BuildRequires:	sed >= 4.0
+Requires:	openttd-data
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenSFX is a free replacement of the base sounds for OpenTTD, so that
+OpenTTD can be played without requiring the (copyrighted) files from
+the TTD CD.
+
+%description -l pl.UTF-8
+OpenSFX to darmowy zastępnik podstawowych dźwięków dla OpenTTD, który
+umożliwa granie w OpenTTD bez potrzeby wgrywania oryginalnych plików z
+TTD, chronionych prawami autorskimi.
+
+%prep
+%setup -q -n opensfx-%{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/opensfx-0.2.3.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  2010/04/23 20:52:53  lisu
+- new
+
================================================================


More information about the pld-cvs-commit mailing list