summaryrefslogtreecommitdiff
path: root/rtabmap-util.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-27 09:30:27 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-27 09:30:27 +0000
commit0b7f354d2f87fce118055fb82c751969b46b5870 (patch)
tree953ffac29754afc274f77fa89896f8bc60453752 /rtabmap-util.spec
parent2c5436f2c3c0616e62dea78e832359785b41740a (diff)
automatic import of rtabmap-util
Diffstat (limited to 'rtabmap-util.spec')
-rw-r--r--rtabmap-util.spec21
1 files changed, 10 insertions, 11 deletions
diff --git a/rtabmap-util.spec b/rtabmap-util.spec
index dd8b666..122e10c 100644
--- a/rtabmap-util.spec
+++ b/rtabmap-util.spec
@@ -1,21 +1,21 @@
%bcond_without tests
%bcond_without weak_deps
+%define ros_distro humble
+
%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 rtabmap-util
-%define ros_distro humble
-%define with_tests 0
Name: ros-%{ros_distro}-%{RosPkgName}
-Version: 0.21.5
+Version: 0.22.1
Release: 1%{?dist}%{?release_suffix}
Summary: RTAB-Map's various useful nodes and nodelets.
License: BSD
-Source0: %{name}_%{version}.orig.tar.gz
+Source0: %{RosPkgName}-%{version}.tar.gz
Requires: ros-%{ros_distro}-cv-bridge
Requires: ros-%{ros_distro}-image-transport
@@ -36,6 +36,7 @@ Requires: ros-%{ros_distro}-message-filters
Requires: ros-%{ros_distro}-rtabmap-msgs
Requires: ros-%{ros_distro}-rtabmap-conversions
Requires: ros-%{ros_distro}-grid-map-ros
+Requires: ros-%{ros_distro}-ros-workspace
BuildRequires: ros-%{ros_distro}-cv-bridge
BuildRequires: ros-%{ros_distro}-image-transport
@@ -56,7 +57,9 @@ BuildRequires: ros-%{ros_distro}-message-filters
BuildRequires: ros-%{ros_distro}-rtabmap-msgs
BuildRequires: ros-%{ros_distro}-rtabmap-conversions
BuildRequires: ros-%{ros_distro}-grid-map-ros
+BuildRequires: ros-%{ros_distro}-ros-environment
BuildRequires: ros-%{ros_distro}-ament-cmake
+BuildRequires: ros-%{ros_distro}-ros-workspace
%if 0%{?with_tests}
%endif
@@ -69,15 +72,12 @@ Provides: %{name}-runtime = %{version}-%{release}
RTAB-Map's various useful nodes and nodelets.
%prep
-%autosetup -p1
+%autosetup -c -n %{name}-%{version}
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages
-export ROS_DISTRO=%{ros_distro}
-export ROS_PYTHON_VERSION=%{python3_version}
-
# 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.
@@ -92,12 +92,11 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
-DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \
-DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \
-DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \
- -DCMAKE_INSTALL_LIBDIR="/opt/ros/%{ros_distro}/lib" \
-DSETUPTOOLS_DEB_LAYOUT=OFF \
%if !0%{?with_tests}
-DBUILD_TESTING=OFF \
%endif
- ..
+ ../%{RosPkgName}-%{version}
%make_build
@@ -132,5 +131,5 @@ else echo "RPM TESTS SKIPPED"; fi
/opt/ros/%{ros_distro}
%changelog
-* Fri May 23 2025 Mathieu Labbe matlabbe@gmail.com - 0.21.5-1
+* Wed Mar 25 2026 Mathieu Labbe matlabbe@gmail.com - 0.22.1-1
- Autogenerated by ros-porting-tools