Группа :: Игры/Аркады
Пакет: atanks
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: atanks
Version: 1.1.0
Release: alt2
Summary: Atomic Tanks - multi-player game similar to worms
License: GPL
Group: Games/Arcade
Url: http://atanks.sourceforge.net
Source: %name-%version.tar.gz
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
%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/
%post
%update_menus
%postun
%clean_menus
%files
%doc README TODO BUGS Changelog
%_gamesbindir/*
%dir %_gamesdatadir/%name
%_gamesdatadir/%name/*
%_menudir/%name
%_iconsdir/%name.png
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.1.0
Release: alt2
Summary: Atomic Tanks - multi-player game similar to worms
License: GPL
Group: Games/Arcade
Url: http://atanks.sourceforge.net
Source: %name-%version.tar.gz
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
%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/
%post
%update_menus
%postun
%clean_menus
%files
%doc README TODO BUGS Changelog
%_gamesbindir/*
%dir %_gamesdatadir/%name
%_gamesdatadir/%name/*
%_menudir/%name
%_iconsdir/%name.png
%changelog
…
Полный changelog можно просмотреть здесь