Summary: Game with heavyly armed figthing hedgehogs Name: hedgewars Version: 0.9.13 Release: %mkrel 1 License: GPLv2 Group: Games/Strategy URL: http://www.hedgewars.org/ Source: http://download.gna.org/hedgewars/%{name}-src-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: fpc qt4-devel SDL_ttf-devel SDL_net-devel BuildRequires: SDL_image-devel cmake SDL_mixer-devel BuildRequires: openssl-devel BuildRequires: imagemagick BuildRequires: lua-devel %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). %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/mandriva-%{name}.desktop [Desktop Entry] Name=%name Comment=Strategy action game Exec=hedgewars Icon=%name Terminal=false Type=Application StartupNotify=true Categories=Game;ActionGame;StrategyGame;Qt; EOF %clean %{__rm} -rf %{buildroot} %if %mdkversion < 200900 %post %{update_menus} %endif %if %mdkversion < 200900 %postun %{clean_menus} %endif %files %defattr(-, root, root, 0755) %_datadir/%{name} %_bindir/* %_datadir/applications/*.desktop %_iconsdir/* %changelog * Sun Apr 04 2010 Jani Välimaa <wally@mandriva.org> 0.9.13-1mdv2010.1 + Revision: 531441 - add missing BR - new version 0.9.13 * Mon Nov 09 2009 Funda Wang <fwang@mandriva.org> 0.9.12-1mdv2010.1 + Revision: 463331 - New version 0.9.12 * Sat May 30 2009 Frederik Himpe <fhimpe@mandriva.org> 0.9.11-1mdv2010.0 + Revision: 381531 - update to new version 0.9.11 * Sat May 16 2009 Samuel Verschelde <stormi@mandriva.org> 0.9.10-3mdv2010.0 + Revision: 376438 - fix icon size * Sat May 16 2009 Samuel Verschelde <stormi@mandriva.org> 0.9.10-2mdv2010.0 + Revision: 376395 - rebuild * Sat May 16 2009 Samuel Verschelde <stormi@mandriva.org> 0.9.10-1mdv2010.0 + Revision: 376358 - add missing buildrequires - version 0.9.10 - add missing icons * Sat Mar 21 2009 Emmanuel Andry <eandry@mandriva.org> 0.9.9-1mdv2009.1 + Revision: 360006 - New version 0.9.9 * Tue Jan 13 2009 Zombie Ryushu <ryushu@mandriva.org> 0.9.8-1mdv2009.1 + Revision: 328973 - New Version 0.9.8 * Mon Jan 05 2009 trem <trem@mandriva.org> 0.9.7-1mdv2009.1 + Revision: 325153 - new release 0.9.7 * Sun Aug 10 2008 Funda Wang <fwang@mandriva.org> 0.9.6-1mdv2009.0 + Revision: 270331 - add openssl-devel as BR - clearify license - New version 0.9.6 + Thierry Vignaud <tv@mandriva.org> - rebuild + Pixel <pixel@mandriva.com> - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.8.1-2mdv2008.1 + Revision: 140746 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request + Emmanuel Andry <eandry@mandriva.org> - drop x-mandrivalinux tag * Wed Jan 24 2007 Michael Scherer <misc@mandriva.org> 0.8.1-1mdv2007.0 + Revision: 112942 - Import hedgewars