package created using the webbuild interface [release 1.5.7-1mamba;Thu Nov 21 2024]
This commit is contained in:
parent
e77f253e3f
commit
665970d528
@ -1,2 +1,4 @@
|
||||
# draco
|
||||
|
||||
Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
|
||||
|
||||
|
80
draco.spec
Normal file
80
draco.spec
Normal file
@ -0,0 +1,80 @@
|
||||
Name: draco
|
||||
Version: 1.5.7
|
||||
Release: 1mamba
|
||||
Summary: A library for compressing and decompressing 3D geometric meshes and point clouds
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://google.github.io/draco/
|
||||
Source: https://github.com/google/draco.git/%{version}/draco-%{version}.tar.bz2
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for %{name}
|
||||
|
||||
%description -n lib%{name}
|
||||
This package contains shared libraries for %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%cmake_install
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/draco_decoder
|
||||
%{_bindir}/draco_decoder-%{version}
|
||||
%{_bindir}/draco_encoder
|
||||
%{_bindir}/draco_encoder-%{version}
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdraco.so.*
|
||||
%doc AUTHORS LICENSE
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/draco
|
||||
%{_includedir}/draco/*
|
||||
%{_libdir}/libdraco.a
|
||||
%{_libdir}/libdraco.so
|
||||
%{_libdir}/pkgconfig/draco.pc
|
||||
%dir %{_datadir}/cmake/draco
|
||||
%{_datadir}/cmake/draco/draco-*.cmake
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Thu Nov 21 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.7-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user