summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-20 09:25:12 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-20 09:25:12 +0000
commit6c26e2dbe7e25fcba7f2c5c9a4de77119062ca75 (patch)
tree2d6faf8d983fcc5a6eae4b45932ac6043d3bc841
parentfe546bdc268d54706d93e5a9a122b158c9558771 (diff)
automatic import of ros-humble-etsi-its-mcm-uulm-msgs
-rw-r--r--.gitignore1
-rw-r--r--etsi-its-mcm-uulm-msgs.spec70
-rw-r--r--sources1
3 files changed, 72 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..65754ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v3.5.0.tar.gz
diff --git a/etsi-its-mcm-uulm-msgs.spec b/etsi-its-mcm-uulm-msgs.spec
new file mode 100644
index 0000000..7b43c1a
--- /dev/null
+++ b/etsi-its-mcm-uulm-msgs.spec
@@ -0,0 +1,70 @@
+%define ros_distro humble
+%define RosPkgName etsi-its-mcm-uulm-msgs
+
+Name: ros-%{ros_distro}-%{RosPkgName}
+Version: 3.5.0
+Release: 1%{?dist}
+Summary: ROS messages for draft MCM (TS) version of UULM
+License: MIT
+URL: https://github.com/ika-rwth-aachen/etsi_its_messages
+Source0: https://github.com/ika-rwth-aachen/etsi_its_messages/archive/refs/tags/v%{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: cmake3
+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 draft MCM (TS) version of UULM. Part of the
+etsi_its_messages ROS 2 suite providing message definitions for
+ETSI ITS Maneuver Coordination Messages (MCM) based on the UULM draft.
+
+%prep
+%autosetup -n etsi_its_messages-%{version}
+
+%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 etsi_its_msgs/etsi_its_mcm_uulm_msgs/.obj
+cd etsi_its_msgs/etsi_its_mcm_uulm_msgs/.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
+[ -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}
+
+cd etsi_its_msgs/etsi_its_mcm_uulm_msgs/.obj
+make install DESTDIR=%{buildroot}
+
+%files
+/opt/ros/%{ros_distro}/
+
+%changelog
+* Sat Sep 20 2026 ROS SIG <ros-sig@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..6ada30c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+aca8c3d0d2f3ea5fbf249a7d0a14e186 v3.5.0.tar.gz