Репозиторий Sisyphus
Последнее обновление: 22 октября 2019 | Пакетов: 17517 | Посещений: 15411853
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libbox2d

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

Name: libbox2d
Version: 2.1.2
Release: alt2
Summary: A 2D physics engine for games
Group: System/Libraries
License: BSD-like
URL: http://www.box2d.org
%define FName Box2D
%define VName %{FName}_v%version
Source: http://box2d.googlecode.com/files/%VName.zip
Patch: Box2D_CMake.patch

# Automatically added by buildreq on Tue Jul 06 2010

BuildRequires: cmake gcc-c++ libGLUT-devel libXScrnSaver-devel libXau-devel libXcomposite-devel libXcursor-devel libXdmcp-devel libXext-devel libXft-devel libXinerama-devel libXpm-devel libXrandr-devel libXt-devel libXtst-devel libXv-devel libglui-devel libxkbfile-devel unzip

Box2D is a 2D rigid body simulation library for games. Programmers can use it
in their games to make objects move in believable ways and make the game world
more interactive. From the game's point of view a physics engine is just
a system for procedural animation.

Box2D is written in portable C++. Most of the types defined in the engine begin
with the b2 prefix. Hopefully this is sufficient to avoid name clashing with
your game engine.

%package devel
Summary: Development files for %name
Group: Development/C++

%description devel
Development files for %name, %summary

%setup -n %VName
%patch -p1
# XXX incorrect dates in zipfile
find . -type f -exec touch {} \;
rm -r Box2D/glui Box2D/freeglut
ln -s /usr/include Box2D/glui
ln -s /usr/include Box2D/freeglut

cd %FName/Build
     cmake .. \
 -DCMAKE_C_FLAGS:STRING='-pipe -Wall -O2' \
 -DCMAKE_CXX_FLAGS:STRING='-pipe -Wall -O2' \

%make_build Box2D_shared

cd %FName/Build
%makeinstall DESTDIR=%buildroot

%doc %FName/License.txt %FName/Readme.txt

%files devel
%doc %FName/Documentation
%exclude %_libdir/*.so.*


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

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