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

Группа :: Игры/Головоломки
Пакет: jag

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

Name: jag
Version: 0.3.2
Release: alt2
License: GPLv3
Group: Games/Puzzles
Summary: An arcade-puzzle 2D game to break all of the target blocks
URL: http://jag.xlabsoft.com
Source: http://jag.xlabsoft.com/files/%name-%version-src.zip
Source1: http://jag.xlabsoft.com/files/%name-%version-data.zip
# wget -k -p http://jag.xlabsoft.com/about.php
Source2: jag.xlabsoft.com-%version.tar

# Automatically added by buildreq on Sun Jul 12 2009

BuildRequires: gcc-c++ libGL-devel libSDL-devel libSDL_mixer-devel libXrandr-devel libXrender-devel libqt4-devel unzip

Requires: %name-data = %version

%description
JAG is an arcade-puzzle 2D game which runs on Linux and Windows. It is
free and opensource.

The aim of JAG is to break all of the target pieces on each level, and
to do this before the time runs out. Keep doing this until you have
beaten the last level and won the game.

Move game pieces using mouse into matches of 3 or more in a straight
line horizontally or vertically. Doing this on top of the target cells
will break them. The faster targets are removed, the bigger is score.

There are single and double targets. Unlike the single ones, double
targets are removed in two turns.

Some pieces are blocked. Before removing such ones, blocks should be
destroyed. Blocks also can be single or double.

By breaking pieces and targets, you're earning score which can be spent
for applying a special tool. Tools make the life easier as they're
mostly intended for breaking several pieces at a time, including blocks
and targets.

By breaking pieces of the same type, you're also increasing bonus
counters. If you will collect 500 and more items, you can remove all the
same items from the field.

%package data
Group: Games/Puzzles
Summary: Data failes for %name, %summary
Buildarch: noarch
%description data
Data failes for %name, %summary

%prep
%setup -n %name-%version-src
sed -i.orig '
s at /usr/local/bin at %_gamesbindir at g
s at /usr/local/games at %_gamesdatadir at g
s at -lSDLmain at -lSDL -lX11 at g
' Game.pro
sed -i.orig 's at /usr/local/games at %_gamesdatadir at ' main.cpp
unzip %SOURCE1
mv %name-%version-data/data .
tar xf %SOURCE2

mv jag.xlabsoft.com-%version/about.php jag.xlabsoft.com-%version/index.html

%build
qmake-qt4
%make_build

cat > %name.desktop << at  at  at
[Desktop Entry]
Type=Application
Categories=Game;BlocksGame;
Exec=%name
Icon=%name
Terminal=false
Name=JAG
GenericName=Arcade-puzzle 2D game
Comment=%summary
at  at  at

%install
%makeinstall INSTALL_ROOT=%buildroot
install -D %name.desktop %buildroot%_desktopdir/%name.desktop
install -D images/item6.png %buildroot%_liconsdir/%name.png
cp -a data/* %buildroot%_gamesdatadir/%name/

%files
%doc data/help/* jag.xlabsoft.com-%version/*
%_gamesbindir/*
%dir %_gamesdatadir/%name
%_desktopdir/%name.desktop
%_liconsdir/%name.png

%files data
%_gamesdatadir/%name/*


%changelog

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

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