From 0b4061da0d9335d7c47ffccaab6af5d891cf727b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 20 Sep 2026 09:13:01 +0000 Subject: automatic import of ros-humble-foxglove-msgs --- foxglove-msgs.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 foxglove-msgs.spec (limited to 'foxglove-msgs.spec') diff --git a/foxglove-msgs.spec b/foxglove-msgs.spec new file mode 100644 index 0000000..a207964 --- /dev/null +++ b/foxglove-msgs.spec @@ -0,0 +1,64 @@ +%define ros_distro humble +%define RosPkgName foxglove-msgs + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 3.5.0 +Release: 1%{?dist} +Summary: Foxglove visualization messages for ROS 2 +License: MIT +URL: https://foxglove.dev/ +Source0: foxglove-msgs-%{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: ros-%{ros_distro}-ament-cmake +BuildRequires: ros-%{ros_distro}-rosidl-default-generators +BuildRequires: ros-%{ros_distro}-ros-environment +BuildRequires: ros-%{ros_distro}-builtin-interfaces +BuildRequires: ros-%{ros_distro}-geometry-msgs + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-rosidl-default-runtime +Requires: ros-%{ros_distro}-builtin-interfaces +Requires: ros-%{ros_distro}-geometry-msgs + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +foxglove_msgs provides visualization messages that are supported by Foxglove. + +%prep +%autosetup -n foxglove-msgs-%{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 .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 .obj +make install DESTDIR=%{buildroot} + +%files +/opt/ros/%{ros_distro}/ + +%changelog +* Sun Sep 20 2026 Kiro - 3.5.0-1 +- Initial package for ros-humble-foxglove-msgs -- cgit v1.2.3