Sisyphus repository
Last update: 1 october 2020 | SRPMs: 17705 | Visits: 19327355
en ru br
ALT Linux repos

Group :: System/Libraries
RPM: bullet

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define rev r2704

%def_disable demo
%def_disable static

Name: bullet
Version: 2.82
Release: alt1.%rev

Summary: Professional 3D collision detection library
License: Zlib
Group: System/Libraries
Packager: Slava Dubrovskiy <dubrsl at>


BuildRequires: cmake gcc-c++ libGL-devel libfreeglut-devel libICE-devel

Bullet is a professional open source multi-threaded 3D Collision
Detection and Rigid Body Dynamics Library for games and animation.

%package demo
Summary: A demo programs using bullet library
Group: Graphics
Requires: lib%name = %version-%release

%description demo
A demo programs using bullet library.

%package -n lib%name
Summary: Professional 3D collision detection library
Group: System/Libraries

%description -n lib%name
Bullet 3D Game Multiphysics Library provides state of the art
collision detection, soft body and rigid body dynamics.

* Used by many game companies in AAA titles on Playstation 3,
 XBox 360, Nintendo Wii and PC
* Modular extendible C++ design with hot-swap of most components
* Optimized back-ends with multi-threaded support for Playstation 3
 Cell SPU and other platforms
* Discrete and continuous collision detection (CCD)
* Swept collision queries
* Ray casting with custom collision filtering
* Generic convex support (using GJK), capsule, cylinder, cone, sphere,
 box and non-convex triangle meshes.
* Rigid body dynamics including constraint solvers, generic
 constraints, ragdolls, hinge, ball-socket
* Support for constraint limits and motors
* Soft body support including cloth, rope and deformable
* Bullet is integrated into Blender 3D and provides a Maya Plugin
* Supports import and export into COLLADA 1.4 Physics format
* Support for dynamic deformation of non-convex triangle meshes, by
 refitting the acceleration structures

The Library is free for commercial use and open source
under the ZLib License.

%package -n lib%name-devel
Summary: Development headers for bullet
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
Development headers for bullet 3D collision library.

%package -n lib%name-devel-static
Summary: Static library for bullet
Group: Development/C

%description -n lib%name-devel-static
Static library for bullet

%setup -n %name-%version-%rev
subst 's/-L at LIB_DESTINATION at /-L at LIB_INSTALL_DIR at /' %name.pc.cmake

%cmake \
   -DINCLUDE_INSTALL_DIR=%_includedir/%name \
   %{?_disable_demo:-DBUILD_DEMOS=OFF} \



%if_enabled demo
demos=`ls -1 *Demo`
for i in $demos AllBulletDemos ContinuousConvexCollision BulletDino Raytracer UserCollisionAlgorithm; do
   install -m 755 $i %buildroot%_bindir/bullet-$i

%files demo

%files -n lib%name

%files -n lib%name-devel
%if_disabled static
%files -n lib%name-devel-static
%endif #static


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin