%define up_version %(echo %{version} | sed -e 's/\\.//' -e 's/\\./_/') Name: flare Version: 0.17.1 Release: %mkrel 2 Summary: Free Libre Action Roleplaying Engine License: GPLv3 Group: Games/Strategy URL: http://clintbellanger.net/rpg/ Source0: https://github.com/downloads/clintbellanger/flare-game/flare_linux_v%{up_version}.tar.gz BuildRequires: SDL-devel BuildRequires: SDL_mixer-devel BuildRequires: SDL_image-devel BuildRequires: SDL_ttf-devel BuildRequires: cmake Requires: %{name}-data = %{version} %description Flare (Free Libre Action Roleplaying Engine) is a simple game engine built to handle a very specific kind of game: single-player 2D action RPGs. Flare is not a reimplementation of an existing game or engine. It is a tribute to and exploration of the action RPG genre. Rather than building a very abstract, robust game engine, the goal of this project is to build several real games and harvest an engine from the common, reusable code. The first game, in progress, is a fantasy dungeon crawl. %package data Summary: Flare game data files Group: Games/Strategy BuildArch: noarch License: CC-BY-SA Requires: %{name} = %{version} %description data Data files for flare game %prep %setup -q -n flare_v%{up_version} %build %cmake %make %install cd build %makeinstall_std %files %doc README %{_gamesbindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %files data %{_gamesdatadir}/%{name} %changelog * Fri Jan 11 2013 umeabot <umeabot> 0.17.1-2.mga3 + Revision: 350478 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Jan 04 2013 akien <akien> 0.17.1-1.mga3 + Revision: 338590 - Update of flare (game+engine) to version 0.17.1. No changes to the packaging. * Sun Jun 10 2012 dams <dams> 0.15.1-2.mga3 + Revision: 259466 - add require on data subpackage to fix broken installation + guillomovitch <guillomovitch> - fix version number * Thu Dec 29 2011 guillomovitch <guillomovitch> 0.15-1.mga2 + Revision: 188609 - imported package flare