Sisyphus
: 6 2020 | : 17673 | : 19002537
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.6.5
Release: alt2

Summary: Breakout-style arcade game
License: GPL
Group: Games/Arcade

Url: http://lgames.sourceforge.net
Source0: http://ftp1.sourceforge.net/lgames/%name-%version.tar.gz
Source1: %name.desktop
Source2: %name.watch
Source5: %name.16.xpm
Source6: %name.32.xpm
Source7: %name.48.xpm
Source8: lbreakout2.6
Source9: lbreakout2server.6
Patch0: 10-ball-turbo-key-pref.patch
Patch1: spelling-fixes.patch
Packager: Ilya Mashkin <oddity at altlinux.ru>

Requires: %name-data = %version-%release

Summary(ru_RU.UTF-8): игра отбивай-и-разбивай со стильной графикой

# Automatically added by buildreq on Tue Sep 09 2008 (-bi)

BuildRequires: libSDL-devel libSDL_mixer-devel libpng-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!

%description -l ru_RU.UTF-8
lbreakout2 -- игра, подобная классическим играм жанра breakout и xboing,
с улучшенными графическими эффектами. В нижней части экрана вы управляете
битой и вам нужно отбивать шарики так, чтобы они попали в находящиеся
сверху блоки и разбили их.

Код lbreakout2 отличается от lbreakout. Те, кто играл в lbreakout,
возможно, захотят установить и эту версию.

%package data
Summary: %name levels
License: GPL
Group: Games/Arcade
BuildArch: noarch

%description data
This package contains levels for %name

%prep
%setup
%patch0 -p1
%patch1 -p1

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

%install
%makeinstall_std doc_dir=%_docdir/%name-%version/

rm -rf %buildroot/%_docdir/%name
rm -f %buildroot%_bindir/%name{,server}

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

install -pDm644 %SOURCE1 %buildroot/%_desktopdir/%name.desktop
install -pDm644 %SOURCE5 %buildroot/%_miconsdir/%name.xpm
install -pDm644 %SOURCE6 %buildroot/%_niconsdir/%name.xpm
install -pDm644 %SOURCE7 %buildroot/%_liconsdir/%name.xpm
install -pDm644 %SOURCE8 %buildroot/%_man6dir/lbreakout2.6
install -pDm644 %SOURCE9 %buildroot/%_man6dir/lbreakout2server.6

mkdir -p %buildroot%_datadir/locale
mv %buildroot%_gamesdatadir/locale/* %buildroot%_datadir/locale/
%find_lang %name

%files -f %name.lang
%doc README TODO AUTHORS ChangeLog
%doc html
%attr(2711,root,games) %_gamesbindir/%name
%_gamesbindir/%{name}server
%config(noreplace) %attr(664,games,games) %_localstatedir/games/*
%_desktopdir/%name.desktop
%_miconsdir/%name.xpm
%_niconsdir/%name.xpm
%_liconsdir/%name.xpm
%_datadir/games/applications/%name.desktop
%_datadir/games/icons/*48.gif
%_man6dir/*

%files data
%_datadir/games/%name

# TODO:

# - add .desktop for server (NB: http://secunia.com/advisories/9134/)

%changelog

changelog

 
: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
: Michael Shigorin