Sisyphus repository
Last update: 5 february 2023 | SRPMs: 18173 | Visits: 26646111
en ru br
ALT Linux repos
S:1.0.2-alt1
5.0: 0.9.9-alt2
4.1: 0.9.9-alt0.M41.1

Group :: Games/Strategy
RPM: hedgewars

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: hedgewars
Version: 0.9.9
Release: alt2

Summary: Game with heavily armed fighting hedgehogs
License: GPL
Group: Games/Strategy
URL: http://www.hedgewars.org/

Packager: Ilya Mashkin <oddity at altlinux.ru>

Source0: %name-src-%version.tar.bz2

# Automatically added by buildreq on Fri Mar 13 2009


BuildRequires: gcc-c++ cmake libqt4-devel libSDL-devel libSDL_ttf-devel libSDL_mixer-devel libSDL_image-devel libSDL_net-devel fpc
BuildRequires: ghc-time ghc-stm ghc-regex-base ghc-mtl ghc-binary ghc-regex-compat ghc-parsec ghc ghc-utf8-string ghc-network ghc-regex-posix

%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
PATH="/usr/lib/qt4/bin/:$PATH" cmake -DCMAKE_INSTALL_PREFIX="%_prefix" -DWITH_SERVER=1 -DDATA_INSTALL_DIR=%_datadir  CMakeLists.txt
%make_build

%install
%make_install DESTDIR=%buildroot install

mkdir -p %buildroot%_datadir/applications/

cat <<EOF >%buildroot%_datadir/applications/%name.desktop
[Desktop Entry]
Name=%name
Comment=Strategy action game
Exec=hedgewars
Terminal=false
Type=Application
StartupNotify=true
Categories=Game;ActionGame;StrategyGame;
EOF


%files
%doc README
%_bindir/*
%_datadir/%name/
%_datadir/applications/*.desktop

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin