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

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

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

Name: ltris
Version: 1.0.7
Release: alt1
Serial: 1

Group: Games/Arcade
Summary: Nice tetris clone
URL: http://lgames.sourceforge.net/index.php?project=LTris
License: GPL

Source0: http://download.sourceforge.net/lgames/ltris-%version.tar.bz2

#BuildRequires: XFree86-libs aalib esound libSDL-devel libSDL_mixer-devel

#BuildRequires: libalsa libarts libaudiofile libogg libslang libsmpeg libvorbis

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

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

%description
o Tetris clone using SDL
o Sound
o Menu
o Controls can be redefined
o Block preview
o Starting level between 0 and 9
o Various backgrounds
o HighScores
o Nice graphics
o Smooth gameplay
o Cool effects (transparency, animations)
o Two player mode
o Two game modes

%prep
%setup -q

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

%install
%make install DESTDIR=%buildroot

install -D -m644 icons/%{name}16.xpm $RPM_BUILD_ROOT%_miconsdir/%name.xpm
install -D -m644 icons/%{name}32.xpm $RPM_BUILD_ROOT%_iconsdir/%name.xpm
install -D -m644 icons/%{name}48.xpm $RPM_BUILD_ROOT%_liconsdir/%name.xpm

mkdir -p $RPM_BUILD_ROOT%_menudir
cat <<EOF >$RPM_BUILD_ROOT%_menudir/ltris

?package(%name):command="%name" \
 icon="%name.xpm" \
 needs="x11" \
 section="Amusement/Arcade" \
 title="LTris" \
 longtitle="Nice tetris clone"
EOF

%post
%update_menus

%postun
%clean_menus

%files
%doc README AUTHORS ChangeLog TODO
%attr(2711, root, games) %_gamesbindir/*
%attr(-, games, games) %_localstatedir/games/%name.hscr
%_gamesdatadir/%name
%_menudir/%name
%_iconsdir/%name.xpm
%_miconsdir/%name.xpm
%_liconsdir/%name.xpm

%changelog

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

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