Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17508 | Посещений: 15331492
en ru br
Репозитории ALT

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

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

Name: Stringrolled
Version: 4
Release: alt1.1
Summary: Help a cat and a princess escape a castle
License: Public Domain
Group: Games/Arcade
Source: Stringrolled_4.zip
Source1: 16x16.png
Source2: 24x24.png
Source3: 48x48.png
URL: http://www.pyweek.org/e/Rambo
BuildArch: noarch

# Automatically added by buildreq on Mon Jun 20 2011

# optimized out: python-base
BuildRequires: unzip

%description
Help a cat and a princess escape a castle in this _epic_ platformer.
The game provides oldschool EGA-style graphics and puzzling gameplay.

%prep
%setup -n %name

%build
cat > %name.desktop << at  at  at
[Desktop Entry]
Type=Application
Version=1.0
Name=%name
GenericName=EGA-styled platform puzzle arcade
Comment=%summary
Icon=%name
Exec=%name
Terminal=false
StartupNotify=false
Categories=Game;ArcadeGame;
at  at  at

cat > %name.sh << at  at  at
#!/bin/sh -e
GHOME="\$HOME/.%name"
test -d "\$GHOME" || {
mkdir -p "\$GHOME"
cp -as %python_sitelibdir_noarch/%name "\$GHOME/gamelib"
cp -a %_gamesdatadir/%name "\$GHOME/data"
}
cd "\$GHOME"
python -c "from gamelib import main; main.main()"
at  at  at

cp %SOURCE1 %SOURCE2 %SOURCE3 .

%install
mkdir -p %buildroot%_gamesdatadir
mkdir -p %buildroot%python_sitelibdir_noarch
cp -a data %buildroot%_gamesdatadir/%name
cp -a gamelib %buildroot%python_sitelibdir_noarch/%name
install -Dm755 %name.sh %buildroot%_gamesbindir/%name
for n in 16 24 48; do
 install -D ${n}x${n}.png %buildroot%_iconsdir/hicolor/${n}x${n}/apps/%name.png
done
install -D %name.desktop %buildroot%_desktopdir/%name.desktop

%files
%doc README.txt
%python_sitelibdir_noarch/%name
%_gamesdatadir/%name
%_gamesbindir/%name
%_desktopdir/*
%_iconsdir/hicolor/*/apps/*

%changelog

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

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