Репозиторий Sisyphus
Последнее обновление: 7 июля 2020 | Пакетов: 17687 | Посещений: 18844981
en ru br
Репозитории ALT
S:145.1_2010_11_5-alt1
5.1: 144-alt2
4.1: 144-alt2
4.0: 144-alt2
3.0: 137-alt3
www.altlinux.org/Changes

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

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


Name: sdlscav
Version: 144
Release: alt2

Group: Games/Arcade
Summary: Cool arcade/thinking game very much like Lode Runner
Url: http://www.xdr.com/dash/scavenger.html
License: GPL

# Automatically added by buildreq on Thu Dec 25 2003 (-bi)

#BuildRequires: XFree86-libs esound libSDL-devel
BuildRequires: xorg-x11-devel libSDL-devel rpm-build

Source: http://www.xdr.com/dash/%name-%version.tar.bz2
Source10: %name.16.xpm
Source11: %name.32.xpm
Source12: %name.48.xpm

Patch1: sdlscav-144-datapath.patch

%description
SDL Scavenger is a cool arcade/thinking game very much like Lode Runner.
You've got to run around and collect objects while avoiding enemies. Some
objects are buried and you've got to dig down to get at them. It's an
addictive game and some of the levels are devilishly (cruelly) complicated
to solve.

%prep
%setup -q
%patch1 -p1
[ -f data/regulargui.lbm -a ! -f data/regularguy.lbm ] ||
   mv data/regularguy.lbm data/regulargui.lbm

%build
%make_build CFLAGS="%optflags `sdl-config --cflags`" -C src

%install
mkdir -p %buildroot%_gamesbindir %buildroot%_gamesdatadir/%name
install -m 0755 src/%name %buildroot%_gamesbindir/
for f in data/*
do
   install -m 0644 $f %buildroot%_gamesdatadir/%name/
done

mkdir -p %buildroot/%_menudir
cat << EOF > %buildroot/%_menudir/%name
?package(%name):command="soundwrapper %name" icon="%name.xpm" \
 needs="x11" section="Amusement/Arcade" title="SDL Scavenger" \
 longtitle="Cool arcade/thinking game very much like Lode Runner"
EOF

mkdir -p %buildroot%_miconsdir
mkdir -p %buildroot%_liconsdir
install -m 0644 %SOURCE10 %buildroot%_miconsdir/%name.xpm
install -m 0644 %SOURCE11 %buildroot%_iconsdir/%name.xpm
install -m 0644 %SOURCE12 %buildroot%_liconsdir/%name.xpm

%post
%update_menus

%postun
%clean_menus

%files
%doc README DOC
%_gamesbindir/*
%_gamesdatadir/%name
%_menudir/%name
%_miconsdir/%name.xpm
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm

%changelog

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

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