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

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

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

# NOTE:
# - this software use own GooeyPy with own modifications and new features
#   so it can't use GooeyPy from package (python-GooeyPy.spec)
Name: snowballz
Version: 0.9.5.1

Summary: The fun, free snowballing computer game

Release: alt1.1.qa1

License: GPL v2+
Url: http://joey101.net/snowballz/
Group: Games/Arcade

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://joey101.net/snowballz/files/%name-%version.tar.bz2
Source1: %name.desktop
Patch: %name-util.py.patch

BuildArch: noarch

%description
Take command of your army of penguins as you blaze your path to
victory! March through snow laden forests to conquer new frontiers and
grow your small army. Ambush enemy lines with blasts of freezing
snowballs. But don't neglect your home, invaders are just over the
next snow drift! Gather fish for your cold penguins to munch on as
they warm up in your cozy igloo. It's a snowy world you don't want to
miss!

Snowballz is packed with adventure and fun yearning to be discovered.
Grab your free copy now and play by yourself or duel it out with your
friends. Well, what are you waiting for?

%prep
%setup -q
%patch

%install
install -d %buildroot{%_datadir/%name,%_bindir,%_desktopdir,%_pixmapsdir}

cat <<'EOF' >%buildroot%_bindir/%name
#!/bin/sh
cd %_datadir/%name
exec python snowballz.py $ at
EOF

cp -fr buildings %buildroot%_datadir/%name
cp -fr data %buildroot%_datadir/%name
cp -fr gooeypy   %buildroot%_datadir/%name
cp -fr maps %buildroot%_datadir/%name
cp -fr plugins %buildroot%_datadir/%name
cp -f *.py %buildroot%_datadir/%name

install %SOURCE1 %buildroot%_desktopdir
# workaround for missing icon
install data/igloo.png %buildroot%_pixmapsdir/%name.png

%postun -n snowballz
%clean_menus


%post -n snowballz
%update_menus


%files
%doc AUTHORS README.txt
%_bindir/%name
%_datadir/%name
%_desktopdir/%name.desktop
%_pixmapsdir/%name.png

%changelog

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

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