summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-08 18:22:09 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-08 18:22:09 +0000
commit9ad494f58548dbc62c6793758a633c42c31c537e (patch)
treef146a5815fe4d86b50b16522ad647a493be55513
parent68925b2a96ea0c50fabdb26df3e48d9ef8cc9c97 (diff)
automatic import of ros-humble-rqt-moveitopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--rqt-moveit.spec82
-rw-r--r--sources1
3 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..cb96d9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ros-humble-rqt-moveit_1.0.1.orig.tar.gz
diff --git a/rqt-moveit.spec b/rqt-moveit.spec
new file mode 100644
index 0000000..42d4c9f
--- /dev/null
+++ b/rqt-moveit.spec
@@ -0,0 +1,82 @@
+%bcond_without tests
+%bcond_without weak_deps
+
+%global debug_package %{nil}
+%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
+%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$
+%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$
+
+%define RosPkgName rqt-moveit
+%define ros_distro humble
+
+Name: ros-%{ros_distro}-%{RosPkgName}
+Version: 1.0.1
+Release: 1%{?dist}%{?release_suffix}
+Summary: ROS rqt-moveit package
+
+Url: http://wiki.ros.org/rqt_moveit
+License: BSD
+Source0: %{name}_%{version}.orig.tar.gz
+
+Requires: ros-%{ros_distro}-python-qt-binding
+Requires: ros-%{ros_distro}-rclpy
+Requires: ros-%{ros_distro}-rqt-gui
+Requires: ros-%{ros_distro}-rqt-gui-py
+Requires: ros-%{ros_distro}-rqt-py-common
+Requires: ros-%{ros_distro}-rqt-topic
+Requires: ros-%{ros_distro}-sensor-msgs
+Requires: ros-%{ros_distro}-ros-workspace
+
+BuildRequires: ros-%{ros_distro}-rosidl-default-generators
+BuildRequires: python3-setuptools
+BuildRequires: ros-%{ros_distro}-ros-workspace
+
+%if 0%{?with_tests}
+%endif
+
+Provides: %{name}-devel = %{version}-%{release}
+Provides: %{name}-doc = %{version}-%{release}
+Provides: %{name}-runtime = %{version}-%{release}
+
+%description
+
+ An rqt-based tool that assists monitoring tasks
+ for
+
+%prep
+%autosetup -p1
+
+%build
+
+# In case we're installing to a non-standard location, look for a setup.sh
+# in the install tree and source it. It will set things like
+# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
+if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi
+%py3_build
+
+%install
+# In case we're installing to a non-standard location, look for a setup.sh
+# in the install tree and source it. It will set things like
+# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
+if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi
+%py3_install -- --prefix "/opt/ros/%{ros_distro}"
+
+%if 0%{?with_tests}
+%check
+# Look for a directory with a name indicating that it contains tests
+TEST_TARGET=$(ls -d * | grep -m1 "\(test\|tests\)" ||:)
+if [ -n "$TEST_TARGET" ] && %__python3 -m pytest --version; then
+# In case we're installing to a non-standard location, look for a setup.sh
+# in the install tree and source it. It will set things like
+# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
+if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi
+%__python3 -m pytest $TEST_TARGET || echo "RPM TESTS FAILED"
+else echo "RPM TESTS SKIPPED"; fi
+%endif
+
+%files
+/opt/ros/%{ros_distro}
+
+%changelog
+* Thu May 04 2023 Isaac I.Y. Saito iisaito@kinugarage.com - 1.0.1-1
+- Autogenerated by ros-porting-tools
diff --git a/sources b/sources
new file mode 100644
index 0000000..f90c6b5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a20d8d4e4ea0788e8e766275f7c561eb ros-humble-rqt-moveit_1.0.1.orig.tar.gz