123 lines
3.8 KiB
RPMSpec
123 lines
3.8 KiB
RPMSpec
%define pkgver %(echo %version | tr _ -)
|
|
Name: bullet
|
|
Version: 2.82_r2704
|
|
Release: 1mamba
|
|
Summary: A Collision Detection and Rigid Body Dynamics Library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://bulletphysics.org
|
|
Source: https://bullet.googlecode.com/files/bullet-%{pkgver}.tgz
|
|
License: zlib
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Bullet is a Collision Detection and Rigid Body Dynamics Library
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
#Requires: pkg-config
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{pkgver}
|
|
|
|
%build
|
|
%cmake
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*.h
|
|
%dir %{_includedir}/BulletCollision
|
|
%dir %{_includedir}/BulletCollision/BroadphaseCollision
|
|
%{_includedir}/BulletCollision/BroadphaseCollision/*.h
|
|
%dir %{_includedir}/BulletCollision/CollisionDispatch
|
|
%{_includedir}/BulletCollision/CollisionDispatch/*.h
|
|
%dir %{_includedir}/BulletCollision/CollisionShapes
|
|
%{_includedir}/BulletCollision/CollisionShapes/*.h
|
|
%dir %{_includedir}/BulletCollision/Gimpact
|
|
%{_includedir}/BulletCollision/Gimpact/*.h
|
|
%dir %{_includedir}/BulletCollision/NarrowPhaseCollision
|
|
%{_includedir}/BulletCollision/NarrowPhaseCollision/*.h
|
|
%{_includedir}/BulletCollision/*.h
|
|
%dir %{_includedir}/BulletDynamics
|
|
%dir %{_includedir}/BulletDynamics/Character
|
|
%{_includedir}/BulletDynamics/Character/*.h
|
|
%dir %{_includedir}/BulletDynamics/ConstraintSolver
|
|
%{_includedir}/BulletDynamics/ConstraintSolver/*.h
|
|
%dir %{_includedir}/BulletDynamics/Dynamics
|
|
%{_includedir}/BulletDynamics/Dynamics/*.h
|
|
%dir %{_includedir}/BulletDynamics/Featherstone
|
|
%{_includedir}/BulletDynamics/Featherstone/*.h
|
|
%dir %{_includedir}/BulletDynamics/MLCPSolvers
|
|
%{_includedir}/BulletDynamics/MLCPSolvers/*.h
|
|
%dir %{_includedir}/BulletDynamics/Vehicle
|
|
%{_includedir}/BulletDynamics/Vehicle/*.h
|
|
%{_includedir}/BulletDynamics/*.h
|
|
%dir %{_includedir}/BulletSoftBody
|
|
%{_includedir}/BulletSoftBody/*.h
|
|
%dir %{_includedir}/LinearMath
|
|
%{_includedir}/LinearMath/*.h
|
|
%dir %{_includedir}/vectormath
|
|
%dir %{_includedir}/vectormath/scalar
|
|
%{_includedir}/vectormath/scalar/*.h
|
|
%dir %{_includedir}/vectormath/sse
|
|
%{_includedir}/vectormath/sse/*.h
|
|
%{_includedir}/vectormath/*.h
|
|
%{_libdir}/*.so
|
|
%dir %{_libdir}/cmake/bullet
|
|
%{_libdir}/cmake/bullet/BulletConfig.cmake
|
|
%{_libdir}/cmake/bullet/UseBullet.cmake
|
|
%{_libdir}/pkgconfig/bullet.pc
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
|
%changelog
|
|
* Sat Feb 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.82_r2704-1mamba
|
|
- update to 2.82_r2704
|
|
|
|
* Sun Jan 20 2013 openmamba WebBuild System <webbuild@openmamba.org> 2.81-2mamba
|
|
- Fixed summary
|
|
|
|
* Wed Oct 31 2012 openmamba WebBuild System <webbuild@openmamba.org> 2.81-rev2613-1mamba
|
|
- package created by autospec
|