Sisyphus repository
Last update: 22 may 2019 | SRPMs: 17693 | Visits: 13572379
en ru br
ALT Linux repos
S:1.1.6-alt1
5.0: 1.1.3-alt3
4.1: 1.1.3-alt1
4.0: 1.0.6-alt1.1
3.0: 1.0.6-alt1.1

Group :: Games/Arcade
RPM: toppler

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: toppler
Version: 1.1.6
Release: alt1

Group: Games/Arcade
Summary: Dangerously ascent of the tower.
Summary(ru_RU.UTF8): Опасное восхождение на башню.
Url: http://toppler.sourceforge.net
License: GPL

Source0: %name-%version.tar.gz
Source2: %name.16.png
Source3: %name.32.png
Source4: %name.48.png

Packager: Evgeny V. Shishkov <shev at altlinux.org>

# Automatically added by buildreq on Wed Mar 21 2012

BuildRequires: gcc-c++ libSDL-devel libSDL_mixer-devel zlib-devel

%description
In this game you have to help a cute little green animal switch off some kind of "evil" mechanism.
The "power off switch" is hidden somewhere in high towers. On your way to the target you need to avoid a lot of
strange robots that guard the tower.

%description -l ru_RU.UTF-8
В этой игре вы должны помочь зеленому животному выключить "злой" механизм. "Выключатель" находится на высокой башне.
По пути к цели нужно избегать много странных охранников башни.

%prep
%setup -q

%build
#aclocal; automake; autoconf
%configure \
--bindir=%_gamesbindir \
--datadir=%_gamesdatadir \
--localstatedir=%_localstatedir/games
%make_build

%install
%makeinstall \
   bindir=%buildroot/%_gamesbindir \
   datadir=%buildroot/%_gamesdatadir \
   localedir=%buildroot/%_datadir/locale \
   localstatedir=%buildroot/%_localstatedir/games

install -m755 -d %buildroot%_desktopdir/
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
X-Desktop-File-Install-Version=0.2
Name=Tower Toppler
Type=Application
Comment=A clone of the 'Nebulus' game on old 8 and 16 bit machines.
Comment[ru]=Клон игры 'Nebulus', популярная на старых 8 и 16-битных машинах.
Exec=%_gamesbindir/%name
Icon=%name
Categories=Game;ArcadeGame;
EOF

mkdir -p %buildroot/%_iconsdir/hicolor/{16x16,32x32,48x48}/apps
install -m 644 %SOURCE2 %buildroot/%_iconsdir/hicolor/16x16/apps/%name.png
install -m 644 %SOURCE3 %buildroot/%_iconsdir/hicolor/32x32/apps/%name.png
install -m 644 %SOURCE4 %buildroot/%_iconsdir/hicolor/48x48/apps/%name.png

%find_lang %name

%files -f %name.lang
%_gamesbindir/*
%_gamesdatadir/%name/*
%_desktopdir/%{name}.desktop
%_miconsdir/%name.png
%_niconsdir/%name.png
%_liconsdir/%name.png
%_localstatedir/games/%name
%doc %_man6dir/*
%doc AUTHORS README COPYING ChangeLog NEWS

%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