summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-19 15:44:50 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-19 15:44:50 +0000
commit2205d7925c211d82b88a19da273fda4274202659 (patch)
treedb6f0c89da3b192b098608d998e2af87f14ad7f0
parent9bd03de9082492b5d2385fcb34681c7389a02b51 (diff)
automatic import of ros-humble-eventdispatch-ros2-interfacesopeneuler24.03_LTS_SP3
-rw-r--r--.gitignore1
-rw-r--r--eventdispatch-ros2-interfaces.spec66
-rw-r--r--sources1
3 files changed, 68 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..829bd3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/eventdispatch-ros2-interfaces-0.2.29-1.tar.gz
diff --git a/eventdispatch-ros2-interfaces.spec b/eventdispatch-ros2-interfaces.spec
new file mode 100644
index 0000000..5a46715
--- /dev/null
+++ b/eventdispatch-ros2-interfaces.spec
@@ -0,0 +1,66 @@
+%define ros_distro humble
+%define RosPkgName eventdispatch-ros2-interfaces
+%define src_version 0.2.29-1
+
+Name: ros-%{ros_distro}-%{RosPkgName}
+Version: 0.2.29
+Release: 1%{?dist}
+Summary: ROSEvent srv / msg
+License: Apache-2.0
+URL: https://github.com/cyan-at/ros2_eventdispatch/tree/main
+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}-rosidl-default-generators
+BuildRequires: ros-%{ros_distro}-rosidl-default-runtime
+
+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
+
+%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 eventdispatch_ros2_interfaces
+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 eventdispatch_ros2_interfaces
+cd .obj
+make install DESTDIR=%{buildroot}
+
+%files
+/opt/ros/%{ros_distro}
+
+%changelog
+* Sat Sep 19 2026 ai-importer <ai-importer@openeuler.org> - 0.2.29-1
+- Initial import (ROS batch)
diff --git a/sources b/sources
new file mode 100644
index 0000000..6abd9df
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7542a485deea951832383a44855c4723 eventdispatch-ros2-interfaces-0.2.29-1.tar.gz