forked from pool/paraview
Accepting request 800819 from science
- 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. OBS-URL: https://build.opensuse.org/request/show/800819 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/paraview?expand=0&rev=31
This commit is contained in:
commit
72749e254f
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 17:56:54 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- 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 <foss@grueninger.de>
|
||||
|
||||
|
@ -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}/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user