From f67d25acae0f44e00ba77567824441b98a2b4dc3 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 15 Sep 2026 11:09:27 +0000 Subject: automatic import of ros-humble-eventdispatch-ros2-interfaces --- .gitignore | 1 + eventdispatch-ros2-interfaces.spec | 67 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+) create mode 100644 eventdispatch-ros2-interfaces.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..0cbd375 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ros2_eventdispatch-6c88c7a5f6fedb27a4d1f331a8ade92c9c6bddb7.tar.gz diff --git a/eventdispatch-ros2-interfaces.spec b/eventdispatch-ros2-interfaces.spec new file mode 100644 index 0000000..2b633b3 --- /dev/null +++ b/eventdispatch-ros2-interfaces.spec @@ -0,0 +1,67 @@ +%define ros_distro humble +%define RosPkgName eventdispatch-ros2-interfaces +%global commit 6c88c7a5f6fedb27a4d1f331a8ade92c9c6bddb7 + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 0.2.29 +Release: 1%{?dist} +Summary: ROSEvent srv / msg interfaces for ROS2 +License: Apache-2.0 +URL: https://github.com/cyan-at/ros2_eventdispatch +Source0: https://github.com/cyan-at/ros2_eventdispatch/archive/%{commit}.tar.gz#/ros2_eventdispatch-%{commit}.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: ros-%{ros_distro}-ament-cmake +BuildRequires: ros-%{ros_distro}-rosidl-default-generators + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-rosidl-default-runtime + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +ROSEvent srv / msg interface definitions for the eventdispatch ROS2 package. +Provides ROS2 service and message types used by eventdispatch-ros2. + +%prep +%autosetup -n %{commit} + +%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} + +mkdir -p eventdispatch_ros2_interfaces/.obj +cd eventdispatch_ros2_interfaces/.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 \ + .. +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 eventdispatch_ros2_interfaces/.obj +make install DESTDIR=%{buildroot} + +%files +/opt/ros/%{ros_distro} + +%changelog +* Mon Sep 15 2026 ai-importer - 0.2.29-1 +- Initial import (ROS batch) diff --git a/sources b/sources new file mode 100644 index 0000000..123064f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +5b48d5e1f190c9099e6778e0e7e55e77 ros2_eventdispatch-6c88c7a5f6fedb27a4d1f331a8ade92c9c6bddb7.tar.gz -- cgit v1.2.3