%define gamename vdrift %define name %{gamename}-data %define version 0.2 %define fulldate 2008-03-11 %define date %(echo %{fulldate} | sed -e 's/-//g') %define release %mkrel 2.%{date}.1 Summary: Data files for the VDrift driving simulation Name: %{name} Version: %{version} Release: %{release} Source0: %{gamename}-%{fulldate}-src.tar.bz2 License: GPL Group: Games/Arcade Url: http://vdrift.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch Requires: %{gamename} %description VDrift is a cross-platform, open source driving simulation made with drift racing in mind. This package contains data files for VDrift. %prep %setup -q -n %{gamename}-%{fulldate}-src find -type f -name SConscript -exec rm {} \; %build %install rm -rf %{buildroot} install -d %{buildroot}%{_gamesdatadir}/%{gamename} cp -a data %{buildroot}%{_gamesdatadir}/%{gamename} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_gamesdatadir}/%{gamename}/data/* %changelog * Tue Mar 11 2008 Antoine Ginies <aginies@mandriva.com> 0.2-0.20080311.1mdv2008.1 + Revision: 186822 - new vdrift-data snapshot - remove old source * Tue Mar 11 2008 Antoine Ginies <aginies@mandriva.com> 0.2-0.20071226.2mdv2008.1 + Revision: 185241 - new snapshot - new version * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.2-0.20070323.2mdv2008.1 + Revision: 136557 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Sep 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.2-0.20070323.2mdv2008.0 + Revision: 90346 - rebuild * Tue May 01 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.2-0.20070323.1mdv2008.0 + Revision: 20015 - new version * Sun Nov 05 2006 Olivier Blin <oblin@mandriva.com> 0.1-0.20061006mdv2007.0 + Revision: 76797 - initial import - rename as vdrift-data - Create vdrfit-data