Summary: Open Source graphics base set for OpenTTD Summary(pl.UTF-8): Otwarty zestaw grafiki dla OpenTTD Name: openttd-opengfx Version: 0.3.1 Release: 1 License: GPL v2+ Group: Applications/Games Source0: http://bundles.openttdcoop.org/opengfx/releases/%{version}/opengfx-%{version}-source.tar.gz # Source0-md5: 22546d10701599872e00f02122dd2ff0 Patch0: %{name}-docs.patch URL: http://wiki.openttd.org/Graphics_Replacement BuildRequires: grfcodec >= 0.9.10-0.2245.1 BuildRequires: nforenum >= 3.4.6-0.2281.1 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 opengfx-%{version}-source %patch0 -p1 %{__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