Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37861438
en ru br
ALT Linux repositórios
S:145.4_2015_01_05-alt1
5.0: 144-alt2
4.1: 144-alt2
4.0: 144-alt2
3.0: 137-alt3

Group :: Jogos/Arcade
RPM: sdlscav

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009