diff --git a/paraview.changes b/paraview.changes index 08c3cd8..29a1187 100644 --- a/paraview.changes +++ b/paraview.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue May 5 17:56:54 UTC 2020 - Atri Bhattacharya + +- Disable the Paraview Protobuf module for openSUSE:Leap <= 15.1, + as the FindProtobuf module bundled with cmake < 3.13 is + incompatible with the requirements here. +- Package static libraries as part of devel-static package; this + is needed, for example, to build plugins against paraview. See + https://gitlab.kitware.com/paraview/paraview/-/issues/19706#note_746038. + ------------------------------------------------------------------- Wed Apr 8 18:26:31 UTC 2020 - Christoph G diff --git a/paraview.spec b/paraview.spec index 35c7227..c16e622 100644 --- a/paraview.spec +++ b/paraview.spec @@ -61,7 +61,7 @@ Patch11: 0001-Add-libogg-to-IOMovie-target-link-libraries.patch Patch13: fix-loguru-missing-links.patch BuildRequires: Mesa-devel BuildRequires: cgns-devel -BuildRequires: cmake >= 3.3 +BuildRequires: cmake >= 3.13 BuildRequires: desktop-file-utils BuildRequires: double-conversion-devel BuildRequires: doxygen @@ -165,6 +165,15 @@ Requires: python3-matplotlib Requires: python3-numpy Requires: python3-qt5 +%package devel-static +Summary: Static libraries for Paraview, needed to building plugins +Group: Productivity/Scientific/Physics +Requires: %{name}-devel = %{version} + +%description devel-static +This package contains the static libraries for Paraview, needed, for +example, to build plugins for paraview. + %description -n python3-paraview This package provides the python(3) bindings and modules for paraview. @@ -214,7 +223,6 @@ find . \( -name \*.txt -o -name \*.xml -o -name '*.[ch]' -o -name '*.[ch][px][px %cmake_install # UNNECESSARY STATIC LIBS -rm -fr %{buildroot}%{_libdir}/*.a rm %{buildroot}%{_libdir}/%{name}-%{major_ver}/plugins/GeodesicMeasurement/libFmmMesh.a # INSTALL DOCUMENTATION USED BY THE HELP MENU IN MAIN APP @@ -258,6 +266,9 @@ rm %{buildroot}%{_bindir}/paraview-config %{_bindir}/vtk* %{_includedir}/%{name}* +%files devel-static +%{_libdir}/*.a + %files -n python3-paraview %{python3_sitearch}/%{name}/