Sisyphus repositório
Última atualização: 10 julho 2020 | SRPMs: 17697 | Visitas: 18858333
en ru br
ALT Linux repositórios

Group :: Sistema/Bibliotecas
RPM: libbox2d

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libbox2d
Version: 2.1.2
Release: alt2
Summary: A 2D physics engine for games
Group: System/Libraries
License: BSD-like
%define FName Box2D
%define VName %{FName}_v%version
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.*


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009