Репозиторий Sisyphus
Последнее обновление: 18 сентября 2019 | Пакетов: 17447 | Посещений: 15122359
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: 137
Release: alt3

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: XFree86-libs libSDL-devel rpm-build

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

Patch0: sdlscav-newsdl.diff
Patch1: sdlscav-Makefile.patch
Patch2: sdlscav-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
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
%make_build

%install
mkdir -p $RPM_BUILD_ROOT%_gamesbindir $RPM_BUILD_ROOT%_gamesdatadir/%name
cp %name $RPM_BUILD_ROOT%_gamesbindir
cp -a data/* $RPM_BUILD_ROOT%_gamesdatadir/%name

mkdir -p $RPM_BUILD_ROOT/%_menudir
cat << EOF > $RPM_BUILD_ROOT/%_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 $RPM_BUILD_ROOT%_miconsdir
mkdir -p $RPM_BUILD_ROOT%_liconsdir
bzcat %SOURCE10 > $RPM_BUILD_ROOT%_miconsdir/%name.xpm
bzcat %SOURCE11 > $RPM_BUILD_ROOT%_iconsdir/%name.xpm
bzcat %SOURCE12 > $RPM_BUILD_ROOT%_liconsdir/%name.xpm

%post
%update_menus

%postun
%clean_menus

%files
%doc README DOC
%attr(0755,root,root) %_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