%define gamename openarena %define name %{gamename}-data Summary: An open-source content package for Quake III Arena Name: %{name} Version: 0.8.8 Release: %mkrel 5 Source0: %{gamename}-%{version}.zip License: Creative Commons Group: Games/Shooter Url: http://openarena.ws/ BuildArch: noarch Requires: %{gamename} = %{version} %description OpenArena is an open-source content package for Quake III Arena licensed under the GPL, effectively creating a free stand-alone game. You do not need Quake III Arena to play this game. This package contains data files for OpenArena. %prep %setup -q -n %{gamename}-%{version} chmod 644 CHANGES CREDITS README %build %install install -d %{buildroot}%{_gamesdatadir}/%{gamename}/baseoa install -m644 baseoa/* %{buildroot}%{_gamesdatadir}/%{gamename}/baseoa %files %doc CHANGES CREDITS README %{_gamesdatadir}/%{gamename}/baseoa %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.8.8-5.mga3 + Revision: 361898 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 09 2013 malo <malo> 0.8.8-4.mga3 + Revision: 343811 - updated RPM group * Thu Sep 13 2012 dams <dams> 0.8.8-3.mga3 + Revision: 293633 - add a require on engine game on the data package * Mon Jul 30 2012 dams <dams> 0.8.8-2.mga3 + Revision: 276181 - clean specfile and clean sources to have one file instead of patches (smallest package) * Wed Feb 22 2012 tv <tv> 0.8.8-1.mga2 + Revision: 212436 - new release * Sat Mar 05 2011 tv <tv> 0.8.5-2.mga1 + Revision: 64796 - imported package openarena-data