From 7adf99108073f92b3e665ffefe225eab57d3f4e6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 21 Sep 2026 02:02:17 +0000 Subject: automatic import of ros-humble-nao-meshes --- nao-meshes.spec | 25 +++++++++---------------- sources | 2 +- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/nao-meshes.spec b/nao-meshes.spec index 280c10f..948fedf 100644 --- a/nao-meshes.spec +++ b/nao-meshes.spec @@ -1,19 +1,14 @@ %define ros_distro humble %define RosPkgName nao-meshes -%global commit 25780ffd9325c3af3d63ecf76e1c11ca08ea26b4 +%define src_version 2.1.2-1 Name: ros-%{ros_distro}-%{RosPkgName} Version: 2.1.2 Release: 1%{?dist} Summary: ROS2 Meshes for the NAO robot License: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License -URL: https://github.com/ros-naoqi/nao_meshes2 -# GitHub commit 归档,解压根目录为纯完整 SHA(spec-rules-ros §2 实踩纪律) -Source0: https://github.com/ros-naoqi/nao_meshes2/archive/%{commit}.tar.gz#/%{commit}.tar.gz - -# 上游 CMakeLists.txt 第 21 行硬编码架构检查:仅提供 x86/x86_64 预编译安装器 -# aarch64 及其他架构在 cmake 配置阶段直接 FATAL_ERROR,无法绕过 -ExclusiveArch: x86_64 +URL: https://github.com/ros-naoqi/nao_meshes2/tree/main +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') @@ -31,15 +26,13 @@ Provides: %{name}-doc = %{version}-%{release} Provides: %{name}-runtime = %{version}-%{release} %description -ROS2 Meshes for the NAO robot. Provides mesh and texture assets for -the SoftBank Robotics NAO robot, installed under the ROS 2 share prefix. +ROS2 Meshes for the NAO robot %prep -# GitHub commit 归档解压根目录为纯完整 SHA(非 -) -%autosetup -n %{commit} +%autosetup -n %{RosPkgName}-%{src_version} %build -source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true +[ -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 @@ -54,7 +47,7 @@ mkdir -p .obj && cd .obj make %{?_smp_mflags} %install -source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true +[ -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 .obj @@ -64,5 +57,5 @@ make install DESTDIR=%{buildroot} /opt/ros/%{ros_distro} %changelog -* Tue Sep 16 2026 ai-importer - 2.1.2-1 -- Initial import; restrict to x86_64 (upstream installer is x86-only) +* Mon Sep 21 2026 ai-importer - 2.1.2-1 +- Initial import (ROS batch) diff --git a/sources b/sources index 02e0552..091606b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -328496a171607b786a93e6d962fdfd2e 25780ffd9325c3af3d63ecf76e1c11ca08ea26b4.tar.gz +60b19dc5cc654856f94596e321380bcc nao-meshes-2.1.2-1.tar.gz -- cgit v1.2.3