%define majver %(echo %version | cut -d. -f1-2) Name: megaglest-data Version: 3.13.0 Release: 1mamba Summary: Data files for the game MegaGlest Group: Applications/Games Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://glest.org Source0: https://github.com/MegaGlest/megaglest-data.git/%{version}/megaglest-data-%{version}.tar.bz2 Source1: glest-get-translations.sh License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: ImageMagick Requires: megaglest => %{majver} Requires: megaglest <= %{majver}.255 Provides: glest-data Obsoletes: glest-data BuildRoot: %{_tmppath}/%{name}-%{version}-root %description MegaGlest is a free 3D real time strategy game, that can be modified using XML and a set of tools. This package contains the data files for the game. %prep %setup -q %build %cmake -d build %install %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{_datadir}/megaglest %{_datadir}/megaglest/* %{_datadir}/appdata/megaglest*.appdata.xml %{_datadir}/applications/megaglest*.desktop %{_datadir}/menu/megaglest %{_datadir}/pixmaps/megaglest.* %changelog * Thu Mar 09 2017 Automatic Build System 3.13.0-1mamba - automatic version update by autodist * Fri May 20 2016 Silvan Calarco 3.12.0-1mamba - update to 3.12.0 * Sun Mar 15 2015 Silvan Calarco 3.9.0-1mamba - update to 3.9.0 * Mon Jul 29 2013 Silvan Calarco 3.7.1-1mamba - update to 3.7.1 * Mon Jul 06 2009 Silvan Calarco 3.2.1-2mamba - make version requirement for glest less strict * Thu Apr 23 2009 Silvan Calarco 3.2.1-1mamba - update to 3.2.1 * Wed Jul 30 2008 gil 3.1.2-1mamba - package created by autospec