summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-hello-robot-stretch-body.spec109
-rw-r--r--sources1
3 files changed, 111 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f5bea63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hello_robot_stretch_body-0.4.32.tar.gz
diff --git a/python-hello-robot-stretch-body.spec b/python-hello-robot-stretch-body.spec
new file mode 100644
index 0000000..8fd811f
--- /dev/null
+++ b/python-hello-robot-stretch-body.spec
@@ -0,0 +1,109 @@
+%global _empty_manifest_terminate_build 0
+Name: python-hello-robot-stretch-body
+Version: 0.4.32
+Release: 1
+Summary: Stretch Body low level Python API
+License: GNU Lesser General Public License v3 (LGPLv3)
+URL: https://github.com/hello-robot/stretch_body
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b9/09/03732fd8713a94664a76dd080b774920d3eb63c287a09fc32969b28128b9/hello_robot_stretch_body-0.4.32.tar.gz
+BuildArch: noarch
+
+Requires: python3-SpeechRecognition
+Requires: python3-click
+Requires: python3-cma
+Requires: python3-colorama
+Requires: python3-drawnow
+Requires: python3-gitpython
+Requires: python3-hello-robot-stretch-body-tools
+Requires: python3-hello-robot-stretch-factory
+Requires: python3-hello-robot-stretch-tool-share
+Requires: python3-inputs
+Requires: python3-ipython
+Requires: python3-jupyter
+Requires: python3-matplotlib
+Requires: python3-nose
+Requires: python3-numba
+Requires: python3-numpy
+Requires: python3-open3d
+Requires: python3-opencv-contrib-python
+Requires: python3-pandas
+Requires: python3-pathlib
+Requires: python3-pixel-ring
+Requires: python3-psutil
+Requires: python3-pyrealsense2
+Requires: python3-pyusb
+Requires: python3-pyyaml
+Requires: python3-rplidar-roboticia
+Requires: python3-scikit-image
+Requires: python3-scipy
+Requires: python3-snakeviz
+Requires: python3-sympy
+Requires: python3-urdfpy
+Requires: python3-jsonschema
+Requires: python3-llvmlite
+Requires: python3-qtconsole
+Requires: python3-terminado
+Requires: python3-dynamixel-sdk
+Requires: python3-renamed-opencv-python-inference-engine
+
+%description
+The stretch_body package provides a low level Python API to the Hello Robot Stretch hardware. This package comes pre-installed on Stretch robots. Tutorials for using this package can be found [on the docs](https://docs.hello-robot.com/0.2/stretch-tutorials/stretch_body/).
+
+%package -n python3-hello-robot-stretch-body
+Summary: Stretch Body low level Python API
+Provides: python-hello-robot-stretch-body
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-hello-robot-stretch-body
+The stretch_body package provides a low level Python API to the Hello Robot Stretch hardware. This package comes pre-installed on Stretch robots. Tutorials for using this package can be found [on the docs](https://docs.hello-robot.com/0.2/stretch-tutorials/stretch_body/).
+
+%package help
+Summary: Development documents and examples for hello-robot-stretch-body
+Provides: python3-hello-robot-stretch-body-doc
+%description help
+The stretch_body package provides a low level Python API to the Hello Robot Stretch hardware. This package comes pre-installed on Stretch robots. Tutorials for using this package can be found [on the docs](https://docs.hello-robot.com/0.2/stretch-tutorials/stretch_body/).
+
+%prep
+%autosetup -n hello-robot-stretch-body-0.4.32
+
+%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-hello-robot-stretch-body -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.32-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d7e2416
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1e86839639a075af57080cb3a3dcfe32 hello_robot_stretch_body-0.4.32.tar.gz