Name: hedgewars Version: 0.9.18 Release: %mkrel 2 Summary: Game with heavily armed fighting hedgehogs License: GPLv2 Group: Games/Strategy URL: http://www.hedgewars.org/ Source0: http://download.gna.org/hedgewars/%{name}-src-%{version}-3.tar.bz2 BuildRequires: fpc BuildRequires: qt4-devel BuildRequires: SDL_ttf-devel BuildRequires: SDL_net-devel BuildRequires: SDL_image-devel BuildRequires: cmake BuildRequires: SDL_mixer-devel BuildRequires: openssl-devel BuildRequires: imagemagick BuildRequires: lua5.1-devel BuildRequires: png-devel BuildRequires: ffmpeg-devel Requires: %{name}-data = %{version} %description Each player controls a team of several hedgehogs. During the course of the game, players take turns with one of their hedgehogs. They then use whatever tools and weapons are available to attack and kill the opponents' hedgehogs, thereby winning the game. Hedgehogs may move around the terrain in a variety of ways, normally by walking and jumping but also by using particular tools such as the "Rope" or "Parachute", to move to otherwise inaccessible areas. Each turn is time-limited to ensure that players do not hold up the game with excessive thinking or moving. A large variety of tools and weapons are available for players during the game: Grenade, Cluster Bomb, Bazooka, UFO, Shotgun, Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope, Pneumatic pick, Parachute. Most weapons, when used, cause explosions that deform the terrain, removing circular chunks. The landscape is an island floating on a body of water, or a restricted cave with water at the bottom. A hedgehog dies when it enters the water (either by falling off the island, or through a hole in the bottom of it), it is thrown off either side of the arena or when its health is reduced, typically from contact with explosions, to zero (the damage dealt to the attacked hedgehog or hedgehogs after a player's or CPU turn is shown only when all movement on the battlefield has ceased). %package data Summary: Games data for the hedgewars game Group: Games/Strategy Conflicts: hedgewars < 0.9.18 BuildArch: noarch %description data This package contains data files for hedgewars game. %prep %setup -q -n %{name}-src-%{version} %build %cmake_qt4 %make %install %{__rm} -rf %{buildroot} %makeinstall_std -C build mkdir -p %{buildroot}%{_miconsdir} convert -resize 16x16 misc/%{name}.png %{buildroot}%{_miconsdir}/%{name}.png mkdir -p %{buildroot}%{_liconsdir} convert -resize 48x48 misc/%{name}.png %{buildroot}%{_liconsdir}/%{name}.png mkdir -p %{buildroot}%{_iconsdir} cp misc/%{name}.png %{buildroot}%{_iconsdir} mkdir -p %{buildroot}%{_datadir}/applications/ %{__cat} <<EOF >%{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop [Desktop Entry] Name=Hedgewars Comment=Strategy action game Exec=hedgewars Icon=%{name} Terminal=false Type=Application StartupNotify=true Categories=Game;StrategyGame;Qt; EOF %files %{_bindir}/* %{_datadir}/applications/%{_real_vendor}-%{name}.desktop %{_iconsdir}/* %files data %{_datadir}/%{name} %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.9.18-2.mga3 + Revision: 353151 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 akien <akien> 0.9.18-1.mga3 + Revision: 343089 - Changed BR from lua-devel to lua5.1-devel. - Update to upstream release 0.9.18. Noticeable is the introduction of a Campaign mode. - Full changelog: http://hedgewars.googlecode.com/hg/ChangeLog.txt - BuildRequires added on ffmpeg-devel (new video recording feature) - BuildRequires added on png-devel (for PNG screenshots) + obgr_seneca <obgr_seneca> - Fixed typo in summary * Sat Dec 10 2011 fwang <fwang> 0.9.17-2.mga2 + Revision: 180217 - split data sub package * Mon Nov 21 2011 obgr_seneca <obgr_seneca> 0.9.17-1.mga2 + Revision: 170430 - new version 0.9.17 * Sat Sep 24 2011 obgr_seneca <obgr_seneca> 0.9.16-1.mga2 + Revision: 147393 - new version * Thu Jul 14 2011 obgr_seneca <obgr_seneca> 0.9.15-1.mga2 + Revision: 124071 - new version 0.9.15 - cleaned spec file - imported package hedgewars