2024-01-05 21:01:47 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
|
|
|
Name: bullet
|
2024-01-05 21:01:48 +01:00
|
|
|
Version: 3.07
|
2024-01-05 21:01:48 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 21:01:47 +01:00
|
|
|
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
|
2024-01-05 21:01:48 +01:00
|
|
|
Source: https://github.com/bulletphysics/bullet3.git/%{version}/bullet3-%{version}.tar.bz2
|
|
|
|
Patch0: bullet-3.07-upstream-release-fix.patch
|
2024-01-05 21:01:47 +01:00
|
|
|
License: zlib
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 21:01:48 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-05 21:01:47 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 21:01:48 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 21:01:47 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 21:01:48 +01:00
|
|
|
BuildRequires: python3
|
2024-01-05 21:01:47 +01:00
|
|
|
## 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}.
|
|
|
|
|
2024-01-05 21:01:48 +01:00
|
|
|
%package -n python-%{name}-py3
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
|
|
|
|
%description -n python-%{name}-py3
|
|
|
|
This package contains the Python bindings forr %{name}.
|
2024-01-05 21:01:47 +01:00
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 21:01:47 +01:00
|
|
|
%setup -q -n %{name}3-%{pkgver}
|
2024-01-05 21:01:48 +01:00
|
|
|
%patch0 -p1
|
2024-01-05 21:01:47 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:01:48 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DBUILD_SHARED_LIBS=1 \
|
|
|
|
-DINSTALL_LIBS=1 \
|
|
|
|
-DINSTALL_EXTRA_LIBS=1 \
|
|
|
|
-DBUILD_PYBULLET=ON \
|
|
|
|
-DBUILD_PYBULLET_NUMPY=ON \
|
|
|
|
-DBUILD_OPENGL3_DEMOS=ON \
|
|
|
|
-DBUILD_BULLET2_DEMOS=OFF \
|
|
|
|
-DBUILD_UNIT_TESTS=OFF \
|
|
|
|
-DBUILD_EXTRAS=OFF
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
%make
|
|
|
|
|
2024-01-05 21:01:48 +01:00
|
|
|
cd ..
|
|
|
|
%{__python3} setup.py build
|
|
|
|
doxygen
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:01:48 +01:00
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%{__python3} setup.py install \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--root=%{buildroot} \
|
|
|
|
--optimize=1 \
|
|
|
|
--skip-build
|
2024-01-05 21:01:47 +01:00
|
|
|
|
|
|
|
%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.*
|
2024-01-05 21:01:47 +01:00
|
|
|
%doc AUTHORS.txt LICENSE.txt
|
2024-01-05 21:01:47 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:01:47 +01:00
|
|
|
%{_includedir}/*
|
2024-01-05 21:01:47 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%dir %{_libdir}/cmake/bullet
|
|
|
|
%{_libdir}/cmake/bullet/BulletConfig.cmake
|
|
|
|
%{_libdir}/cmake/bullet/UseBullet.cmake
|
2024-01-05 21:01:47 +01:00
|
|
|
%{_libdir}/pkgconfig/bullet*.pc
|
2024-01-05 21:01:48 +01:00
|
|
|
#%{_prefix}/lib/libclsocket.a
|
|
|
|
|
|
|
|
%files -n python-%{name}-py3
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python3_sitearch}/eglRenderer.cpython-*.so
|
|
|
|
%dir %{python3_sitearch}/pybullet-*-py*.egg-info
|
|
|
|
%{python3_sitearch}/pybullet-*-py*.egg-info/*
|
|
|
|
%{python3_sitearch}/pybullet.cpython-*.so
|
|
|
|
%dir %{python3_sitearch}/pybullet_data
|
|
|
|
%{python3_sitearch}/pybullet_data/*
|
|
|
|
%dir %{python3_sitearch}/pybullet_envs
|
|
|
|
%{python3_sitearch}/pybullet_envs/*
|
|
|
|
%dir %{python3_sitearch}/pybullet_robots
|
|
|
|
%{python3_sitearch}/pybullet_robots/*
|
|
|
|
%dir %{python3_sitearch}/pybullet_utils
|
|
|
|
%{python3_sitearch}/pybullet_utils/*
|
2024-01-05 21:01:47 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:01:48 +01:00
|
|
|
* Fri Dec 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.07-2mamba
|
|
|
|
- rebuilt with cmake options and python binding
|
|
|
|
|
2024-01-05 21:01:48 +01:00
|
|
|
* Sat Dec 05 2020 Automatic Build System <autodist@mambasoft.it> 3.07-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:48 +01:00
|
|
|
* Fri Sep 25 2020 Automatic Build System <autodist@mambasoft.it> 3.05-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Wed Dec 25 2019 Automatic Build System <autodist@mambasoft.it> 2.89-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Thu Jan 03 2019 Automatic Build System <autodist@mambasoft.it> 2.88-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 2.87-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Thu Feb 09 2017 Automatic Build System <autodist@mambasoft.it> 2.86-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Sun Oct 16 2016 Automatic Build System <autodist@mambasoft.it> 2.85.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 2.84-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Sun Feb 14 2016 Automatic Build System <autodist@mambasoft.it> 2.83.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Fri Aug 21 2015 Automatic Build System <autodist@mambasoft.it> 2.83.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Wed Aug 05 2015 Automatic Build System <autodist@mambasoft.it> 2.83.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* Sat May 09 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.83.4-1mamba
|
|
|
|
- update to 2.83.4
|
|
|
|
|
2024-01-05 21:01:47 +01:00
|
|
|
* 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
|