Compare commits

...

10 Commits
rawhide ... f32

Author SHA1 Message Date
Luya Tshimbalanga ee3c8b69f7
Update to 8.0.1 2021-02-08 23:17:27 -08:00
Luya Tshimbalanga 7ee68fbda7
Update to 7.2.0 2021-02-08 01:02:46 -08:00
Luya Tshimbalanga 41a02c3401
Update to 7.2.0 2021-02-08 00:50:07 -08:00
Luya Tshimbalanga 0b3d644562
Update to 8.0.1 2021-02-08 00:15:51 -08:00
Luya Tshimbalanga ab4f35183e
Rebuild for OpenEXR 2.5.3. 2021-01-21 00:40:12 -08:00
Luya Tshimbalanga 36f9faf394
Rebuild for OpenEXR 2.5.3. 2021-01-21 00:22:30 -08:00
Richard Shaw 00ab0adcf9
Rebuild for OpenEXR 2.5.3. 2021-01-20 23:43:47 -08:00
Simone Caronni 2cea44a895 Fix typo 2020-08-24 16:42:18 +02:00
Simone Caronni 52adfd2343 List shared object versions 2020-08-24 16:24:28 +02:00
Simone Caronni ad51449b7c Update for new packaging guidelines and fix build 2020-08-21 22:03:24 +02:00
3 changed files with 51 additions and 25 deletions

6
.gitignore vendored
View File

@ -9,3 +9,9 @@
/openvdb-6.1.0.tar.gz
/openvdb-6.2.0.tar.gz
/openvdb-7.0.0.tar.gz
<<<<<<< HEAD
/openvdb-7.2.0.tar.gz
=======
/openvdb-8.0.0.tar.gz
/openvdb-8.0.1.tar.gz
>>>>>>> f33

View File

@ -1,9 +1,12 @@
# Force out of source build
%undefine __cmake_in_source_build
# Set to 1 to enable testsuite. Fails everywhere with GCC 8+.
%global with_tests 0
Name: openvdb
Version: 7.0.0
Release: 9%{?dist}
Version: 8.0.1
Release: 1%{?dist}
Summary: C++ library for sparse volumetric data discretized on three-dimensional grids
License: MPLv2.0
URL: http://www.openvdb.org/
@ -73,7 +76,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
@ -90,15 +93,15 @@ This package contains the Python module.
%prep
%autosetup
%autosetup
# 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
mkdir build
%build
pushd build
export CXXFLAGS="%{optflags} -Wl,--as-needed"
# Ignore versions (python 3, etc.)
%cmake \
@ -114,23 +117,19 @@ export CXXFLAGS="%{optflags} -Wl,--as-needed"
-DOPENVDB_BUILD_UNITTESTS=OFF \
-DOPENVDB_ENABLE_RPATH=OFF \
-DOPENVDB_INSTALL_CMAKE_MODULES=OFF \
-DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch} \
..
%make_build
popd
-DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch}
%cmake_build
%if 0%{?with_tests}
%check
%make test
%ctest test
%endif
%install
pushd build
%make_install
popd
%cmake_install
# Let RPM pick up HTML documents in the files section
mv %{buildroot}%{_prefix}/doc/html .
# Let RPM pick up html documents in the files section
mv %{buildroot}%{_docdir}/OpenVDB/html .
rm -fr %{buildroot}%{_datadir}/doc
find %{buildroot} -name '*.a' -delete
@ -139,9 +138,10 @@ find %{buildroot} -name '*.a' -delete
%{_bindir}/vdb_print
%files libs
%license %{name}/LICENSE %{name}/COPYRIGHT
%license LICENSE
%doc README.md CHANGES
%{_libdir}/*.so.*
%{_libdir}/lib%{name}.so.%{version}
%{_libdir}/lib%{name}.so.8.0
%if 0%{?fedora}
%files -n python3-%{name}
@ -151,15 +151,35 @@ find %{buildroot} -name '*.a' -delete
%files devel
%doc html
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/lib%{name}.so
%changelog
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-9
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Feb 05 2021 Luya Tshimbalanga <luya@fedoraproject.org> - 8.0.1-1
- Update to 8.0.1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jan 25 2021 Kalev Lember <klember@redhat.com> - 8.0.0-5
- Rebuilt for Boost 1.75
* Sun Jan 24 2021 Luya Tshimbalanga <luya@fedoraproject.org> - 8.0.0-4
- Rebuild to resolve .so dependency
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 8.0.0-3
- Rebuilt for Boost 1.75
* Fri Jan 01 2021 Richard Shaw <hobbes1069@gmail.com> - 8.0.0-2
- Rebuild for OpenEXR 2.5.3.
* 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.
* Fri Aug 21 2020 Simone Caronni <negativo17@gmail.com> - 7.0.0-10
- Update for new packaging guidelines and fix build.
* Sun Jun 21 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 7.0.0-7
- Disable jemalloc build for RHEL and its derivative

View File

@ -1 +1 @@
SHA512 (openvdb-7.0.0.tar.gz) = f5321b22b10e192012d544cc02921d3d52f621778ec5aa21ba6d450f3e29f2fdbd76486ad390a0c008394dbc6ee4aeecc04527ef30e73adf71c1a08a021746b7
SHA512 (openvdb-8.0.1.tar.gz) = 6a5a8b637429295efa72494aef82ff92dd83092591b713f56930ccf4aab3a33806d1263bfd090c27239eab97b4fdc053288dc545e631f8a7d4ca180a32331be2