Репозиторий Sisyphus
Последнее обновление: 19 октября 2019 | Пакетов: 17506 | Посещений: 15290422
en ru br
Репозитории ALT
S:1.9.8-alt1
5.1: 1.9.7-alt2
4.1: 1.9.5-alt1
4.0: 1.9.5-alt1
3.0: 1.9.5-alt1
www.altlinux.org/Changes

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

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

Name: icebreaker
Version: 1.9.5
Release: alt1
License: GPL
Serial: 1

Group: Games/Arcade
Summary: An addictive action-puzzle game involving bouncing penguins

Source: %name-%version.tar.bz2
Source2: %name.16.xpm
Source3: %name.32.xpm
Source4: %name.48.xpm
Patch: icebreaker-makefile.patch

Url: http://www.mattdm.org/icebreaker/
Prefix: %prefix

# Automatically added by buildreq on Tue Feb 04 2003

#BuildRequires: XFree86-libs aalib esound libSDL-devel libSDL_mixer-devel libalsa2 libarts libaudiofile libogg libslang libsmpeg libvorbis

BuildRequires: XFree86-libs aalib esound libSDL-devel libSDL_mixer-devel
BuildRequires: libalsa2 libarts libaudiofile libogg libslang libsmpeg libvorbis

%description
So, uh, there's a bunch of penguins on an iceberg in Antarctica. You have
been selected to catch them so they can be shipped to Finland, where they
are essential to a secret plot for world domination.

%prep
%setup -q
%patch -p1

%build
%define _optlevel 3
%add_optflags %optflags_kernel %optflags_notraceback %optflags_fastmath
%make_build OPTIMIZE="$RPM_OPT_FLAGS -finline-functions" prefix=%prefix highscoredir=%_localstatedir/games

%install
mkdir -p %buildroot/%_gamesbindir
mkdir -p %buildroot/%_gamesdatadir/icebreaker
mkdir -p %buildroot/%_localstatedir/games
install -m 755 icebreaker %buildroot/%_gamesbindir/icebreaker
install -m 644 *.wav *.bmp *.ibt %buildroot/%_gamesdatadir/icebreaker
touch %buildroot/%_localstatedir/games/icebreaker.scores

mkdir -p %buildroot/%_menudir
cat <<EOF >%buildroot/%_menudir/%name
?package(%name):command="%_gamesbindir/icebreaker" \
 icon="icebreaker.xpm" \
 needs="x11" \
 section="Amusement/Arcade" \
 title="IceBreaker" \
 longtitle="Action-puzzle game involving bouncing penguins"
EOF
mkdir -p %buildroot/%_iconsdir %buildroot/%_miconsdir %buildroot/%_liconsdir
install -m 644 %SOURCE2 %buildroot/%_miconsdir/%name.xpm
install -m 644 %SOURCE3 %buildroot/%_iconsdir/%name.xpm
install -m 644 %SOURCE4 %buildroot/%_liconsdir/%name.xpm

%post
%update_menus

%postun
%clean_menus

%files
%doc README TODO LICENSE ChangeLog
%attr(2711,root,games) %_gamesbindir/icebreaker
%_gamesdatadir/icebreaker
%attr(664, games, games) %_localstatedir/games/icebreaker.scores
%_menudir/icebreaker
%_miconsdir/icebreaker.xpm
%_iconsdir/icebreaker.xpm
%_liconsdir/icebreaker.xpm

%changelog

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

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