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

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

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

Name: cube3d
Version: 2005.08.29
Release: alt1

Summary: First person shooter game
License: Zlib license
Group: Games/Arcade

URL: http://www.cubeengine.com/
Source0: cube_2005_08_29_src.zip
Source1: cube3d.sh
Patch0: cube3d-2005-alt-gcc34.patch

Requires: cube3d-data >= 2005

# Added by buildreq2 on Wed Apr 26 2006

BuildRequires: gcc-c++ libSDL-devel libSDL_image-devel libSDL_mixer-devel unzip xorg-x11-devel zlib-devel

%description
Cube is an open source multiplayer and singleplayer first person shooter
game built on an entirely new and very unconventional engine. Cube is a
landscape-style engine that pretends to be an indoor FPS engine, which
combines very high precision dynamic occlusion culling with a form of
geometric mipmapping on the whole world for dynamic LOD for configurable
fps & graphic detail on most machines. Uses OpenGL & SDL.

%prep
%setup -q -n cube_source
%__rm -rfv lib
find -type f -print0 |xargs -r0 subst -p $'s/\r//g'
%patch0 -p1

%build
cd ./enet
%__chmod +x configure
%configure
%make_build

cd ../src
%make_build CXXOPTFLAGS="%optflags -fsigned-char" CXX='g++ -L%_x11libdir'

%install
%__install -pD -m755 src/cube_client %buildroot%_gamesbindir/cube_client
%__install -pD -m755 src/cube_server %buildroot%_gamesbindir/cube_server
%__install -pD -m755 %SOURCE1 %buildroot%_gamesbindir/cube3d

%__mkdir_p %buildroot%_menudir
cat >%buildroot%_menudir/%name <<EOF
?package(%name): \
needs="x11" section="Games/Arcade" \
title="The Cube shooter game" \
command="%_gamesbindir/cube3d"
EOF

%post
%update_menus

%postun
%clean_menus

%files
%define _customdocdir %_docdir/cube3d
%doc readme.txt
%_gamesbindir/cube_client
%_gamesbindir/cube_server
%_gamesbindir/cube3d
%_menudir/%name

%changelog

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

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