Репозиторий Sisyphus
Последнее обновление: 26 октября 2021 | Пакетов: 17374 | Посещений: 22162369
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 

%define beta beta-7

Name: lbreakout2
Version: 2.6
Release: alt0.7

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

Url: http://lgames.sourceforge.net
Source0: http://ftp1.sourceforge.net/lgames/%name-%version%beta.tar.gz
Source1: %name.desktop
Source5: %name.16.xpm
Source6: %name.32.xpm
Source7: %name.48.xpm
Packager: Michael Shigorin <mike at altlinux.org>

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

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

BuildRequires: libSDL-devel libSDL_mixer-devel libpng-devel rpm-build-haskell

%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!

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

%description data
This package contains levels for %name

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

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

%install
%make install \
   DESTDIR=%buildroot \
   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 -pD -m644 %SOURCE5 %buildroot/%_miconsdir/%name.xpm
install -pD -m644 %SOURCE6 %buildroot/%_niconsdir/%name.xpm
install -pD -m644 %SOURCE7 %buildroot/%_liconsdir/%name.xpm
install -pD -m644 %SOURCE1 %buildroot/%_desktopdir/%name.desktop

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

%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