Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37604536
en ru br
Репозитории ALT

Группа :: Игры/Стратегия
Пакет: castle-combat

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

Name: castle-combat
Version: 0.8.1
Release: alt1
License: GPL
Group: Games/Strategy
Summary: castle-combat - enclose land and destroy your opponent's castle
Packager: Fr. Br. George <george at altlinux.ru>
Source: http://downloads.sourceforge.net/%name/%name-%version.tar.gz
Source1: %name.desktop
Url: http://user.cs.tu-berlin.de/~karlb/castle-combat/
BuildArch: noarch

# Automatically added by buildreq on Sun Jan 04 2009

BuildRequires: python-devel ImageMagick

%add_python_req_skip AppKit PyObjCTools

%description
Castle-Combat is a clone of the old arcade game Rampart. Up to four players (or more in future versions) build castle walls, place cannons inside these walls, and shoot at the walls of their enemy(s). If a player cannot build a complete wall around one of his castles, he loses. The last surviving player wins.

%prep
%setup -q

%build
python setup.py build
echo "#!/bin/sh
cd %_gamesdatadir/%name
python %name.py" > %name.sh
convert -bordercolor transparent -border 4 data/gfx/cannon0001.png 48.png
convert -bordercolor transparent -border 2 data/gfx/bigcannon0001.png 64.png

%install
install -D %name.py %buildroot/%_gamesdatadir/%name/%name.py
install -D -m755 %name.sh %buildroot/%_gamesbindir/%name
install -D %SOURCE1 %buildroot%_desktopdir/%name.desktop
install -D 48.png %buildroot%_liconsdir/%name.png
install -D 64.png %buildroot%_iconsdir/hicolor/64x64/apps/%name.png
cp -a build/lib/src %buildroot/%_gamesdatadir/%name/
cp -a data %buildroot/%_gamesdatadir/%name/

%files
%doc README TODO
%attr(755,root,root) %_gamesbindir/*
%dir %_gamesdatadir/%name
%_gamesdatadir/%name/*
%_desktopdir/%name.desktop
%_liconsdir/%name.png
%_iconsdir/hicolor/64x64/apps/%name.png

%changelog

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

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