%define base_name uqm %define name %{base_name}-data %define summary Data for The Ur-Quan Masters %define version 0.3 %define release 2mdk Name: %{name} Version: %{version} Release: %{release} Summary: %{summary} License: GPL Group: Games/Strategy URL: http://sc2.sourceforge.net # (misc) the file is obtained from uqm-0.3-content.zip # on http://sc2.sourceforge.net/downloads.html # should be unzipped in a content dir, and recompressed # do not forget too add the music and the voices # and do not zip the zip files Source: %{base_name}-%{version}-content-full.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch %description The Ur-Quan Masters is a port of the 3DO version of Star Control 2. %prep %setup -c -q # fix perms chmod -R go=u-w * %build %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{_gamesdatadir}/%{base_name} cp -pr content $RPM_BUILD_ROOT%{_gamesdatadir}/%{base_name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_gamesdatadir}/%{base_name}/content/* %changelog * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.3-2mdk - rebuild * Thu Sep 25 2003 Michael Scherer <scherer.michael@free.fr> 0.3-1mdk - 0.3 * Sat Jan 04 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 0.1-2mdk - rebuild * Mon Dec 09 2002 Guillaume Rousse <g.rousse@linux-mandrake.com> 0.1-1mdk - initial mdk package, based on Ville Skyttä <ville.skytta at iki.fi> work