Update to 8.0.0

This commit is contained in:
Luya Tshimbalanga 2020-12-26 14:17:59 -08:00
parent 1041f13b39
commit 0f5b374f4c
No known key found for this signature in database
GPG Key ID: 5E528174D8A2609A
3 changed files with 17 additions and 9 deletions

2
.gitignore vendored
View File

@ -10,3 +10,5 @@
/openvdb-6.2.0.tar.gz
/openvdb-7.0.0.tar.gz
/openvdb-7.1.0.tar.gz
/openvdb-7.2.0.tar.gz
/openvdb-8.0.0.tar.gz

View File

@ -5,8 +5,8 @@
%global with_tests 0
Name: openvdb
Version: 7.1.0
Release: 2%{?dist}
Version: 8.0.0
Release: 1%{?dist}
Summary: C++ library for sparse volumetric data discretized on three-dimensional grids
License: MPLv2.0
URL: http://www.openvdb.org/
@ -64,6 +64,7 @@ volumetric applications typically encountered in feature film production.
%package devel
Summary: Development files for %{name}
BuildRequires: texlive-latex
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-doc < 6.1.0-1
Provides: %{name}-doc = %{version}-%{release}
@ -76,7 +77,7 @@ applications that use %{name}.
%package -n python3-%{name}
Summary: OpenVDB Python module
BuildRequires: pkgconfig(python3)
BuildRequires: python3-numpy
BuildRequires: python3dist(numpy)
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python3 < 6.2.0
Obsoletes: %{name}-python2 < 5.1.0-1
@ -96,7 +97,7 @@ This package contains the Python module.
# Hardcoded values
sed -i \
-e 's|lib$|%{_lib}|g' \
%{name}/CMakeLists.txt %{name}/python/CMakeLists.txt
%{name}/%{name}/CMakeLists.txt %{name}/%{name}/python/CMakeLists.txt
%build
@ -115,8 +116,7 @@ export CXXFLAGS="%{optflags} -Wl,--as-needed"
-DOPENVDB_BUILD_UNITTESTS=OFF \
-DOPENVDB_ENABLE_RPATH=OFF \
-DOPENVDB_INSTALL_CMAKE_MODULES=OFF \
-DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch} \
.
-DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch}
%cmake_build
%if 0%{?with_tests}
@ -137,10 +137,10 @@ find %{buildroot} -name '*.a' -delete
%{_bindir}/vdb_print
%files libs
%license %{name}/LICENSE %{name}/COPYRIGHT
%license LICENSE
%doc README.md CHANGES
%{_libdir}/lib%{name}.so.%{version}
%{_libdir}/lib%{name}.so.7.1
%{_libdir}/lib%{name}.so.8.0
%if 0%{?fedora}
%files -n python3-%{name}
@ -153,6 +153,12 @@ find %{buildroot} -name '*.a' -delete
%{_libdir}/lib%{name}.so
%changelog
* Thu Dec 24 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 8.0.0-1
- Update to 8.0.0
* Thu Dec 10 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 7.2.0-1
- Update to 7.2.0
* Mon Aug 24 2020 Simone Caronni <negativo17@gmail.com> - 7.1.0-2
- List shared object versions.

View File

@ -1 +1 @@
SHA512 (openvdb-7.1.0.tar.gz) = 49806375f7e6d7b12eaba24e672a068531d2f8a05f12eba29069710d2682f9983f9e6ad26047eed4b28e337f8d0e738b90130582863c710e8dd1e720bf0addad
SHA512 (openvdb-8.0.0.tar.gz) = b26dea41e5305bbe023362241b82dda7e168f8df9526270e6b214f8442ce7e2135889d79a1944928478ae1a2b24866381b3be4d2d1af7a5726e39724055a6e78