From 682dfb264189b9eead9ff009870beae6230fc52e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 19 Sep 2026 13:55:17 +0000 Subject: automatic import of ros-humble-depthai-descriptions-v3 --- .gitignore | 1 + depthai-descriptions-v3.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+) create mode 100644 depthai-descriptions-v3.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c60f250 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/depthai-descriptions-v3-3.3.0-1.tar.gz diff --git a/depthai-descriptions-v3.spec b/depthai-descriptions-v3.spec new file mode 100644 index 0000000..083b1a7 --- /dev/null +++ b/depthai-descriptions-v3.spec @@ -0,0 +1,67 @@ +%define ros_distro humble +%define RosPkgName depthai-descriptions-v3 +%define src_version 3.3.0-1 + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 3.3.0 +Release: 1%{?dist} +Summary: The depthai_descriptions_v3 package +License: MIT +URL: https://github.com/luxonis/depthai-ros/tree/develop-old +Source0: %{RosPkgName}-%{src_version}.tar.gz + +%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}/.*$ + +BuildRequires: cmake +BuildRequires: ros-%{ros_distro}-ament-cmake +BuildRequires: ros-%{ros_distro}-robot-state-publisher +BuildRequires: ros-%{ros_distro}-xacro + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-robot-state-publisher +Requires: ros-%{ros_distro}-xacro + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +The depthai_descriptions_v3 package + +%prep +%autosetup -n %{RosPkgName}-%{src_version} + +%build +source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true +export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} +cd depthai_descriptions +mkdir -p .obj && cd .obj +%cmake3 \ + -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \ + -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ + -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ + -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX \ + -DSETUPTOOLS_DEB_LAYOUT=OFF \ + -DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON \ + .. +make %{?_smp_mflags} + +%install +source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true +export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} +cd depthai_descriptions +cd .obj +make install DESTDIR=%{buildroot} + +%files +/opt/ros/%{ros_distro} + +%changelog +* Sat Sep 19 2026 ai-importer - 3.3.0-1 +- Initial import (ROS batch) diff --git a/sources b/sources new file mode 100644 index 0000000..cc4c837 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +f1e72e55c943c89c03e99ac2b0715a03 depthai-descriptions-v3-3.3.0-1.tar.gz -- cgit v1.2.3