Репозиторий Sisyphus
Последнее обновление: 18 апреля 2019 | Пакетов: 17673 | Посещений: 13426836
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 

# This spec is backported to ALTLinux 4.1 automatically by rpmbh script. Do not edit it.
Name: atanks
Version: 3.2
Release: alt0.M41.2

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 xorg-x11-libs desktop-file-utils

BuildRequires: rpm-build-compat >= 0.95

%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
#patch0 -p1
%__subst 's,-DDATA_DIR=\\\".\\\",-DDATA_DIR=\\\"%_gamesdatadir/%name\\\",' src/Makefile

%build
%__make

%install
%__mkdir_p %buildroot{%_gamesbindir,%_gamesdatadir/%name}

%__install -p -m 755 atanks %buildroot%_gamesbindir/%name
%__install -p -m 644 *.dat %buildroot%_gamesdatadir/%name/
%__install -p -m 644 *.txt %buildroot%_gamesdatadir/%name/
#menu support
%__mkdir -p %buildroot%_menudir
%__cat > %buildroot%_menudir/%name << EOF
?package(%name):command="%name" needs="x11" \
icon="%name.png" section="Amusement/Arcade" title="Atomic Tanks" \
longtitle="Atomic Tanks - worms like game"
EOF
%__mkdir -p %buildroot%_iconsdir
%__install -m 644 %SOURCE2 %buildroot%_iconsdir/

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



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

%changelog

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

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