%define realname opengfx Name: openttd-%{realname} Version: 0.3.3 Release: %mkrel 1 Summary: OpenGFX graphics replacement set for OpenTTD Group: Games/Strategy License: GPLv2 URL: http://dev.openttdcoop.org/projects/opengfx Source0: http://gb.binaries.openttd.org/binaries/extra/%{realname}/%{version}/%{realname}-%{version}-source.tar.gz BuildArch: noarch BuildRequires: grfcodec %description OpenGFX is an open source graphics base set for OpenTTD which can completely replace the TTD base set. %prep %setup -q -n %{realname}-%{version}-source #Makefile.local cat >> Makefile.local << EOF DO_NOT_INSTALL_DOCS = 1 DO_NOT_INSTALL_LICENSE = 1 DO_NOT_INSTALL_CHANGELOG = 1 EOF %build %make %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_gamesdatadir}/openttd/data %make install \ INSTALL_DIR=%{buildroot}%{_gamesdatadir}/openttd/data \ DOCDIR=%{buildroot}%{_docdir}/%{name} %check %make check %clean rm -rf %{buildroot} %files %defattr(0644,root,root,0755) %doc docs/*.txt %{_gamesdatadir}/openttd/data/*.grf %{_gamesdatadir}/openttd/data/*.obg %changelog * Sat Apr 02 2011 wally <wally> 0.3.3-1.mga1 + Revision: 79765 - new version 0.3.3 - drop buildroot definition * Sun Jan 09 2011 wally <wally> 0.3.2-2.mga1 + Revision: 1689 - remove old conflicts - imported package openttd-opengfx * Thu Dec 23 2010 Jani Välimaa <wally@mandriva.org> 0.3.2-1mdv2011.0 + Revision: 624012 - new version 0.3.2 * Tue Sep 21 2010 Jani Välimaa <wally@mandriva.org> 0.3.1-3mdv2011.0 + Revision: 580387 - new version 0.3.1 * Fri Sep 10 2010 Jani Välimaa <wally@mandriva.org> 0.3.0-3mdv2011.0 + Revision: 577129 - fix file permissions * Fri Sep 10 2010 Jani Välimaa <wally@mandriva.org> 0.3.0-2mdv2011.0 + Revision: 577076 - don't install docs twice * Fri Sep 10 2010 Jani Välimaa <wally@mandriva.org> 0.3.0-1mdv2011.0 + Revision: 577071 - new version 0.3.0 - fix source url - fix file list * Mon May 03 2010 Jani Välimaa <wally@mandriva.org> 0.2.4-1mdv2011.0 + Revision: 541786 - new version 0.2.4 * Tue Apr 13 2010 Jani Välimaa <wally@mandriva.org> 0.2.3-1mdv2010.1 + Revision: 534620 - import openttd-opengfx