%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)