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

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

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

Name: wormik
Version: 1.0
Release: alt1.qa4
Summary: Wormik is simple snake-type game
Copyright: GPL
Group: Games/Arcade
Packager: Ilya Mashkin <oddity at altlinux.ru>
Url: http://atrey.karlin.mff.cuni.cz/~rat/wormik/
Source: wormik-1.0.tar.gz
Source2: %name.png

Requires: freefont-fonts-ttf

# Automatically added by buildreq on Mon Jul 12 2004 (-bi)

BuildRequires: esound freetype2 gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel libpng-devel libstdc++-devel zlib-devel

%description
Wormik is an implementation of the classic worm game.
The player must collect food, which makes the worm grow.
The only interesting anomaly is that it can eat itself.

%prep
%setup -qn %name
%__subst "s/courbd.ttf/FreeMonoBold.ttf/" gui_sdl.cxx

%build
%__make

%install
mkdir -p %buildroot%_gamesbindir %buildroot%_gamesdatadir/%name
install -m 755 %name %buildroot%_gamesbindir/
install -m 644 %{name}_*.png %buildroot%_gamesdatadir/%name/
mkdir -p %buildroot%_niconsdir
install -m 644 %SOURCE2 %buildroot%_niconsdir/

#menu support

mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=Wormik
Comment=Wormik - simple snake-type game
Icon=%{name}
Exec=%_gamesbindir/%name
#Exec=%name
Terminal=false
Categories=Game;ArcadeGame;
EOF


%files
%_gamesbindir/%name
%_gamesdatadir/%name/*
%_desktopdir/%{name}.desktop
%_niconsdir/%name.png

%changelog

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

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