summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-20 08:50:25 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-20 08:50:25 +0000
commit49e173340f3d3cc72cdb632eb4f87508cbd29581 (patch)
tree54b880e0d12245cdbe3ed5e4f45b3104fedc8636
parent8c4853da6bdb2c92b8bfe94df9a7ae6c5cdf7955 (diff)
automatic import of ros-humble-etsi-its-cam-msgsopeneuler24.03_LTS_SP3
-rw-r--r--.gitignore1
-rw-r--r--etsi-its-cam-msgs.spec65
-rw-r--r--sources1
3 files changed, 67 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..89bdb2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/etsi_its_messages-4e01c322a5634d95b85e5a0ad73fea563456c3ca.tar.gz
diff --git a/etsi-its-cam-msgs.spec b/etsi-its-cam-msgs.spec
new file mode 100644
index 0000000..247b198
--- /dev/null
+++ b/etsi-its-cam-msgs.spec
@@ -0,0 +1,65 @@
+%define ros_distro humble
+%define RosPkgName etsi-its-cam-msgs
+%global commit 4e01c322a5634d95b85e5a0ad73fea563456c3ca
+
+Name: ros-%{ros_distro}-%{RosPkgName}
+Version: 3.5.0
+Release: 1%{?dist}
+Summary: ROS messages for ETSI ITS CAM
+License: MIT
+URL: https://github.com/ika-rwth-aachen/etsi_its_messages
+Source0: https://github.com/ika-rwth-aachen/etsi_its_messages/archive/%{commit}.tar.gz#/etsi_its_messages-%{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
+BuildRequires: ros-%{ros_distro}-std-msgs
+
+Requires: ros-%{ros_distro}-ros-workspace
+Requires: ros-%{ros_distro}-ament-cmake
+Requires: ros-%{ros_distro}-rosidl-default-runtime
+Requires: ros-%{ros_distro}-std-msgs
+
+Provides: %{name}-devel = %{version}-%{release}
+Provides: %{name}-doc = %{version}-%{release}
+Provides: %{name}-runtime = %{version}-%{release}
+
+%description
+ROS messages for ETSI ITS CAM (Cooperative Awareness Messages) as defined
+by ETSI ITS standards. Part of the etsi_its_messages suite from
+ika-rwth-aachen.
+
+%prep
+%autosetup -n etsi_its_messages-%{commit}
+
+%build
+[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || 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 .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 \
+ ../etsi_its_msgs/etsi_its_cam_msgs
+make %{?_smp_mflags}
+
+%install
+cd .obj
+make install DESTDIR=%{buildroot}
+
+%files
+/opt/ros/%{ros_distro}/
+
+%changelog
+* Sun Sep 20 2026 ROS SIG <ros@openeuler.org> - 3.5.0-1
+- Initial package for ros-%{ros_distro}-%{RosPkgName} 3.5.0
diff --git a/sources b/sources
new file mode 100644
index 0000000..946c54e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1b691ff2437b85ea2c0779b14d1a6931 etsi_its_messages-4e01c322a5634d95b85e5a0ad73fea563456c3ca.tar.gz