Update to 7.1.0
Adhere to https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/
This commit is contained in:
parent
6db09dbccc
commit
d2cc020b20
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@
|
|||||||
/openvdb-6.1.0.tar.gz
|
/openvdb-6.1.0.tar.gz
|
||||||
/openvdb-6.2.0.tar.gz
|
/openvdb-6.2.0.tar.gz
|
||||||
/openvdb-7.0.0.tar.gz
|
/openvdb-7.0.0.tar.gz
|
||||||
|
/openvdb-7.1.0.tar.gz
|
||||||
|
24
openvdb.spec
24
openvdb.spec
@ -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+.
|
# Set to 1 to enable testsuite. Fails everywhere with GCC 8+.
|
||||||
%global with_tests 0
|
%global with_tests 0
|
||||||
|
|
||||||
Name: openvdb
|
Name: openvdb
|
||||||
Version: 7.0.0
|
Version: 7.1.0
|
||||||
Release: 9%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: C++ library for sparse volumetric data discretized on three-dimensional grids
|
Summary: C++ library for sparse volumetric data discretized on three-dimensional grids
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
URL: http://www.openvdb.org/
|
URL: http://www.openvdb.org/
|
||||||
@ -95,10 +98,8 @@ sed -i \
|
|||||||
-e 's|lib$|%{_lib}|g' \
|
-e 's|lib$|%{_lib}|g' \
|
||||||
%{name}/CMakeLists.txt %{name}/python/CMakeLists.txt
|
%{name}/CMakeLists.txt %{name}/python/CMakeLists.txt
|
||||||
|
|
||||||
mkdir build
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd build
|
|
||||||
export CXXFLAGS="%{optflags} -Wl,--as-needed"
|
export CXXFLAGS="%{optflags} -Wl,--as-needed"
|
||||||
# Ignore versions (python 3, etc.)
|
# Ignore versions (python 3, etc.)
|
||||||
%cmake \
|
%cmake \
|
||||||
@ -115,19 +116,16 @@ export CXXFLAGS="%{optflags} -Wl,--as-needed"
|
|||||||
-DOPENVDB_ENABLE_RPATH=OFF \
|
-DOPENVDB_ENABLE_RPATH=OFF \
|
||||||
-DOPENVDB_INSTALL_CMAKE_MODULES=OFF \
|
-DOPENVDB_INSTALL_CMAKE_MODULES=OFF \
|
||||||
-DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch} \
|
-DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch} \
|
||||||
..
|
.
|
||||||
%make_build
|
%cmake_build
|
||||||
popd
|
|
||||||
|
|
||||||
%if 0%{?with_tests}
|
%if 0%{?with_tests}
|
||||||
%check
|
%check
|
||||||
%make test
|
%ctest test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd build
|
%cmake_install
|
||||||
%make_install
|
|
||||||
popd
|
|
||||||
|
|
||||||
# Let RPM pick up HTML documents in the files section
|
# Let RPM pick up HTML documents in the files section
|
||||||
mv %{buildroot}%{_prefix}/doc/html .
|
mv %{buildroot}%{_prefix}/doc/html .
|
||||||
@ -154,6 +152,10 @@ find %{buildroot} -name '*.a' -delete
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 14 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 7.1.0-1
|
||||||
|
- Update to 7.1.0
|
||||||
|
- Adhere to https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/
|
||||||
|
|
||||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-9
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-9
|
||||||
- Second attempt - Rebuilt for
|
- Second attempt - Rebuilt for
|
||||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (openvdb-7.0.0.tar.gz) = f5321b22b10e192012d544cc02921d3d52f621778ec5aa21ba6d450f3e29f2fdbd76486ad390a0c008394dbc6ee4aeecc04527ef30e73adf71c1a08a021746b7
|
SHA512 (openvdb-7.1.0.tar.gz) = 49806375f7e6d7b12eaba24e672a068531d2f8a05f12eba29069710d2682f9983f9e6ad26047eed4b28e337f8d0e738b90130582863c710e8dd1e720bf0addad
|
||||||
|
Loading…
Reference in New Issue
Block a user