Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37510470
en ru br
ALT Linux repositórios
S:1.0.8-alt1.qa1
5.0: 1.0.7-alt1.1
4.1: 1.0.7-alt1
4.0: 1.0.7-alt1
3.0: 1.0.7-alt1

Group :: Jogos/Enigmas
RPM: lmarbles

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: lmarbles
Version: 1.0.8
Release: alt1
Serial: 1

Group: Games/Puzzles
Summary: Atomix-style arcade game
License: GPL
Url: http://lgames.sourceforge.net/index.php?project=LMarbles
Packager: Ilya Mashkin <oddity at altlinux.ru>
Provides: marbles = %serial:%version-%release
Obsoletes: marbles <= %serial:%version-%release

Source0: %name-%version.tar.gz
#
Source5: %{name}16.xpm
Source6: %{name}32.xpm
Source7: %{name}48.xpm

# Automatically added by buildreq on Fri Jul 02 2004 (-bi)

BuildRequires: xorg-libs esound libSDL-devel libSDL_mixer-devel

%description
Marbles is very similar to Atomix and was heavily inspired by it.
Goal is to create a more or less complex figure out of single
marbles within a time limit to reach the next level.
Sounds easy? Well, there is a problem: If a marble starts to move it
will not stop until it hits a wall or marble. And to make it even
more interesting there are obstacles like arrows,
crumbling walls and teleports!

%prep
%setup -q


%build
%configure --bindir=%_gamesbindir --datadir=%_gamesdatadir --localstatedir=%_localstatedir/games
%make_build

%install
%make install DESTDIR=%buildroot
touch %buildroot/%_localstatedir/games/%name.prfs

mkdir -p %buildroot/%_menudir/
cat > %buildroot/%_menudir/%name <<__EOF__
?package(%name):needs="x11" \
                 section="Amusement/Puzzles" \
                 title="Marbles" \
                 longtitle="Atomix-style arcade game" \
                 command="%name" \
                 icon="%name.xpm"
__EOF__

install -D -m644 %SOURCE6 %buildroot/%_niconsdir/%name.xpm
install -D -m644 %SOURCE5 %buildroot/%_miconsdir/%name.xpm
install -D -m644 %SOURCE7 %buildroot/%_liconsdir/%name.xpm


%files
%doc AUTHORS ChangeLog TODO src/manual
%attr(2711, root, games) %_gamesbindir/*
%attr(664, games, games) %_localstatedir/games/%name.prfs
%_datadir/games/lmarbles
%_datadir/games/applications/%name.desktop
%_datadir/games/icons/lmarbles48.gif
%_menudir/*
%_niconsdir/*.xpm
%_miconsdir/*
%_liconsdir/*
%doc %_man6dir/*

%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