diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-09 02:27:05 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-09 02:27:05 +0000 |
| commit | 37790580c9204ac6fecc75ebeddd969286a739fc (patch) | |
| tree | 520f79e344c2bbcef2d0927e551b54bd43886f3d /gazebo-ros.spec | |
| parent | fb4788cc065c6bbcf5c242c6a974e9165e6d22cb (diff) | |
automatic import of ros-humble-gazebo-ros
Diffstat (limited to 'gazebo-ros.spec')
| -rw-r--r-- | gazebo-ros.spec | 60 |
1 files changed, 26 insertions, 34 deletions
diff --git a/gazebo-ros.spec b/gazebo-ros.spec index d6429b9..cfc3860 100644 --- a/gazebo-ros.spec +++ b/gazebo-ros.spec @@ -1,31 +1,27 @@ -# topdir: ros-humble-gazebo-ros-3.9.0 (local tar via --transform over the full gazebo_ros_pkgs repo clone) %define ros_distro humble %define RosPkgName gazebo-ros -%global commit 59467572f89b22b273b9d6bc05484ccc7f6ec072 +%define src_version 3.7.0 Name: ros-%{ros_distro}-%{RosPkgName} -Version: 3.9.0 +Version: 3.7.0 Release: 1%{?dist} -Summary: Utilities to interface with Gazebo through ROS +Summary: Utilities to interface with License: Apache 2.0 -URL: https://github.com/ros-simulation/gazebo_ros_pkgs -Source0: %{url}/archive/%{commit}.tar.gz#/ros-%{ros_distro}-%{RosPkgName}-%{version}.tar.gz +URL: https://github.com/ros-simulation/gazebo_ros_pkgs/tree/ros2 +Source0: %{RosPkgName}-%{src_version}.tar.gz -# ROS layout: everything under /opt/ros/<distro>; disable debugsubpackages -# and autodeps scanning under that prefix (ament indirect-dependency model). %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: gcc-c++ -BuildRequires: qt5-qtbase-devel BuildRequires: ros-%{ros_distro}-ament-cmake BuildRequires: ros-%{ros_distro}-builtin-interfaces BuildRequires: ros-%{ros_distro}-gazebo-dev BuildRequires: ros-%{ros_distro}-gazebo-msgs BuildRequires: ros-%{ros_distro}-geometry-msgs +BuildRequires: ros-%{ros_distro}-launch-ros BuildRequires: ros-%{ros_distro}-rcl BuildRequires: ros-%{ros_distro}-rclcpp BuildRequires: ros-%{ros_distro}-rclpy @@ -33,19 +29,18 @@ BuildRequires: ros-%{ros_distro}-rmw BuildRequires: ros-%{ros_distro}-sensor-msgs BuildRequires: ros-%{ros_distro}-std-srvs BuildRequires: ros-%{ros_distro}-tinyxml-vendor +BuildRequires: python3-lxml Requires: ros-%{ros_distro}-ros-workspace Requires: ros-%{ros_distro}-ament-cmake Requires: ros-%{ros_distro}-builtin-interfaces Requires: ros-%{ros_distro}-gazebo-dev Requires: ros-%{ros_distro}-gazebo-msgs -Requires: ros-%{ros_distro}-geometry-msgs Requires: ros-%{ros_distro}-launch-ros Requires: ros-%{ros_distro}-rcl Requires: ros-%{ros_distro}-rclcpp Requires: ros-%{ros_distro}-rclpy Requires: ros-%{ros_distro}-rmw -Requires: ros-%{ros_distro}-sensor-msgs Requires: ros-%{ros_distro}-std-srvs Requires: ros-%{ros_distro}-tinyxml-vendor Requires: python3-lxml @@ -55,41 +50,38 @@ Provides: %{name}-doc = %{version}-%{release} Provides: %{name}-runtime = %{version}-%{release} %description -Utilities to interface with Gazebo through ROS. - -This package is part of the ROS 2 %{ros_distro} distribution. It wraps the -gazebo_ros package from the gazebo_ros_pkgs repository, providing nodes and -plugins that bridge Gazebo Classic with ROS 2. +Utilities to interface with %prep -%autosetup -n %{name}-%{version} +%autosetup -n %{RosPkgName}-%{src_version} %build -cd gazebo_ros [ -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 -cmake \ - -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \ - -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ - -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ - -DBUILD_TESTING=OFF \ - -DTESTING=OFF \ - -DCMAKE_SUPPRESS_REGENERATION=ON \ - -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX \ - -DSETUPTOOLS_DEB_LAYOUT=OFF \ - .. +cd gazebo_ros +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 -cd gazebo_ros/.obj +[ -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 gazebo_ros +cd .obj make install DESTDIR=%{buildroot} %files /opt/ros/%{ros_distro} %changelog -* Wed Sep 23 2026 openEuler ROS SIG <ros@openeuler.org> - 3.9.0-1 -- Initial package of gazebo_ros 3.9.0 for ROS 2 humble +* Fri Oct 09 2026 ai-importer <ai-importer@openeuler.org> - 3.7.0-1 +- Initial import (ROS batch) |
