%define oname freedroidRPG Summary: A Diablo clone with the Tux as hero in a world of rampaging robots Name: freedroidrpg Version: 0.15.1 Release: %mkrel 8 URL: http://freedroid.sourceforge.net/ Source0: %{oname}-%{version}.tar.gz Source11: %{name}-16x16.png Source12: %{name}-32x32.png Source13: %{name}-48x48.png License: GPLv2+ Group: Games/Adventure BuildRequires: SDL_image-devel BuildRequires: SDL_net-devel BuildRequires: SDL_mixer-devel BuildRequires: SDL_gfx-devel BuildRequires: mesagl-devel BuildRequires: libpng-devel BuildRequires: gettext-devel Provides: %{oname} = %{version}-%{release} Requires: %{name}-data = %{version} %description FreeDroidRPG is a free isometric RPG game inspired by elements of Diablo and Fallout. Originally based on FreeDroid Classic, this project now has vastly deviated from its parent. This game tells the story of a world destroyed by a conflict between the bots and their human masters. Play as Tux in a quest to save the world from the murderous rebel bots who know no mercy. You get to choose which path you wish to follow, and freedom of choice is everywhere in the game. FreeDroidRPG features a complete real time combat system with melee and ranged weapons, fairly similar to the proprietary game Diablo. There also is an innovative system of magic, with features such as forced casting and over 20 spells. You can use over 50 different kinds of items and fight countless enemies on your way to your destiny. We have an advanced dialogue system, which aims at being at least on par with Fallout's. The dialogues in the game represent a large part of the gameplay. Finally, if guns are too inaccurate and blades too messy, you can always take over your enemies and have them fight on your side." %package data Summary: Games data for the FreeDroidRPG game Group: Games/Adventure BuildArch: noarch %description data This package contains data files for FreeDroidRPG game. %prep %setup -q -n %{name}-%{version} rm -rf `find -name .xvpics` %build %configure2_5x --bindir=%{_gamesbindir} --datadir=%{_gamesdatadir} make clean %make %install %makeinstall_std install -d %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=FreedroidRPG Comment=%{Summary} Exec=%{_gamesbindir}/%{oname} Icon=%{name} Terminal=false Type=Application StartupNotify=true Categories=Game;AdventureGame; EOF install %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png install %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png install %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png %files -n %{name} %doc AUTHORS ChangeLog NEWS README %{_datadir}/applications/%{name}.desktop %{_iconsdir}/%{name}.png %{_liconsdir}/%{name}.png %{_miconsdir}/%{name}.png %{_gamesbindir}/* %{_mandir}/man6/%oname.6.xz %files data %{_gamesdatadir}/%{name} %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.15.1-8.mga5 + Revision: 749761 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.15.1-7.mga5 + Revision: 679334 - Mageia 5 Mass Rebuild * Sat Feb 15 2014 luigiwalser <luigiwalser> 0.15.1-6.mga5 + Revision: 591728 - rebuild for SDL_gfx * Sat Oct 19 2013 umeabot <umeabot> 0.15.1-5.mga4 + Revision: 526103 - Mageia 4 Mass Rebuild * Mon Jun 03 2013 fwang <fwang> 0.15.1-4.mga4 + Revision: 435875 - rebuild for new libpng * Fri Jan 11 2013 umeabot <umeabot> 0.15.1-3.mga3 + Revision: 350836 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Jan 11 2013 fwang <fwang> 0.15.1-2.mga3 + Revision: 345442 - rebuild for new SDL_gfx * Wed Apr 11 2012 petos <petos> 0.15.1-1.mga3 + Revision: 230237 - Update to new stable release 0.15.1 * Sat Dec 17 2011 petos <petos> 0.15-0.rc2.1.mga2 + Revision: 182888 - New version 0.15.rc2 * Sat Dec 10 2011 fwang <fwang> 0.15-0.rc1.2.mga2 + Revision: 180215 - split data sub package * Tue Nov 29 2011 petos <petos> 0.15-0.rc1.1.mga2 + Revision: 174087 - imported package freedroidrpg