From 7c60390d4f91cb6690449df38098348d1dde54b8 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 18:57:58 +0000 Subject: automatic import of python-pybullet --- .gitignore | 1 + python-pybullet.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 74 insertions(+) create mode 100644 python-pybullet.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..4f28f2f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pybullet-3.2.5.tar.gz diff --git a/python-pybullet.spec b/python-pybullet.spec new file mode 100644 index 0000000..876b34a --- /dev/null +++ b/python-pybullet.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pybullet +Version: 3.2.5 +Release: 1 +Summary: Official Python Interface for the Bullet Physics SDK specialized for Robotics Simulation and Reinforcement Learning +License: zlib +URL: https://github.com/bulletphysics/bullet3 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/28/1d/6439ec20344dab71582c547c23b6918fe045b5a284aeac5f26781a23540a/pybullet-3.2.5.tar.gz +BuildArch: noarch + + +%description +pybullet is an easy to use Python module for physics simulation, robotics and deep reinforcement learning based on the Bullet Physics SDK. With pybullet you can load articulated bodies from URDF, SDF and other file formats. pybullet provides forward dynamics simulation, inverse dynamics computation, forward and inverse kinematics and collision detection and ray intersection queries. Aside from physics simulation, pybullet supports to rendering, with a CPU renderer and OpenGL visualization and support for virtual reality headsets. + +%package -n python3-pybullet +Summary: Official Python Interface for the Bullet Physics SDK specialized for Robotics Simulation and Reinforcement Learning +Provides: python-pybullet +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pybullet +pybullet is an easy to use Python module for physics simulation, robotics and deep reinforcement learning based on the Bullet Physics SDK. With pybullet you can load articulated bodies from URDF, SDF and other file formats. pybullet provides forward dynamics simulation, inverse dynamics computation, forward and inverse kinematics and collision detection and ray intersection queries. Aside from physics simulation, pybullet supports to rendering, with a CPU renderer and OpenGL visualization and support for virtual reality headsets. + +%package help +Summary: Development documents and examples for pybullet +Provides: python3-pybullet-doc +%description help +pybullet is an easy to use Python module for physics simulation, robotics and deep reinforcement learning based on the Bullet Physics SDK. With pybullet you can load articulated bodies from URDF, SDF and other file formats. pybullet provides forward dynamics simulation, inverse dynamics computation, forward and inverse kinematics and collision detection and ray intersection queries. Aside from physics simulation, pybullet supports to rendering, with a CPU renderer and OpenGL visualization and support for virtual reality headsets. + +%prep +%autosetup -n pybullet-3.2.5 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-pybullet -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 3.2.5-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..b06fed8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7b6093e06cfe1d87a7ad0428b059f8ba pybullet-3.2.5.tar.gz -- cgit v1.2.3