From a3def99551cb07452e60239bf5b9f2512e83c0c9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 28 Mar 2026 03:32:00 +0000 Subject: automatic import of rtabmap --- .gitignore | 3 +++ rtabmap.spec | 15 +++++++++++---- sources | 4 +++- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 9414767..c92863d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ /0.22.1.tar.gz +/rtabmap-0.22.1.tar.gz.aa +/rtabmap-0.22.1.tar.gz.ab +/rtabmap-0.22.1.tar.gz.ac diff --git a/rtabmap.spec b/rtabmap.spec index 439fea5..4765f06 100644 --- a/rtabmap.spec +++ b/rtabmap.spec @@ -16,9 +16,12 @@ Summary: RTAB-Map's standalone library. RTAB-Map is a RGB-D SLAM approach Url: http://introlab.github.io/rtabmap License: BSD -Source0: https://github.com/introlab/rtabmap/archive/refs/tags/%{version}.tar.gz +Source0: %{RosPkgName}-%{version}.tar.gz.aa +Source1: %{RosPkgName}-%{version}.tar.gz.ab +Source2: %{RosPkgName}-%{version}.tar.gz.ac Patch0: add-suitesparse-include.patch + Requires: ros-%{ros_distro}-cv-bridge Requires: ros-%{ros_distro}-libg2o Requires: ros-%{ros_distro}-gtsam @@ -55,7 +58,9 @@ Provides: %{name}-runtime = %{version}-%{release} RTAB-Map's standalone library. RTAB-Map is a RGB-D SLAM approach with real-time constraints. %prep -%autosetup -p1 -n rtabmap-%{version} +cat %{SOURCE0} %{SOURCE1} %{SOURCE2} > %{RosPkgName}-%{version}.tar.gz +tar -xzf %{RosPkgName}-%{version}.tar.gz +%autosetup -T -D -p1 -n %{RosPkgName}-%{version} %build # Needed to bootstrap since the ros_workspace package does not yet exist. @@ -76,11 +81,13 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform} -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DSETUPTOOLS_DEB_LAYOUT=OFF \ - -DWITH_QT=OFF \ - -DBUILD_EXAMPLES=OFF \ %if !0%{?with_tests} -DBUILD_TESTING=OFF \ %endif + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_QT=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_TOOLS=ON \ .. %make_build diff --git a/sources b/sources index 6483318..f28da53 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ -f972460b35d2018860d86ed8239cc0bc 0.22.1.tar.gz +61ec337ec09d5bf9335f889b39b178e8 rtabmap-0.22.1.tar.gz.aa +a5c89d6eaedbf300d7c4c009f4c64428 rtabmap-0.22.1.tar.gz.ab +b0f7bb4453c66bb3da1079fa794d8af8 rtabmap-0.22.1.tar.gz.ac -- cgit v1.2.3