Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37037812
en ru br
Репозитории ALT
S:2.6.5-alt2
5.1: 2.6-alt0.7
4.1: 2.5-alt1
4.0: 2.5-alt1
3.0: 2.5-alt1
www.altlinux.org/Changes

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

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


Name: lbreakout2
Version: 2.5
%define beta %nil
Release: alt1

Group: Games/Arcade
Summary: Breakout-style arcade game
License: GPL
Url: http://lgames.sourceforge.net/

Source0: http://ftp1.sourceforge.net/lgames/%name-%version%beta.tar.bz2
Source5: %name.16.xpm
Source6: %name.32.xpm
Source7: %name.48.xpm

#BuildRequires: aalib esound libalsa2-devel libarts libaudiofile libogg libpng-devel

#BuildRequires: libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_net-devel
#BuildRequires: libslang libsmpeg libvorbis XFree86-libs zlib-devel

# Automatically added by buildreq on Wed Jun 30 2004 (-bi)

BuildRequires: XFree86-libs esound libSDL-devel libSDL_mixer-devel libpng-devel zlib-devel

%description
LBreakout is a classical Breakout game and this means (if you like Breakout ;-)
it is a lot of fun to play!
If you never ever played such a game you can check out the manual for more
information, take a look at the screenshots and last but not least... play it!

%prep
%setup -q -n %name-%version%beta

%build
#%%configure
%configure \
   --bindir=%_gamesbindir \
   --datadir=%_gamesdatadir \
   --localstatedir=%_localstatedir/games \
   --with-docdir=%_docdir/%name-%version/html
%make_build

%install
#install -d %buildroot/%_localstatedir/games
#%makeinstall inst_dir=%buildroot/%_datadir/games/%name hi_dir=%buildroot/%_localstatedir/games doc_dir=%buildroot/%_docdir
%make install \
   DESTDIR=%buildroot \
   doc_dir=%_docdir/%name-%version/

rm -rf %buildroot/%_docdir/%name

rm -rf html
cp -ar docs html
rm -f html/Makefile*

mkdir -p %buildroot/%_menudir
cat <<EOF >%buildroot/%_menudir/%name
?package(%name):command="%name" \
 icon=%name.xpm \
 needs="x11" \
 section="Amusement/Arcade" \
 title="LBreakout 2" \
 longtitle="Breakout-style arcade game"
?package(%name):command="%{name}server" \
 icon=%name.xpm \
 needs="text" \
 section="Amusement/Arcade" \
 title="LBreakout 2 server" \
 longtitle="Breakout2 server for multiplayer game"
EOF

mkdir -p %buildroot/%_iconsdir %buildroot/%_miconsdir %buildroot/%_liconsdir
install -D -m644 %SOURCE6 %buildroot/%_miconsdir/%name.xpm
install -D -m644 %SOURCE5 %buildroot/%_iconsdir/%name.xpm
install -D -m644 %SOURCE7 %buildroot/%_liconsdir/%name.xpm

%post
%update_menus

%postun
%clean_menus

%files
%doc README TODO AUTHORS ChangeLog
%doc html
%attr(2711, root, games) %_gamesbindir/%name
%_gamesbindir/%{name}server
%config(noreplace) %attr(664, games, games) %_localstatedir/games/*
%_datadir/games/%name
%_menudir/%name
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm

%changelog

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

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