Репозиторий Sisyphus
Последнее обновление: 28 февраля 2020 | Пакетов: 17502 | Посещений: 17541127
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

Summary: Catch the bombs
License: GPL
Url: http://newbreedsoftware.com/madbomber
Group: Games/Arcade
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: XFree86-libs aalib esound libSDL-devel libSDL_image-devel libSDL_mixer-devel libalsa2 libarts libaudiofile libjpeg libogg libslang 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 -pm644 data/images/icon.png $RPM_BUILD_ROOT%_miconsdir/madbomber.png
install -D -m644 data/images/icon.png $RPM_BUILD_ROOT%_iconsdir/madbomber.png
install -D -m644 data/images/icon.png $RPM_BUILD_ROOT%_liconsdir/madbomber.png

mkdir -p $RPM_BUILD_ROOT%_menudir
cat <<EOF >$RPM_BUILD_ROOT%_menudir/%name
?package(%name):command="%_bindir/%name" \
 icon="madbomber.png" \
 needs="x11" \
 section="Amusement/Arcade" \
 title="Mad Bomber"
EOF

%post
%update_menus

%postun
%clean_menus

%files
%doc AUTHORS.txt CHANGES.txt README.txt
%_bindir/*
%_datadir/%name
%_miconsdir/*.png
%_iconsdir/*.png
%_liconsdir/*.png
%_menudir/%name

%changelog

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

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