%define name freedroidrpg %define oname freedroidRPG %define version 0.15 %define rcver rc2 %define release %mkrel 0.%{rcver}.1 %define Summary A Diablo clone with the Tux as hero in a world of rampaging robots Summary: %{Summary} Name: %{name} Version: %{version} Release: %{release} URL: http://freedroid.sourceforge.net/ Source0: %{name}-%{version}%{rcver}.tar.gz Source11: %{name}-16x16.png Source12: %{name}-32x32.png Source13: %{name}-48x48.png License: GPLv2+ Group: Games/Adventure BuildRequires: SDL_image-devel SDL_net-devel SDL_mixer-devel 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}%{rcver} 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 * 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