Репозиторий Sisyphus
Последнее обновление: 12 декабря 2019 | Пакетов: 17493 | Посещений: 16062143
en ru br
Репозитории ALT
S:0.2.5-alt1.qa4
5.1: 0.2.5-alt1.1
4.1: 0.2.5-alt1
4.0: 0.2.5-alt1
3.0: 0.2.5-alt1
www.altlinux.org/Changes

Группа :: Игры/Аркады
Пакет: madbomber

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: madbomber
Version: 0.2.5
Release: alt1.qa3

Summary: Catch the bombs
License: GPL
Url: http://newbreedsoftware.com/madbomber
Group: Games/Arcade
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source0: ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/madbomber-%version.tar.bz2
Patch: %name-0.1.8-fix-CFLAGS.patch.bz2
Patch1: %name-0.2.4-add-keypad-keys.patch.bz2

# Automatically added by buildreq on Втр Мар 25 2003

BuildRequires: aalib esound libSDL-devel libSDL_image-devel libSDL_mixer-devel libalsa2 libaudiofile libjpeg libogg libslang2 libsmpeg libtiff libvorbis

%description
The Mad Bomber is loose in the city and he's dropping bombs everywhere! It's
your job to catch them before they hit the ground and explode. Luckily, you have
a set of trusty buckets to extinguish them with.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%define _optlevel 3
%add_optflags %optflags_kernel %optflags_notraceback %optflags_fastmath
%make_build CFLAGS="%optflags" BIN_PREFIX=%_bindir DATA_PREFIX=%_datadir/%name/

%install
install -D %name $RPM_BUILD_ROOT%_bindir/%name
install -d $RPM_BUILD_ROOT%_datadir/%name
cp -a data/* $RPM_BUILD_ROOT%_datadir/%name

install -D -m644 data/images/icon.png $RPM_BUILD_ROOT%_liconsdir/madbomber.png
#mkdir -p $RPM_BUILD_ROOT%_miconsdir/ $RPM_BUILD_ROOT%_niconsdir/
#convert -resize 16x16 data/images/icon.png $RPM_BUILD_ROOT%_miconsdir/madbomber.png
#convert -resize 32x32 data/images/icon.png $RPM_BUILD_ROOT%_niconsdir/madbomber.png

mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=Mad Bomber
Comment=%summary
Icon=%{name}
#Exec=%_gamesbindir/%name
Exec=%name
Terminal=false
Categories=Game;ArcadeGame;
EOF

%files
%doc AUTHORS.txt CHANGES.txt README.txt
%_bindir/*
%_datadir/%name
#%_miconsdir/*.png
#%_niconsdir/*.png
%_liconsdir/*.png
%_desktopdir/%{name}.desktop

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin