%define version 1.11.0 %define release %mkrel 4 Name: crossfire-maps Version: %{version} Release: %{release} Summary: Map files for Crossfire, a graphical adventure game Group: Games/Adventure License: GPL URL: http://crossfire.real-time.com/ Source0: http://prdownloads.sourceforge.net/crossfire/crossfire-%{version}.maps.tar.bz2 Source1: crossfire-maps.README.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Buildarch: noarch %description Crossfire is a highly graphical role-playing adventure game with characteristics reminiscent of rogue, nethack, omega, and gauntlet. It has multiplayer capability and presently runs under X11. This package contains map files necessary for crossfire server to run. If you just want to play crossfire only, you don't need this package. %prep # since the archive is quite large and takes long time to decompress, so # unpack it during %%install to save some time %setup -q -T -c bzip2 -dc %SOURCE1 > README %build %install [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ] || rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_gamesdatadir}/crossfire tar --bzip2 -xf %SOURCE0 -C $RPM_BUILD_ROOT%{_gamesdatadir}/crossfire/ # cleanup find $RPM_BUILD_ROOT%{_gamesdatadir}/crossfire -name '.#*' -type f -print0 | xargs -r -0 rm -f %clean [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ] || rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) %doc README %{_gamesdatadir}/crossfire %changelog * Wed Sep 02 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.11.0-4mdv2010.0 + Revision: 425298 - rebuild * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.11.0-3mdv2009.0 + Revision: 243733 - rebuild * Sun Feb 24 2008 Emmanuel Andry <eandry@mandriva.org> 1.11.0-1mdv2008.1 + Revision: 174492 - New version + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Sep 02 2007 Emmanuel Andry <eandry@mandriva.org> 1.10.0-1mdv2008.0 + Revision: 78308 - New version * Sun Aug 06 2006 Emmanuel Andry <eandry@mandriva.org> 1.9.1-2mdv2007.0 - xdg menu * Sat Jul 08 2006 Emmanuel Andry <eandry@mandriva.org> 1.9.1-1mdv2007.0 - New release 1.9.1 * Sun May 14 2006 Emmanuel Andry <eandry@mandriva.org> 1.9.0-1mdk - New release 1.9.0 - mkrel * Fri Aug 19 2005 Abel Cheung <deaddog@mandriva.org> 1.8.0-1mdk - New release 1.8.0 * Tue Feb 08 2005 Abel Cheung <deaddog@mandrake.org> 1.7.0-1mdk - New version