From b3a5de2e50d60f99b2bd3c3b832f8f9e931e6189 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 13 Oct 2026 08:34:02 +0000 Subject: automatic import of ros-humble-draco-devel --- ros-humble-draco-devel.spec | 22 ++++++++++++++++++---- sources | 2 +- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/ros-humble-draco-devel.spec b/ros-humble-draco-devel.spec index dee5a1a..aae5f88 100644 --- a/ros-humble-draco-devel.spec +++ b/ros-humble-draco-devel.spec @@ -1,6 +1,6 @@ Name: ros-humble-draco-devel Version: 1.5.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for compressing and decompressing 3D geometric meshes and point clouds License: Apache-2.0 @@ -12,6 +12,7 @@ Group: Development/Libraries Packager: openEuler Builder BuildRequires: cmake +BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: python3 @@ -27,14 +28,24 @@ and other contexts where bandwidth is constrained. %autosetup -n %{name}-%{version} %build -%cmake \ +# Draco forbids in-source builds (CMakeLists.txt guard: CMAKE_SOURCE_DIR == +# CMAKE_BINARY_DIR -> FATAL_ERROR). Use an out-of-source build directory. +mkdir -p build +cd build +cmake .. \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ + -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG \ -DBUILD_SHARED_LIBS=ON \ -DDRACO_TESTS=OFF \ -DDRACO_TRANSCODER_SUPPORTED=OFF -%cmake_build +%make_build %install -%cmake_install +cd build +%make_install %files %license LICENSE @@ -49,5 +60,8 @@ and other contexts where bandwidth is constrained. %{_libdir}/pkgconfig/draco.pc %changelog +* Tue Oct 13 2026 openEuler Builder - 1.5.7-2 +- Switch to out-of-source build: Draco CMakeLists forbids in-source builds + * Tue Oct 13 2026 openEuler Builder - 1.5.7-1 - Initial package diff --git a/sources b/sources index a15c37a..f60ea40 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ae35a6a4978960e821204767e14b9c99 ros-humble-draco-devel-1.5.7.tar.gz +c26c001aeb0c07d3c5a9f24516d898ac ros-humble-draco-devel-1.5.7.tar.gz -- cgit v1.2.3