ALT Linux repositórios
Group :: Jogos/Enigmas
RPM: lmarbles
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: lmarbles
Version: 1.0.7
Release: alt1
Serial: 1
Group: Games/Puzzles
Summary: Atomix-style arcade game
License: GPL
Url: http://lgames.sourceforge.net/index.php?project=LMarbles
Provides: marbles = %serial:%version-%release
Obsoletes: marbles <= %serial:%version-%release
Source0: %name-%version.tar.bz2
#
Source5: %{name}16.xpm
Source6: %{name}32.xpm
Source7: %{name}48.xpm
# Automatically added by buildreq on Fri Jul 02 2004 (-bi)
BuildRequires: XFree86-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/%_iconsdir/%name.xpm
install -D -m644 %SOURCE5 %buildroot/%_miconsdir/%name.xpm
install -D -m644 %SOURCE7 %buildroot/%_liconsdir/%name.xpm
%post
%update_menus
%postun
%clean_menus
%files
%doc AUTHORS ChangeLog TODO src/manual
%attr(2711, root, games) %_gamesbindir/*
%attr(664, games, games) %_localstatedir/games/%name.prfs
%_datadir/games/lmarbles
%_menudir/*
%_iconsdir/*.xpm
%_miconsdir/*
%_liconsdir/*
%doc %_man6dir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0.7
Release: alt1
Serial: 1
Group: Games/Puzzles
Summary: Atomix-style arcade game
License: GPL
Url: http://lgames.sourceforge.net/index.php?project=LMarbles
Provides: marbles = %serial:%version-%release
Obsoletes: marbles <= %serial:%version-%release
Source0: %name-%version.tar.bz2
#
Source5: %{name}16.xpm
Source6: %{name}32.xpm
Source7: %{name}48.xpm
# Automatically added by buildreq on Fri Jul 02 2004 (-bi)
BuildRequires: XFree86-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/%_iconsdir/%name.xpm
install -D -m644 %SOURCE5 %buildroot/%_miconsdir/%name.xpm
install -D -m644 %SOURCE7 %buildroot/%_liconsdir/%name.xpm
%post
%update_menus
%postun
%clean_menus
%files
%doc AUTHORS ChangeLog TODO src/manual
%attr(2711, root, games) %_gamesbindir/*
%attr(664, games, games) %_localstatedir/games/%name.prfs
%_datadir/games/lmarbles
%_menudir/*
%_iconsdir/*.xpm
%_miconsdir/*
%_liconsdir/*
%doc %_man6dir/*
%changelog
…
Todas as alterações você pod ver aqui