%define oname ufoai Name: %{oname}-data Version: 2.3.1 Release: %mkrel 1 URL: http://ufoai.sourceforge.net/ Source0: %{oname}-%{version}-data.tar Source1: %{oname}-%{version}-data-1maps.pk3 License: GPLv2+ and CC-BY and CC-BY-SA and GFDL and MIT and Public Domain and Creative Commons Sampling Plus Group: Games/Strategy Summary: Data files for %{oname} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch Requires: %{oname} %rename ufo-data %description Data files needed to run %{oname}. %prep %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_gamesdatadir}/%{oname} tar -xf %{SOURCE0} -C %{buildroot}%{_gamesdatadir}/%{oname} install -m644 %{SOURCE1} %{buildroot}%{_gamesdatadir}/%{oname}/base/1maps.pk3 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %dir %{_gamesdatadir}/%{oname} %{_gamesdatadir}/%{oname}/* %changelog * Mon May 09 2011 Johnny A. Solbu 2.3.1-1mdv - New version - License changes. See "LICENSES" file for details. - Bugfix. One of the maps jail soldiers inside the aircraft. * Fri Sep 24 2010 Per Øyvind Karlsen 2.3-2mdv - Spec cleanup * Fri Jul 16 2010 Johnny A. Solbu 2.3-1mdv - Upgraded the package. * Tue Jul 5 2010 Johnny A. Solbu 2.2.1-1mdv - Bugfix. the shellscripts (/usr/bin/{ufo,ufoded}) tried to launch the game from RPM_BUILD_ROOT. * Thu Apr 2 2010 Johnny A. Solbu 2.2.1-1mdv - Added menu entry. * Tue Mar 31 2010 Johnny A. Solbu 2.2.1-1mdv - More spec cleanup, after tip from Per Øyvind Karlsen. * Tue Mar 30 2010 Johnny A. Solbu 2.2.1-1mdv - Upgraded the package. - spec cleanup. * Fri Jan 27 2006 Guillaume Rousse 0.10-4plf - %%mkrel - spec cleanup * Sun Nov 28 2004 Guillaume Rousse 0.10-3plf - fix macros - PLF reason * Tue Sep 28 2004 Guillaume Rousse 0.10-2plf - moved to plf, as it is useless without its data * Tue Mar 02 2004 Per Øyvind Karlsen 0.10-2mdk - buildrequires * Fri Feb 20 2004 Per Øyvind Karlsen 0.10-1mdk - initial mdk release