packages: opengfx/opengfx.spec (NEW) - added to PLD

lisu lisu at pld-linux.org
Fri Apr 23 13:24:27 CEST 2010


Author: lisu                         Date: Fri Apr 23 11:24:27 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added to PLD

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

---- Diffs:

================================================================
Index: packages/opengfx/opengfx.spec
diff -u /dev/null packages/opengfx/opengfx.spec:1.1
--- /dev/null	Fri Apr 23 13:24:27 2010
+++ packages/opengfx/opengfx.spec	Fri Apr 23 13:24:22 2010
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+Summary:	Open Source graphics base set for OpenTTD
+Summary(pl.UTF-8):	Otwarty zestaw grafiki dla OpenTTD
+Name:		opengfx
+Version:	0.2.3
+Release:	1
+License:	GPL v2+
+Group:		Applications/Games
+Source0:	http://bundles.openttdcoop.org/opengfx/releases/%{name}-%{version}-source.tar.gz
+# Source0-md5:	5e530e70e4ed5f2b20cc8b739c633830
+URL:		http://wiki.openttd.org/Graphics_Replacement
+BuildRequires:	grfcodec >= r2245
+BuildRequires:	nforenum >= r2281
+BuildRequires:	openttd-data
+BuildRequires:	sed >= 4.0
+Requires:	openttd-data
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenGFX is an open source graphics base set for OpenTTD which can
+completely replace the TTD base set. The main goal of OpenGFX
+therefore is to provide a set of free base graphics which make it
+possible to play OpenTTD without requiring the (copyrighted) files
+from the TTD CD.
+
+%description -l pl.UTF-8
+OpenGFX to otwarty zestaw grafiki dla gry OpenTTD, który całkowicie
+zastępuje zestaw podstawowy TTD. Głównym celem OpenGFX jest
+dostarczenie darmowej grafiki, która umożliwii grę w OpenTTD bez
+konieczności posiadania oryginalnych plików z gry TTD, strzeżonych
+prawami autorskimi.
+
+%prep
+%setup -q -n %{name}-%{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/opengfx-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 11:24:22  lisu
+- added to PLD
+
================================================================


More information about the pld-cvs-commit mailing list