diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-13 08:34:02 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-13 08:34:02 +0000 |
| commit | b3a5de2e50d60f99b2bd3c3b832f8f9e931e6189 (patch) | |
| tree | 43f8bd65f4d7a8c44778e1f49f086b65f8d1c241 | |
| parent | 142cb4a20d58ed4beef76605028dc57317c28012 (diff) | |
automatic import of ros-humble-draco-devel
| -rw-r--r-- | ros-humble-draco-devel.spec | 22 | ||||
| -rw-r--r-- | 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 <builder@openeuler.org> 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 <builder@openeuler.org> - 1.5.7-2 +- Switch to out-of-source build: Draco CMakeLists forbids in-source builds + * Tue Oct 13 2026 openEuler Builder <builder@openeuler.org> - 1.5.7-1 - Initial package @@ -1 +1 @@ -ae35a6a4978960e821204767e14b9c99 ros-humble-draco-devel-1.5.7.tar.gz +c26c001aeb0c07d3c5a9f24516d898ac ros-humble-draco-devel-1.5.7.tar.gz |
