Name: megaglest-data Version: 3.7.1 Release: 2%{?dist} Summary: Mega Glest data files License: CC-BY-SA Group: Amusements/Games Url: http://megaglest.org/ Source0: http://downloads.sourceforge.net/project/megaglest/megaglest_%{version}/%{name}-%{version}.tar.xz BuildArch: noarch BuildRequires: cmake Obsoletes: glest-data <= 3.2.2 %description MegaGlest is an open source 3D-real-time strategy game, where you control the armies of one of seven different factions: Tech, Magic, Egyptians, Indians, Norsemen, Persian or Romans. The game is setup in one of 16 naturally looking settings, which -like the unit models- are crafted with great appreciation for detail. Additional game data can be downloaded from within the game at no cost. %prep %setup -q -n megaglest-%{version} %build mkdir -p build pushd build %cmake \ -DMEGAGLEST_ICON_INSTALL_PATH=%{_iconsdir} \ .. make %{?_smp_mflags} popd %install make install DESTDIR=${RPM_BUILD_ROOT} -C build rm -fr ${RPM_BUILD_ROOT}%{_datadir}/megaglest/docs %files %doc docs/* %dir %{_datadir}/megaglest %{_datadir}/megaglest/data/ %{_datadir}/megaglest/glest* %{_datadir}/megaglest/maps/ %{_datadir}/megaglest/megaglest.bmp %{_datadir}/megaglest/scenarios/ %{_datadir}/megaglest/techs/ %{_datadir}/megaglest/tilesets/ %{_datadir}/megaglest/tutorials/ %changelog * Fri Jan 04 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 3.7.1-2 - Rebuild for proper glest-data upgrade (#891875). * Fri Nov 23 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 3.7.1-1 - Update to latest upstream release. * Fri Jul 13 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 3.6.0.3-3 - Make again package owner of base data directory. - Install documentation as %%doc (#817315). * Fri Jul 6 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 3.6.0.3-2 - Mark documentation files as %%doc (#828544). - Use sourceforce link format as specified in the fedora wiki (#828544). * Fri Jun 1 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 3.6.0.3-1 - Initial megaglest-data spec.