From e1e9ae5e9b1aac5eb3453068e4995b48347c5b03 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 15 Sep 2026 15:12:22 +0000 Subject: automatic import of ros-humble-gazebo-video-monitor-utils --- .gitignore | 1 + gazebo-video-monitor-utils.spec | 53 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) create mode 100644 gazebo-video-monitor-utils.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..4daa791 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gazebo_video_monitors-0.8.1.tar.gz diff --git a/gazebo-video-monitor-utils.spec b/gazebo-video-monitor-utils.spec new file mode 100644 index 0000000..c922f79 --- /dev/null +++ b/gazebo-video-monitor-utils.spec @@ -0,0 +1,53 @@ +%define ros_distro humble +%define RosPkgName gazebo-video-monitor-utils + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 0.8.1 +Release: 1%{?dist} +Summary: Utility scripts to interact with the gazebo video monitor plugins +License: GPLv3 +URL: https://github.com/nlamprian/gazebo_video_monitors +Source0: https://github.com/nlamprian/gazebo_video_monitors/archive/refs/tags/%{version}.tar.gz#/gazebo_video_monitors-%{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: python3-setuptools + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-gazebo-msgs +Requires: ros-%{ros_distro}-rclpy +Requires: ros-%{ros_distro}-std-srvs + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +Contains utility scripts that are meant to interact with the gazebo video +monitor plugins. + +%prep +%autosetup -n gazebo_video_monitors-%{version} + +%build +export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +cd gazebo_video_monitor_utils +%{__python3} setup.py build + +%install +export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +cd gazebo_video_monitor_utils +%{__python3} setup.py install \ + --prefix=/opt/ros/%{ros_distro} \ + --root=%{buildroot} \ + --install-layout=rpm + +%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..09d475a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +be7387600fbd7c042e9bde93f888855d gazebo_video_monitors-0.8.1.tar.gz -- cgit v1.2.3