From 92991a9f34454d099db5d5e6ed8a4cdd3b211ce7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 21 Sep 2026 13:27:10 +0000 Subject: automatic import of ros-humble-rmf-websocket --- .gitignore | 1 + rmf-websocket.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 rmf-websocket.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..8e4a3bf 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/rmf-websocket-2.1.8-1.tar.gz diff --git a/rmf-websocket.spec b/rmf-websocket.spec new file mode 100644 index 0000000..fa4f276 --- /dev/null +++ b/rmf-websocket.spec @@ -0,0 +1,76 @@ +%define ros_distro humble +%define RosPkgName rmf-websocket +%define src_version 2.1.8-1 + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 2.1.8 +Release: 1%{?dist} +Summary: A package managing the websocket api endpoints in RMF system. +License: Apache License 2.0 +URL: https://github.com/open-rmf/rmf_ros2/tree/humble +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}-nlohmann-json-schema-validator-vendor +BuildRequires: ros-%{ros_distro}-rclcpp +BuildRequires: ros-%{ros_distro}-rmf-utils +BuildRequires: boost-devel +BuildRequires: eigen3-devel +BuildRequires: nlohmann-json-devel +BuildRequires: libwebsocketpp-dev + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-nlohmann-json-schema-validator-vendor +Requires: ros-%{ros_distro}-rclcpp +Requires: ros-%{ros_distro}-rmf-utils +Requires: boost-devel +Requires: nlohmann-json-devel +Requires: libwebsocketpp-dev + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +A package managing the websocket api endpoints in RMF system. + +%prep +%autosetup -n %{RosPkgName}-%{src_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} +cd rmf_websocket +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 +[ -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 rmf_websocket +cd .obj +make install DESTDIR=%{buildroot} + +%files +/opt/ros/%{ros_distro} + +%changelog +* Mon Sep 21 2026 ai-importer - 2.1.8-1 +- Initial import (ROS batch) diff --git a/sources b/sources new file mode 100644 index 0000000..744b274 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +1ccc524cff64bd397cc901f4f8deb289 rmf-websocket-2.1.8-1.tar.gz -- cgit v1.2.3