summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--ros-humble-draco-devel.spec53
-rw-r--r--sources1
3 files changed, 55 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8a4bf96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ros-humble-draco-devel-1.5.7.tar.gz
diff --git a/ros-humble-draco-devel.spec b/ros-humble-draco-devel.spec
new file mode 100644
index 0000000..dee5a1a
--- /dev/null
+++ b/ros-humble-draco-devel.spec
@@ -0,0 +1,53 @@
+Name: ros-humble-draco-devel
+Version: 1.5.7
+Release: 1%{?dist}
+Summary: Library for compressing and decompressing 3D geometric meshes and point clouds
+
+License: Apache-2.0
+URL: https://github.com/google/draco
+# topdir: ros-humble-draco-devel-1.5.7
+Source0: https://github.com/google/draco/archive/refs/tags/1.5.7.tar.gz#/%{name}-%{version}.tar.gz
+
+Group: Development/Libraries
+Packager: openEuler Builder <builder@openeuler.org>
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: make
+BuildRequires: python3
+
+%description
+Draco is a library for compressing and decompressing 3D geometric meshes and
+point clouds. It is designed to reduce the complexity of transmitting 3D
+content by compressing 3D source assets. Draco was created by the Google
+Chrome media team to improve the graphics performance of web applications
+and other contexts where bandwidth is constrained.
+
+%prep
+%autosetup -n %{name}-%{version}
+
+%build
+%cmake \
+ -DBUILD_SHARED_LIBS=ON \
+ -DDRACO_TESTS=OFF \
+ -DDRACO_TRANSCODER_SUPPORTED=OFF
+%cmake_build
+
+%install
+%cmake_install
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/draco_encoder
+%{_bindir}/draco_decoder
+%{_libdir}/libdraco.so.9*
+%{_libdir}/libdraco.so
+%{_libdir}/libdraco.a
+%{_includedir}/draco/
+%{_datadir}/cmake/draco/
+%{_libdir}/pkgconfig/draco.pc
+
+%changelog
+* Tue Oct 13 2026 openEuler Builder <builder@openeuler.org> - 1.5.7-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..a15c37a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ae35a6a4978960e821204767e14b9c99 ros-humble-draco-devel-1.5.7.tar.gz