Репозиторий Sisyphus
Последнее обновление: 25 октября 2020 | Пакетов: 17696 | Посещений: 19478722
en ru br
Репозитории ALT
S:1.2.0.2-alt5.779627cb
5.1: 1.0.4-alt3.svn4660
www.altlinux.org/Changes

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

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

%define origname AssaultCube_v1.2.0.2
%define rev 779627cb
Name: assaultcube
Version: 1.2.0.2
Release: alt5.%rev
Summary: Free first-person-shooter based on the game Cube
Group: Games/Arcade
License: Creative Commons
Packager: Andrew Clark <andyc at altlinux.org>
Url: http://assault.cubers.net/
Source: http://assault.cubers.net/download.html/%origname.tar.bz2
Source1: assaultcube_client.sh
Source2: assaultcube_server.sh
Source3: %name.desktop
Source4: %name.png
Patch1: %name-%version-alt-gcc.patch

# Automatically added by buildreq on Sun Mar 23 2014

# optimized out: libGL-devel libGLU-devel libSDL-devel libX11-devel libcloog-isl4 libogg-devel llvm xorg-xproto-devel
BuildRequires: clang libSDL_image-devel libcurl-devel libopenal-devel libstdc++-devel libvorbis-devel zlib-devel

Requires: %name-data = %version

%description
AssaultCube,formerly ActionCube, is a free first-person-shooter based on
the game Cube. Set in a realistic looking environment, as far as that's
possible with this engine, while gameplay stays fast and arcade. This
game is all about team oriented multiplayer fun.

%prep
%setup -q -n %origname
%patch1 -p2

%build
%add_optflags -D__STRICT_ANSI__
%remove_optflags -frecord-gcc-switches
%make_build -C source/src CFLAGS="%optflags" CXXOPTFLAGS="%optflags" CXXFLAGS="%optflags"

%install
mkdir -p %buildroot%_bindir
install -pD -m 755 %SOURCE1 %buildroot%_bindir/assaultcube_client
install -pD -m 755 %SOURCE2 %buildroot%_bindir/assaultcube_server

mkdir -p %buildroot%_desktopdir
install -pD -m 644 %SOURCE3 %buildroot%_desktopdir/%name.desktop

mkdir -p %buildroot%_liconsdir
install -pD -m 644 %SOURCE4 %buildroot%_liconsdir/%name.png

mkdir -p %buildroot%_docdir/%name/
mkdir -p %buildroot%_gamesdatadir/%name/

mv %_builddir/%origname/source/src/ac_client %buildroot%_bindir/
mv %_builddir/%origname/source/src/ac_server %buildroot%_bindir/
mv %_builddir/%origname/docs %buildroot/%_docdir/%name/
mv %_builddir/%origname/mods %buildroot/%_docdir/%name/
mv %_builddir/%origname/README.html %buildroot/%_docdir/%name/

%files
%_bindir/*
%_docdir/%name
%_desktopdir/%name.desktop
%_liconsdir/*.png

%changelog

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

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