From ff57da19aa50c2dabd4e2b7884d83a2fea6e94d7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 15 Sep 2026 15:12:54 +0000 Subject: automatic import of ros-humble-gazebo-video-monitors --- .gitignore | 1 + gazebo-video-monitors.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+) create mode 100644 gazebo-video-monitors.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..a9b5e92 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gazebo-video-monitors-0.8.1-1.tar.gz diff --git a/gazebo-video-monitors.spec b/gazebo-video-monitors.spec new file mode 100644 index 0000000..a80fe28 --- /dev/null +++ b/gazebo-video-monitors.spec @@ -0,0 +1,65 @@ +%define ros_distro humble +%define RosPkgName gazebo-video-monitors + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 0.8.1 +Release: 1%{?dist} +Summary: Metapackage that groups together the gazebo_video_monitors packages +License: GPLv3 +URL: https://github.com/nlamprian/gazebo_video_monitors +Source0: %{RosPkgName}-0.8.1-1.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 + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-gazebo-video-monitor-interfaces +Requires: ros-%{ros_distro}-gazebo-video-monitor-plugins +Requires: ros-%{ros_distro}-gazebo-video-monitor-utils + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +Metapackage that groups together the gazebo_video_monitors packages. + +%prep +%autosetup -n %{RosPkgName}-0.8.1-1 + +%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 gazebo_video_monitors +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 gazebo_video_monitors +cd .obj +make install DESTDIR=%{buildroot} + +%files +/opt/ros/%{ros_distro} + +%changelog +* Mon Sep 15 2026 ai-importer - 0.8.1-1 +- Initial import (ROS batch) diff --git a/sources b/sources new file mode 100644 index 0000000..7952425 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +bf53e55a14ea9d9a87da2f86326a62bb gazebo-video-monitors-0.8.1-1.tar.gz -- cgit v1.2.3