Репозиторий Sisyphus
Последнее обновление: 19 июля 2019 | Пакетов: 17689 | Посещений: 14341731
en ru br
Репозитории ALT
S:6.5-alt1
5.1: 4.3-alt1
4.1: 3.2-alt0.M41.2
4.0: 2.7-alt1
3.0: 1.1.0-alt2
www.altlinux.org/Changes

Другие репозитории

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

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

Name: atanks
Version: 6.5
Release: alt1

Summary: Atomic Tanks - multi-player game similar to worms
License: GPL
Group: Games/Arcade

Url: http://atanks.sourceforge.net

Packager: Ilya Mashkin <oddity at altlinux.ru>


Source: %name-%version.tar.gz
Source1: atanks.desktop
Source2: %name.png
Patch: %name-gcc34-fix.patch

# Automatically added by buildreq on Mon Jan 17 2005 (-bi)

BuildRequires: gcc-c++ liballegro-devel libstdc++-devel desktop-file-utils

%description
This is Atomic Tanks, a multi-player game similar to worms which involves firing enormous
weapons to try and destroy the other tanks.

%prep
%setup -q -n %name-%version
#patch0 -p1
%__subst 's,-DDATA_DIR=\\\".\\\",-DDATA_DIR=\\\"%_gamesdatadir/%name\\\",' Makefile

%build
%__make

%install
%__mkdir_p %buildroot{%_gamesbindir,%_gamesdatadir/%name,%_gamesdatadir/%name/sound,%_gamesdatadir/%name/button,%_gamesdatadir/%name/missile,%_gamesdatadir/%name/title,%_gamesdatadir/%name/text,%_gamesdatadir/%name/tank,%_gamesdatadir/%name/misc,%_gamesdatadir/%name/stock,%_gamesdatadir/%name/tankgun}



%__install -p -m 755 atanks %buildroot%_gamesbindir/%name
%__install -p -m 644 *.dat %buildroot%_gamesdatadir/%name/
%__install -p -m 644 *.txt %buildroot%_gamesdatadir/%name/

%__install -p -m 644 button/*.bmp %buildroot%_gamesdatadir/%name/button/
%__install -p -m 644 sound/*.wav %buildroot%_gamesdatadir/%name/sound/

%__install -p -m 644 missile/*.bmp %buildroot%_gamesdatadir/%name/missile/
%__install -p -m 644 title/*.bmp %buildroot%_gamesdatadir/%name/title/
%__install -p -m 644 text/*.txt %buildroot%_gamesdatadir/%name/text/
%__install -p -m 644 tank/*.bmp %buildroot%_gamesdatadir/%name/tank/


%__install -p -m 644 misc/*.bmp %buildroot%_gamesdatadir/%name/misc/
%__install -p -m 644 stock/*.bmp %buildroot%_gamesdatadir/%name/stock/
%__install -p -m 644 tankgun/*.bmp %buildroot%_gamesdatadir/%name/tankgun/

%__mkdir -p %buildroot%_niconsdir
%__install -m 644 %SOURCE2 %buildroot%_niconsdir/

desktop-file-install \
   --mode 0644 \
   --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
   %SOURCE1



%files
%doc README TODO Changelog
%_gamesbindir/*
%dir %_gamesdatadir/%name
%_gamesdatadir/%name/*
%_gamesdatadir/%name/*/*
#_menudir/%name
%_niconsdir/%name.png
%_datadir/applications/*

%changelog

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

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