summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-20 09:13:01 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-20 09:13:01 +0000
commit0b4061da0d9335d7c47ffccaab6af5d891cf727b (patch)
tree1741bd7148f2aa1e0d874938a7814acd2e21bc40
parent9a3ac1986a443b694363aabe4ee9bfbdaab981ec (diff)
automatic import of ros-humble-foxglove-msgs
-rw-r--r--.gitignore1
-rw-r--r--foxglove-msgs.spec64
-rw-r--r--sources1
3 files changed, 66 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4364e9f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/foxglove-msgs-3.5.0.tar.gz
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 <kiro@openeuler.org> - 3.5.0-1
+- Initial package for ros-humble-foxglove-msgs
diff --git a/sources b/sources
new file mode 100644
index 0000000..dc10e7d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c501b5f9ce23e56cf6d1d08d64ddeea1 foxglove-msgs-3.5.0.tar.gz