SHA256
1
0
forked from pool/paraview
paraview/paraview.spec

315 lines
10 KiB
RPMSpec
Raw Normal View History

#
# spec file for package paraview
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define major_ver 5
%define minor_ver 11
%define short_ver %{major_ver}.%{minor_ver}
%define shlib libparaview%{major_ver}_%{minor_ver}
%if 0%{?suse_version} <= 1500
%bcond_with pugixml
%bcond_with verdict
%else
%bcond_without pugixml
%bcond_without verdict
%endif
%if 0%{?sle_version} == 150300 && 0%{?is_opensuse}
# No nlohmann_json in Leap 15.3
%bcond_with nlohmann
# libproj too old in Leap 15.3
%bcond_with proj
%else
%bcond_without nlohmann
%bcond_without proj
%endif
%bcond_without gl2ps
# Need patched version with HPDF_SHADING
%bcond_with haru
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
%define __builder ninja
Name: paraview
Version: %{short_ver}.2
Release: 0
Summary: Data analysis and visualization application
License: BSD-3-Clause
Group: Productivity/Scientific/Physics
URL: https://www.paraview.org
Source0: https://www.paraview.org/files/v%{short_ver}/ParaView-v%{version}.tar.xz
Source1: %{name}-rpmlintrc
# CAUTION: GettingStarted may or may not be updated with each minor version
Source2: https://www.paraview.org/files/v%{short_ver}/ParaViewGettingStarted-%{major_ver}.%{minor_ver}.1.pdf
Source3: https://www.paraview.org/files/v%{short_ver}/ParaViewTutorial-%{major_ver}.%{minor_ver}.1.pdf
# PATCH-FIX-UPSTREAM paraview-desktop-entry-fix.patch badshah400@gmail.com -- Fix desktop menu entry by inserting proper required categories
Patch0: paraview-desktop-entry-fix.patch
# PATCH-FIX-OPENSUSE fix-libharu-missing-m.patch -- missing libraries for linking (gh#libharu/libharu#213)
Patch2: fix-libharu-missing-m.patch
BuildRequires: Mesa-devel
BuildRequires: cgns-devel
BuildRequires: cmake >= 3.13
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: desktop-file-utils
BuildRequires: double-conversion-devel
BuildRequires: doxygen
BuildRequires: fdupes
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
BuildRequires: gnuplot
BuildRequires: graphviz
BuildRequires: hdf5-devel
BuildRequires: libboost_graph-devel
BuildRequires: libboost_headers-devel
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
%if %{with gl2ps}
BuildRequires: gl2ps-devel >= 1.4.1
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
%endif
%if %{with haru}
BuildRequires: libharu-devel > 2.3.0
%endif
BuildRequires: libnetcdf_c++-devel
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
BuildRequires: ninja
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: python3-Sphinx
BuildRequires: python3-Twisted
BuildRequires: python3-devel
BuildRequires: python3-matplotlib
BuildRequires: python3-qt5-devel
BuildRequires: readline-devel
BuildRequires: sqlite3
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: utfcpp-devel
BuildRequires: wget
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Help)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5WebEngine)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(eigen3) >= 2.91.0
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(jsoncpp) >= 0.7.0
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(liblz4) >= 1.7.3
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libpng)
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: pkgconfig(libpqxx)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(netcdf)
BuildRequires: pkgconfig(ogg)
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: pkgconfig(openssl)
Accepting request 1100946 from home:vicentebolea:branches:science - Fixes issue that protobuf demands the use of -std=c++17. This was done by building ParaView with -std=c++17. - Update to version 5.11.1: * Many changes, see <https://www.kitware.com/paraview-5-11-1-release-notes/>. - Build with system verdict for openSUSE > 1500. - Update to version 5.11.0: * Many changes, see <https://www.kitware.com/paraview-5-11-0-release-notes/>. - Drop paraview-include-sstream.patch: incorporated upstream. - New BuildRequires: sqlite3, pkgconfig(liblzma), pkgconfig(nlohmann_json), pkgconfig(proj), pkgconfig(sqlite3). - Build without system nlohmann_json for Leap 15.3 and older. - Update rpmlintrc file to suppress false positives. - Pass CMAKE_SKIP_INSTALL_RPATH=ON for openSUSE > 1500 as well to enure no left-over rpaths in binaries; this fixes build failures in Factory. - Revert gl2ps change. TW and 15.4 have a recent gl2ps, and the 15.3 package will not be upgraded (but is available in science). - Fixes cli11 dependency for 15.3. - Drops system gl2ps on Leap 15.x since a higher version of gl2ps is needed than the system provided version on Leap 15.x. - Update to version 5.10.1: * User interface: - State files appear as datasets. - File dialog issues in client/server mode. - Stride in Animation View is too restricted. - Context menu in file dialog doesn't work on macOS with Qt 5.15.1. - Python tracing fails when a custom source exists. - Python Shell broken by any custom filter. - Stereo broken in CAVE environments. - Parallel Coordinates segfault. - Can't set frame rate when saving MP4 animation. - command_button widget is not visible anymore. - Client information does not show VTK version. - Only fetch favorites from server on creation. * Filters: - Ghost cell generator crash. - Redistribute dataset on Image Data then generate Ghost cells seems to give the wrong result. - TemporalParticlesToPathlines fails with AMReX particle data: "The input dataset did not have a valid DATA_TIME_STEPS information key". * Readers: - Sideset error with IOSS reader. - IOSS reader is slow with small, parallel dataset. - IOSS reader and set variables don't work. - Restart file fails with IOSS reader. - PIO reader seg faults on warnings for client-server. - PIO reader fails on extra file in directory. - PIO reader access to restart block and even/odd checkpoints. - openPMD: Fix Particle Time Series. * Catalyst: - Multiple grids with multiple pipelines produces failure in coprocessing.py. - SaveExtract volumetric cinema database crash. * Build: - Guard the list of required vtk components for paraview package. - pqPythonUtils.h not installed. - Update guide books: * ParaViewGettingStarted-5.10.1.pdf. * ParaViewTutorial-5.10.1.pdf. - Adapt defined macros for versioning to be more recyclable. - Drop some zero-length cmake files from %{_libdir}/cmake/ which are useless anyway. - Drop unused exodusII-devel build dependency (used vendored version and defaults to IOSS based exodus reader since PV 5.10). - Use system gl2ps also on Leap 15.x - Update to version 5.10.0: * Long list of changes, see https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.10.0.md - Drop patches incorporated upstream: * paraview-gcc11-limits.patch. * paraview-vtkioss-link-pthread.patch. - Update guides and tutorials. - Update _constraits to require 22 GiB for build to prevent out-of-disk-space build failures. - Add arguments to cmake command to turn off system installed libraries individually where these are not available; specifically turn off system vtkcatalyst, exprtk, fmt, and ioss. - Add paraview-include-sstream.patch -- Add patch from upstream to include missing headers and adapt to apply with p1 (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8597). - Add rpmlintrc snippet to suppress warnings about shared lib versioning: we use a versioning consistent with package major.minor version which is needed due to upstream's otherwise inconsistent so versions, but rpmlint does not like this. - Update constraints for riscv64 - Drop useless ldconfig dependencies for the paraview.rpm main package, there are no standard location shared libs in it. - Add paraview-gcc11-limits.patch: Include limits header wherever needed to fix compilation with GCC 11 [https://gitlab.kitware.com/vtk/vtk/-/issues/18194]. - Update to vetsion 5.9.1: * See https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.9.1.md. - Drop paraview-Adaptors-include-txx-file.patch: incorporated upstream. - Update to version 5.9.0: * See https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.9.0.md. - Add paraview-vtkioss-link-pthread.patch: Link against pthread when building vtkioss [https://gitlab.kitware.com/paraview/paraview/-/issues/20495]. - Add paraview-Adaptors-include-txx-file.patch: Fix Cam adaptor template instantiation [https://gitlab.kitware.com/paraview/paraview/-/merge_requests/4729]. - PDF guide book ParaviewGuide-%{version}.pdf replaced by ParaviewTutorial-%{version}.pdf. - Drop upstream-incorporated patches: * paraview-vtkFreeTypeTools-internal-macro.patch. * fix-3d48a287-support-new-api-cgio_read_data_type.patch. * bundled_exodusii_add_missing_libpthread.patch. - Add paraview-vtkFreeTypeTools-internal-macro.patch -- vtkFreeTypeTools: avoid using an internal macro; patch taken from upstream vtk git and rebased to apply with -p1 - Update to version 5.8.1: * Long list of bug fixes, see https://blog.kitware.com/paraview-5-8-1-release-notes/. - Update manuals (ParaViewGettingStarted-5.8.1.pdf and ParaViewGuide-5.8.1.pdf) to latest version. - Disable on aarch64 since GLES isn't supported for bundled vtk but is needed for paraview. - Set CMAKE_SKIP_INSTALL_RPATH:BOOL=ON during %cmake for openSUSE Leap 15.2 and older to fix build failures. - Don't delete libFmmMesh.a static lib, it is referenced by installed cmake files and needed for plugin development. - Drop patches no longer needed: * 0001-Add-libogg-to-IOMovie-target-link-libraries.patch * fix-loguru-missing-links.patch * paraview-do-not-install-missing-vtk-doxygen-dir.patch * paraview-link-against-python.patch: pass DVTK_PYTHON_OPTIONAL_LINK=OFF to cmake instead (see https://gitlab.kitware.com/vtk/vtk/-/issues/17881). - Update bundled_exodusii_add_missing_libpthread.patch to version from upstream (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6865). - 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. - add patch fix-3d48a287-support-new-api-cgio_read_data_type.patch from upstream to fix build problem for Factory - Update minimum disk space required in _constraints: up to 16 GB now required. - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. - Drop fix-libhdf5-missing-m.patch: No longer needed. - Drop unused python-zope BuildRequires - Replace Qt5WebKit BuildRequires with Qt5WebEngine - Unbundle several dependencies, use system libraries: * double-conversion * CGNS * Eigen3 * GLEW * HDF5 * JsonCPP * liblz4 * netcdf * protobuf * PugiXML * Ogg/Theora - Add several patches from VTK package: * bundled_exodusii_add_missing_libpthread.patch * 0001-Add-libogg-to-IOMovie-target-link-libraries.patch * 0001-Allow-compilation-on-GLES-platforms.patch - Update to version 5.6.2: * Fixes a trackpad interaction bug on macOS. - Pass -ffat-lto-objects for static libs. - Update to version 5.6.1 https://blog.kitware.com/paraview-5-6-1-release-notes/ - using tar.xz instead of tar.gz file - Trim redundancies from description. - Add ldconfig dependency. Avoid xargs use where possible. - Update to version 5.6.0 https://blog.kitware.com/paraview-5-6-0-release-notes/ - add devel package - remove Tk build requirement and adjust description since ParaView hasn't used Tcl/Tk for quite a few years. - ParaViewTutorial file not updated and not available on upstream - drop patches already applied upstream * paraview-pythonqt-build-fix.patch * fix-hdf5-gcc8.patch * fix-qt-5.11-931c779.patch * fix-no-plugin-doc-dir.patch - modify partially applied patches * paraview-find-qhelpgenerator-qt5.patch - Update to version 5.5.2 see full changelog at https://blog.kitware.com/paraview-5-5-0-release-notes/ - Disable build of examples - Don't use VTKm as it cause CMake configure problems - drop patch paraview-default-qtstyle.patch as plastic style is no longer set by upstream - drop patch Fix-ParaViewDetermineVersion.patch as a similar change is included upstream - update patch paraview-fix-file-contains-date-time.patch - add patches fix-libhdf5-missing-m.patch and fix-libharu-missing-m.patch to add missing libraries to third-party dependencies included in ParaView - add patch fix-qt-5.11-931c779.patch to fix issue with Qt 5.11 - add patch fix-no-plugin-doc-dir.patch to remove reference to non-existant directory below a plug-in - add patch fix-hdf5-gcc8.patch to fix issue with GCC 8 taken from upstream - Trim goals from description, only the now counts. Trim marketing speech from description. - Update to version 5.4.1: * The black render window observed on some systems when FXAA was enabled or an object's opacity was less than 1 has been fixed. * Field output for cells with non-straight edges has been corrected. * Derivatives for quadratic triangles are now computed correctly. * A bug that occurred when generating a Catalyst script with no images output has been fixed. * A problem with writing animations as AVIs was fixed. * Logic in the CGNS reader was updated to correctly read all solution nodes for each centering type when FlowSolutionPointers are missing. * Fixed crash in CGNS reader when moving forward in time. * Fixed problem with long-running animations not advancing past a certain number of time steps. * Resolved issue where changing one file path in the state file loader "Choose File Names" dialog also changed the file paths of other files with the same type. * Addressed problem with enumerated property dependencies in ParaViewWeb. * Added ability to change the font size in the ParaView user interface. * Fixed BoxLib3D file reader. * State files now properly support files with relative paths. * Removed inappropriate scalar bar scaling when saving large screen shots. * A bug in the color mapping that in some cases incorrectly mapped some data values to the above-range color was fixed. * OSPRay can now be compiled in Cray programming environments and for the first time has support for Intel Skylake processors. * Added lower limit to how small the GUI font size can be. * Addressed issue affecting layouts when loading a state file from the Python console. - Update to version 5.4.0: * See https://blog.kitware.com/paraview-5-4-0-release-notes/ for a full list of updates. - Use the %%cmake macro instead of using cmake manually. - Minor rebase of existing patches for version update. - ExcludeArch for ix86 processors until 32 bit builds can be sorted out; issue reported upstream. - Update to version 5.3.0 * VTK-m Plugin for many-core systems * Reader and Writer Improvements and Additions * Fast approximate anti-aliasing (FXAA) is now on by default * new StreamLinesRepresentation plugin * Added LagrangianParticleTracker plugin * Python Enhancements * See a summary of changes at https://blog.kitware.com/paraview-5-3-0-release-notes/ - drop package paraview-plugin-SciberQuestToolKit as SQTK is no longer part of ParaView (see commit c2bc94c2efb66c4bb525383176688ddfd430ca26) - drop paraview-build-sciberquesttoolkit-with-opengl2.patch as SQTK is no longer build - add paraview-do-not-install-missing-vtk-doxygen-dir.patch to remove non-existing doxygen/doc/html folder from VTK. - modified paraview-find-qhelpgenerator-qt5.patch to adapt to partial inclusion of original patch to upstream - Replicate the %cmake macro manually, stripping out the problematic and unused options. In particular, this restores passing rpm_opt_flags to C/C++ during compilation. - Update paraview-fix-file-contains-date-time.patch to remove references to __DATE__ and __TIME__ also from Plugins/CDIReader/cdilib.c; suppresses an rpmlint warning. - Update %{name}-rpmlintrc file to also suppress warnings about: * no-manual-page-for-binary: upstream doesn't supply manpages and we don't care. * hidden-file-or-dir: this hidden file is really used as a catalogue of available plugins by paraview. - Update to version 5.2.0: See a summary of changes at: https://blog.kitware.com/paraview-5-2-0-release-notes/ . - Use cmake macros (except for %cmake) for %build and %install actions; drop the paraview_cmake_options and send the options directly to cmake. We do not use the %cmake macro because it passes the RPM optflags to cmake, and with paraview 5.2 these flags cause compilation errors; see https://gitlab.kitware.com/paraview/paraview/issues/17049. - Turn off system GL2PS and DIY for bundled VTK. - Switch to using Qt5 for openSUSE > 13.2 and Leap 42.2 and higher (Qt5 >= 5.6.0 is required). - Add BuildRequires on python-Sphinx, python-qt*-devel; new requirements. - Add BuildRequires on pkgconfig(libpng), pkgconfig(freetype2) and pkgconfig(xt); these are all required and being implicitly pulled in by libqt4-devel. - Add paraview-find-qhelpgenerator-qt5.patch: Help find qhelpgenerator-qt5 instead of qhelpgenerator when Qt5 is used. - Add paraview-pythonqt-build-fix.patch to fix build issues with PythonQtPlugin; patch taken from upstream. - Add paraview-build-sciberquesttoolkit-with-opengl2.patch to enable building of SciberQuestToolKit even when OpenGL2 is used as the default VTK rendering (needs testing). - Drop require-only-cmake-3_0.patch, cmake >= 3.3 is now required. - Add documentation linked to from the Help menu in main application as additional sources and install them where it looks for them (ParaViewGettingStarted-5.2.0.pdf, ParaViewGuide-5.2.0.pdf, ParaViewTutorial.pdf). - Send other docs to %{_docdir} by explicitly passing the cmake option VTK_INSTALL_DOC_DIR. - update to version 5.1.2 * Rendering translucent geometries: fixed client-server configurations when rendering remotely and resolved issues with multiple windows/views were present. * Exodus reader: Fixed bug in Exodus reader which was causing the reader to improperly read files with no timesteps. * Fixed the “?” button to show filter documentation. * Add option to Ghost Cells Generator filter to specify the number of ghost levels to generate. * Cinema Fixed SpecB was not revolving the camera around the data centroid. - adjust require-only-cmake-3_0.patch - update to version 5.1.0 + add OSPRay ray tracing renderer + interpolating point clouds + generic arrays + x-ray view + resampling to image + List of changes at http://www.paraview.org/Bug/changelog_page.php?version_id=122 - adjust patch paraview-default-qtstyle.patch - add require-only-cmake-3_0.patch to lower required CMake version to 3.0 - update to version 5.0.1 + Trace recorder fails for CTH data + improvements to cinema + Move Show Axis functionality into Edit Axes Grid + hover points on is deathly slow remote server + CGNS reader not available in non-MPI windows binaries + update pvospray + Keyboard shortcut Alt+A is assigned twice + Rubber band selection is broken + List of changes at http://www.paraview.org/Bug/changelog_page.php?version_id=126 - Add disk constraint 8GB - Update to version 5.0.0 + New Rendering Engine + OpenSWR and Mesa support + Include OSPray + Off-screen rendering with EGL + Community Atmosphere Model (Cam5) Catalyst Adaptor + Accelerated Algorithms plug-in + List of changes at http://www.paraview.org/Bug/changelog_page.php?version_id=121 - Update to version 4.4.0: + List of changes at http://www.paraview.org/Bug/changelog_page.php?version_id=114. - Drop paraview-freetype-2.5.4.patch: incorporated upstream. - Update to version 4.3.1: + See list of changes at http://www.paraview.org/Bug/changelog_page.php - Packaging changes: + Install new file /usr/share/cmake/hdf5/libhdf5.settings - Add paraview-freetype-2.5.4.patch: Fix build with FreeType 2.5.4 API changes. - Update to version 4.2.0: + See list of changes at http://vtk.org/Bug/changelog_page.php?version_id=108 - Packaging changes: + Drop paraview-Mesa10.3-build-failures.patch as this patch has been included upstream - Update to version 4.2.0-RC1: + See list of changes at http://vtk.org/Bug/changelog_page.php?version_id=108 - Packaging changes: + Add paraview-desktop-entry-fix.patch to fix paraview's desktop menu entry by properly inserting required key-value pairs + Drop paraview-SciberQuestToolKit-install-path.patch; no longer needed as properly implemented upstream + Rebase carried-over patches to apply cleanly against present version + Add paraview-Mesa10.3-build-failures.patch to workaround build failures when compiling against Mesa >= 10.3; patch taken from upstream git and rebased; applied only for openSUSE >= 13.2 + Specfile changes: - Prepare for gcc 4.9.0 by working around a compiler issue - Package .desktop entry and icon files; post(un) scriptlets for updating hicolor icon theme and updating desktop menu are used - Package appdata file - Fix python-bytecode-inconsistent-mtime rpmlint warnings by recompiling all relevant .py files. - Build with system zope (python-zope.interface) and twisted (python-twisted); introduces BuildRequires and Requires on the two packages - Remove unnecessary Requires on python-matplotlib. - Update to version 4.1.0: + See list of changes at http://vtk.org/Bug/changelog_page.php?version_id=102 - Packaging changes: + Use full URL for source tarball + Drop patches: - paraview-fix-vtkpython-modules-install-dir.patch: corrected upstream - paraview-no-return-in-nonvoid-function.patch: corrected upstream + Rebase existing patches + Also fix a new occurrance of __DATE__ in a source file within paraview-fix-file-contains-date-time.patch + Change build type to RelWithDebInfo from Release (DCMAKE_BUILD_TYPE=RelWithDebInfo). - Update to version 4.0.1: + Undocumented upstream changes - Changes from version 4.0: + Too many to list, see http://paraview.org/Bug/changelog_page.php?version_id=52 for a complete list - Drop paraview-fix-build-with-system-jpeg.patch; implemented upstream - Use matplotlib during building to enable MathText rendering; introduces build time and runtime requirement on python-matplotlib - Add patches: + paraview-fix-vtkpython-modules-install-dir.patch: Workaround vtk's python modules getting installed in the wrong location; upstream bug report at http://paraview.org/Bug/view.php?id=14168 + paraview-fix-file-contains-date-time.patch: Remove reference to __DATE__ and __TIME__ from source files - Use fdupes to link duplicated files. - Enable python scripting with paraview (cmake variable DPARAVIEW_ENABLE_PYTHON:BOOL=ON); had been turned off because earlier versions of paraview had some building issues with this enabled. - Update to version 3.98.1: + See full list of changes at http://paraview.org/Bug/changelog_page.php?version_id=99. - Add paraview-fix-build-with-system-jpeg.patch to fix build errors when compiled with recent jpeg headers (libjpeg8-devel >= 8.0) - Use smp flags for make to speed up build. - License of SciberQuestToolKit subpackage is: GPL-2.0+ or LGPL-3.0+. - Split the SciberQuestToolKit plugin into its own package, license it as GPL-3.0+ or LGPL-3.0+ (bnc#804987) - The minimum version of libqt4-devel required for compiling is 4.7.0; correct BuildRequires accordingly. - Remove paraview-gcc47.patch; patch incorporated upstream. - Update to version 3.98.0: + Too many changes to list, see http://paraview.org/Bug/changelog_page.php?version_id=97 + Fixes licensing issues (bnc#763208) - Remove paraview-boost-1.49-compat.patch, incorporated upstream - Add paraview-no-return-in-nonvoid-function.patch to fix non-void function returning nothing - Add paraview-SciberQuestToolKit-install-path.patch to fix install path of SciberQuestToolKit plugin - Turn off OSMESA bindings because these are no longer recommended. - Update to version 3.14.1: + Bug fix release, see a complete list at http://paraview.org/Bug/changelog_page.php?version_id=95 . - fix SLE and 11.3 build with BuildRequires qt4-assistant-adp-devel for 11.4 and higher - Added paraview-gcc47.patch to fix build failures with gcc >= 4.7: this fixes building on openSUSE > 12.1. - Update to version 3.14.0: + Too many changes to list. See complete list at http://www.paraview.org/Bug/changelog_page.php?version_id=94 - Added paraview-boost-1.49-compat.patch to workaround vtk's incompatibility with boost version 1.48 and higher; fixes build on factory. - Update to version 3.12.0: + Too many changes to list. See complete list at http://www.paraview.org/Bug/changelog_page.php?version_id=85 - Removed paraview-demo-patch. Changes committed upstream. - Removed paraview-sqldatabaseschema.patch. Build failure properly taken care of upstream. - Added paraview-default-qtstyle.patch to make paraview inherit user-set qt-GUI style instead of always using Plastique - Added rpmlintrc file to suppress devel-file warnings for required files - Initial package (version 3.10.0) OBS-URL: https://build.opensuse.org/request/show/1100946 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=117
2023-07-27 01:43:57 +00:00
BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(sqlite3)
%if %{with nlohmann}
BuildRequires: pkgconfig(nlohmann_json)
%endif
%if %{with proj}
BuildRequires: pkgconfig(proj)
%endif
%if %{with pugixml}
BuildRequires: pkgconfig(pugixml) >= 1.11
%endif
%if %{with verdict}
BuildRequires: verdict-devel
%endif
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300
BuildRequires: cli11-devel
%else
BuildRequires: pkgconfig(CLI11)
%endif
BuildRequires: pkgconfig(theora)
BuildRequires: pkgconfig(xt)
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
BuildRequires: pkgconfig(zlib)
Recommends: %{name}-plugins
Requires: gnuplot
Requires: graphviz
# Disable on aarch64 since GLES isn't supported for bundled vtk but is needed for paraview
ExcludeArch: aarch64
%description
ParaView is a data analysis and visualization application for
visualizing large data sets.
ParaView runs on distributed and shared memory systems alike. It uses VTK
(the Visualization Toolkit) as the data processing and rendering engine.
Data exploration can be done interactively in 3D or programmatically using
batch processing.
NOTE: The version in this package has NOT been compiled with MPI support.
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%package -n %{shlib}
Summary: Shared libraries for Paraview
Group: Productivity/Scientific/Physics
%description -n %{shlib}
This package provides the shared libraries for paraview.
%package devel
Summary: Headers for building ParaView plugins or embedding Catalyst
Group: Development/Libraries/Other
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
Requires: %{shlib} = %{version}
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
Requires: cmake >= 3.3
Requires: glibc-devel
Requires: libboost_thread-devel
%description devel
This package contains headers and libraries required to build plugins
for ParaView or to embed ParaView Catalyst in a simulation program.
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%package -n python3-paraview
Summary: Python bindings for Paraview
Group: Productivity/Scientific/Physics
Requires: python3
Requires: python3-Twisted
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
Requires: python3-matplotlib
Requires: python3-numpy
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
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.
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%description -n python3-paraview
This package provides the python(3) bindings and modules for paraview.
%package plugins
Summary: Plugins for paraview
Group: Productivity/Scientific/Physics
Requires: %{name} = %{version}
%description plugins
This package provides the paraview plugins bundled with the upstream release.
%prep
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%autosetup -p1 -n ParaView-v%{version}
# FIX env BASED HASHBANG
sed -Ei "1{s|#!/usr/bin/env python3|#!/usr/bin/python3|}" Clients/CommandLineExecutables/paraview-config.in
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \
-DPARAVIEW_BUILD_SHARED_LIBS:BOOL=ON \
%if 0%{?suse_version} <= 1500
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
-DCMAKE_SKIP_RPATH:BOOL=OFF \
%endif
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
Accepting request 1100946 from home:vicentebolea:branches:science - Fixes issue that protobuf demands the use of -std=c++17. This was done by building ParaView with -std=c++17. - Update to version 5.11.1: * Many changes, see <https://www.kitware.com/paraview-5-11-1-release-notes/>. - Build with system verdict for openSUSE > 1500. - Update to version 5.11.0: * Many changes, see <https://www.kitware.com/paraview-5-11-0-release-notes/>. - Drop paraview-include-sstream.patch: incorporated upstream. - New BuildRequires: sqlite3, pkgconfig(liblzma), pkgconfig(nlohmann_json), pkgconfig(proj), pkgconfig(sqlite3). - Build without system nlohmann_json for Leap 15.3 and older. - Update rpmlintrc file to suppress false positives. - Pass CMAKE_SKIP_INSTALL_RPATH=ON for openSUSE > 1500 as well to enure no left-over rpaths in binaries; this fixes build failures in Factory. - Revert gl2ps change. TW and 15.4 have a recent gl2ps, and the 15.3 package will not be upgraded (but is available in science). - Fixes cli11 dependency for 15.3. - Drops system gl2ps on Leap 15.x since a higher version of gl2ps is needed than the system provided version on Leap 15.x. - Update to version 5.10.1: * User interface: - State files appear as datasets. - File dialog issues in client/server mode. - Stride in Animation View is too restricted. - Context menu in file dialog doesn't work on macOS with Qt 5.15.1. - Python tracing fails when a custom source exists. - Python Shell broken by any custom filter. - Stereo broken in CAVE environments. - Parallel Coordinates segfault. - Can't set frame rate when saving MP4 animation. - command_button widget is not visible anymore. - Client information does not show VTK version. - Only fetch favorites from server on creation. * Filters: - Ghost cell generator crash. - Redistribute dataset on Image Data then generate Ghost cells seems to give the wrong result. - TemporalParticlesToPathlines fails with AMReX particle data: "The input dataset did not have a valid DATA_TIME_STEPS information key". * Readers: - Sideset error with IOSS reader. - IOSS reader is slow with small, parallel dataset. - IOSS reader and set variables don't work. - Restart file fails with IOSS reader. - PIO reader seg faults on warnings for client-server. - PIO reader fails on extra file in directory. - PIO reader access to restart block and even/odd checkpoints. - openPMD: Fix Particle Time Series. * Catalyst: - Multiple grids with multiple pipelines produces failure in coprocessing.py. - SaveExtract volumetric cinema database crash. * Build: - Guard the list of required vtk components for paraview package. - pqPythonUtils.h not installed. - Update guide books: * ParaViewGettingStarted-5.10.1.pdf. * ParaViewTutorial-5.10.1.pdf. - Adapt defined macros for versioning to be more recyclable. - Drop some zero-length cmake files from %{_libdir}/cmake/ which are useless anyway. - Drop unused exodusII-devel build dependency (used vendored version and defaults to IOSS based exodus reader since PV 5.10). - Use system gl2ps also on Leap 15.x - Update to version 5.10.0: * Long list of changes, see https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.10.0.md - Drop patches incorporated upstream: * paraview-gcc11-limits.patch. * paraview-vtkioss-link-pthread.patch. - Update guides and tutorials. - Update _constraits to require 22 GiB for build to prevent out-of-disk-space build failures. - Add arguments to cmake command to turn off system installed libraries individually where these are not available; specifically turn off system vtkcatalyst, exprtk, fmt, and ioss. - Add paraview-include-sstream.patch -- Add patch from upstream to include missing headers and adapt to apply with p1 (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8597). - Add rpmlintrc snippet to suppress warnings about shared lib versioning: we use a versioning consistent with package major.minor version which is needed due to upstream's otherwise inconsistent so versions, but rpmlint does not like this. - Update constraints for riscv64 - Drop useless ldconfig dependencies for the paraview.rpm main package, there are no standard location shared libs in it. - Add paraview-gcc11-limits.patch: Include limits header wherever needed to fix compilation with GCC 11 [https://gitlab.kitware.com/vtk/vtk/-/issues/18194]. - Update to vetsion 5.9.1: * See https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.9.1.md. - Drop paraview-Adaptors-include-txx-file.patch: incorporated upstream. - Update to version 5.9.0: * See https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.9.0.md. - Add paraview-vtkioss-link-pthread.patch: Link against pthread when building vtkioss [https://gitlab.kitware.com/paraview/paraview/-/issues/20495]. - Add paraview-Adaptors-include-txx-file.patch: Fix Cam adaptor template instantiation [https://gitlab.kitware.com/paraview/paraview/-/merge_requests/4729]. - PDF guide book ParaviewGuide-%{version}.pdf replaced by ParaviewTutorial-%{version}.pdf. - Drop upstream-incorporated patches: * paraview-vtkFreeTypeTools-internal-macro.patch. * fix-3d48a287-support-new-api-cgio_read_data_type.patch. * bundled_exodusii_add_missing_libpthread.patch. - Add paraview-vtkFreeTypeTools-internal-macro.patch -- vtkFreeTypeTools: avoid using an internal macro; patch taken from upstream vtk git and rebased to apply with -p1 - Update to version 5.8.1: * Long list of bug fixes, see https://blog.kitware.com/paraview-5-8-1-release-notes/. - Update manuals (ParaViewGettingStarted-5.8.1.pdf and ParaViewGuide-5.8.1.pdf) to latest version. - Disable on aarch64 since GLES isn't supported for bundled vtk but is needed for paraview. - Set CMAKE_SKIP_INSTALL_RPATH:BOOL=ON during %cmake for openSUSE Leap 15.2 and older to fix build failures. - Don't delete libFmmMesh.a static lib, it is referenced by installed cmake files and needed for plugin development. - Drop patches no longer needed: * 0001-Add-libogg-to-IOMovie-target-link-libraries.patch * fix-loguru-missing-links.patch * paraview-do-not-install-missing-vtk-doxygen-dir.patch * paraview-link-against-python.patch: pass DVTK_PYTHON_OPTIONAL_LINK=OFF to cmake instead (see https://gitlab.kitware.com/vtk/vtk/-/issues/17881). - Update bundled_exodusii_add_missing_libpthread.patch to version from upstream (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6865). - 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. - add patch fix-3d48a287-support-new-api-cgio_read_data_type.patch from upstream to fix build problem for Factory - Update minimum disk space required in _constraints: up to 16 GB now required. - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. - Drop fix-libhdf5-missing-m.patch: No longer needed. - Drop unused python-zope BuildRequires - Replace Qt5WebKit BuildRequires with Qt5WebEngine - Unbundle several dependencies, use system libraries: * double-conversion * CGNS * Eigen3 * GLEW * HDF5 * JsonCPP * liblz4 * netcdf * protobuf * PugiXML * Ogg/Theora - Add several patches from VTK package: * bundled_exodusii_add_missing_libpthread.patch * 0001-Add-libogg-to-IOMovie-target-link-libraries.patch * 0001-Allow-compilation-on-GLES-platforms.patch - Update to version 5.6.2: * Fixes a trackpad interaction bug on macOS. - Pass -ffat-lto-objects for static libs. - Update to version 5.6.1 https://blog.kitware.com/paraview-5-6-1-release-notes/ - using tar.xz instead of tar.gz file - Trim redundancies from description. - Add ldconfig dependency. Avoid xargs use where possible. - Update to version 5.6.0 https://blog.kitware.com/paraview-5-6-0-release-notes/ - add devel package - remove Tk build requirement and adjust description since ParaView hasn't used Tcl/Tk for quite a few years. - ParaViewTutorial file not updated and not available on upstream - drop patches already applied upstream * paraview-pythonqt-build-fix.patch * fix-hdf5-gcc8.patch * fix-qt-5.11-931c779.patch * fix-no-plugin-doc-dir.patch - modify partially applied patches * paraview-find-qhelpgenerator-qt5.patch - Update to version 5.5.2 see full changelog at https://blog.kitware.com/paraview-5-5-0-release-notes/ - Disable build of examples - Don't use VTKm as it cause CMake configure problems - drop patch paraview-default-qtstyle.patch as plastic style is no longer set by upstream - drop patch Fix-ParaViewDetermineVersion.patch as a similar change is included upstream - update patch paraview-fix-file-contains-date-time.patch - add patches fix-libhdf5-missing-m.patch and fix-libharu-missing-m.patch to add missing libraries to third-party dependencies included in ParaView - add patch fix-qt-5.11-931c779.patch to fix issue with Qt 5.11 - add patch fix-no-plugin-doc-dir.patch to remove reference to non-existant directory below a plug-in - add patch fix-hdf5-gcc8.patch to fix issue with GCC 8 taken from upstream - Trim goals from description, only the now counts. Trim marketing speech from description. - Update to version 5.4.1: * The black render window observed on some systems when FXAA was enabled or an object's opacity was less than 1 has been fixed. * Field output for cells with non-straight edges has been corrected. * Derivatives for quadratic triangles are now computed correctly. * A bug that occurred when generating a Catalyst script with no images output has been fixed. * A problem with writing animations as AVIs was fixed. * Logic in the CGNS reader was updated to correctly read all solution nodes for each centering type when FlowSolutionPointers are missing. * Fixed crash in CGNS reader when moving forward in time. * Fixed problem with long-running animations not advancing past a certain number of time steps. * Resolved issue where changing one file path in the state file loader "Choose File Names" dialog also changed the file paths of other files with the same type. * Addressed problem with enumerated property dependencies in ParaViewWeb. * Added ability to change the font size in the ParaView user interface. * Fixed BoxLib3D file reader. * State files now properly support files with relative paths. * Removed inappropriate scalar bar scaling when saving large screen shots. * A bug in the color mapping that in some cases incorrectly mapped some data values to the above-range color was fixed. * OSPRay can now be compiled in Cray programming environments and for the first time has support for Intel Skylake processors. * Added lower limit to how small the GUI font size can be. * Addressed issue affecting layouts when loading a state file from the Python console. - Update to version 5.4.0: * See https://blog.kitware.com/paraview-5-4-0-release-notes/ for a full list of updates. - Use the %%cmake macro instead of using cmake manually. - Minor rebase of existing patches for version update. - ExcludeArch for ix86 processors until 32 bit builds can be sorted out; issue reported upstream. - Update to version 5.3.0 * VTK-m Plugin for many-core systems * Reader and Writer Improvements and Additions * Fast approximate anti-aliasing (FXAA) is now on by default * new StreamLinesRepresentation plugin * Added LagrangianParticleTracker plugin * Python Enhancements * See a summary of changes at https://blog.kitware.com/paraview-5-3-0-release-notes/ - drop package paraview-plugin-SciberQuestToolKit as SQTK is no longer part of ParaView (see commit c2bc94c2efb66c4bb525383176688ddfd430ca26) - drop paraview-build-sciberquesttoolkit-with-opengl2.patch as SQTK is no longer build - add paraview-do-not-install-missing-vtk-doxygen-dir.patch to remove non-existing doxygen/doc/html folder from VTK. - modified paraview-find-qhelpgenerator-qt5.patch to adapt to partial inclusion of original patch to upstream - Replicate the %cmake macro manually, stripping out the problematic and unused options. In particular, this restores passing rpm_opt_flags to C/C++ during compilation. - Update paraview-fix-file-contains-date-time.patch to remove references to __DATE__ and __TIME__ also from Plugins/CDIReader/cdilib.c; suppresses an rpmlint warning. - Update %{name}-rpmlintrc file to also suppress warnings about: * no-manual-page-for-binary: upstream doesn't supply manpages and we don't care. * hidden-file-or-dir: this hidden file is really used as a catalogue of available plugins by paraview. - Update to version 5.2.0: See a summary of changes at: https://blog.kitware.com/paraview-5-2-0-release-notes/ . - Use cmake macros (except for %cmake) for %build and %install actions; drop the paraview_cmake_options and send the options directly to cmake. We do not use the %cmake macro because it passes the RPM optflags to cmake, and with paraview 5.2 these flags cause compilation errors; see https://gitlab.kitware.com/paraview/paraview/issues/17049. - Turn off system GL2PS and DIY for bundled VTK. - Switch to using Qt5 for openSUSE > 13.2 and Leap 42.2 and higher (Qt5 >= 5.6.0 is required). - Add BuildRequires on python-Sphinx, python-qt*-devel; new requirements. - Add BuildRequires on pkgconfig(libpng), pkgconfig(freetype2) and pkgconfig(xt); these are all required and being implicitly pulled in by libqt4-devel. - Add paraview-find-qhelpgenerator-qt5.patch: Help find qhelpgenerator-qt5 instead of qhelpgenerator when Qt5 is used. - Add paraview-pythonqt-build-fix.patch to fix build issues with PythonQtPlugin; patch taken from upstream. - Add paraview-build-sciberquesttoolkit-with-opengl2.patch to enable building of SciberQuestToolKit even when OpenGL2 is used as the default VTK rendering (needs testing). - Drop require-only-cmake-3_0.patch, cmake >= 3.3 is now required. - Add documentation linked to from the Help menu in main application as additional sources and install them where it looks for them (ParaViewGettingStarted-5.2.0.pdf, ParaViewGuide-5.2.0.pdf, ParaViewTutorial.pdf). - Send other docs to %{_docdir} by explicitly passing the cmake option VTK_INSTALL_DOC_DIR. - update to version 5.1.2 * Rendering translucent geometries: fixed client-server configurations when rendering remotely and resolved issues with multiple windows/views were present. * Exodus reader: Fixed bug in Exodus reader which was causing the reader to improperly read files with no timesteps. * Fixed the “?” button to show filter documentation. * Add option to Ghost Cells Generator filter to specify the number of ghost levels to generate. * Cinema Fixed SpecB was not revolving the camera around the data centroid. - adjust require-only-cmake-3_0.patch - update to version 5.1.0 + add OSPRay ray tracing renderer + interpolating point clouds + generic arrays + x-ray view + resampling to image + List of changes at http://www.paraview.org/Bug/changelog_page.php?version_id=122 - adjust patch paraview-default-qtstyle.patch - add require-only-cmake-3_0.patch to lower required CMake version to 3.0 - update to version 5.0.1 + Trace recorder fails for CTH data + improvements to cinema + Move Show Axis functionality into Edit Axes Grid + hover points on is deathly slow remote server + CGNS reader not available in non-MPI windows binaries + update pvospray + Keyboard shortcut Alt+A is assigned twice + Rubber band selection is broken + List of changes at http://www.paraview.org/Bug/changelog_page.php?version_id=126 - Add disk constraint 8GB - Update to version 5.0.0 + New Rendering Engine + OpenSWR and Mesa support + Include OSPray + Off-screen rendering with EGL + Community Atmosphere Model (Cam5) Catalyst Adaptor + Accelerated Algorithms plug-in + List of changes at http://www.paraview.org/Bug/changelog_page.php?version_id=121 - Update to version 4.4.0: + List of changes at http://www.paraview.org/Bug/changelog_page.php?version_id=114. - Drop paraview-freetype-2.5.4.patch: incorporated upstream. - Update to version 4.3.1: + See list of changes at http://www.paraview.org/Bug/changelog_page.php - Packaging changes: + Install new file /usr/share/cmake/hdf5/libhdf5.settings - Add paraview-freetype-2.5.4.patch: Fix build with FreeType 2.5.4 API changes. - Update to version 4.2.0: + See list of changes at http://vtk.org/Bug/changelog_page.php?version_id=108 - Packaging changes: + Drop paraview-Mesa10.3-build-failures.patch as this patch has been included upstream - Update to version 4.2.0-RC1: + See list of changes at http://vtk.org/Bug/changelog_page.php?version_id=108 - Packaging changes: + Add paraview-desktop-entry-fix.patch to fix paraview's desktop menu entry by properly inserting required key-value pairs + Drop paraview-SciberQuestToolKit-install-path.patch; no longer needed as properly implemented upstream + Rebase carried-over patches to apply cleanly against present version + Add paraview-Mesa10.3-build-failures.patch to workaround build failures when compiling against Mesa >= 10.3; patch taken from upstream git and rebased; applied only for openSUSE >= 13.2 + Specfile changes: - Prepare for gcc 4.9.0 by working around a compiler issue - Package .desktop entry and icon files; post(un) scriptlets for updating hicolor icon theme and updating desktop menu are used - Package appdata file - Fix python-bytecode-inconsistent-mtime rpmlint warnings by recompiling all relevant .py files. - Build with system zope (python-zope.interface) and twisted (python-twisted); introduces BuildRequires and Requires on the two packages - Remove unnecessary Requires on python-matplotlib. - Update to version 4.1.0: + See list of changes at http://vtk.org/Bug/changelog_page.php?version_id=102 - Packaging changes: + Use full URL for source tarball + Drop patches: - paraview-fix-vtkpython-modules-install-dir.patch: corrected upstream - paraview-no-return-in-nonvoid-function.patch: corrected upstream + Rebase existing patches + Also fix a new occurrance of __DATE__ in a source file within paraview-fix-file-contains-date-time.patch + Change build type to RelWithDebInfo from Release (DCMAKE_BUILD_TYPE=RelWithDebInfo). - Update to version 4.0.1: + Undocumented upstream changes - Changes from version 4.0: + Too many to list, see http://paraview.org/Bug/changelog_page.php?version_id=52 for a complete list - Drop paraview-fix-build-with-system-jpeg.patch; implemented upstream - Use matplotlib during building to enable MathText rendering; introduces build time and runtime requirement on python-matplotlib - Add patches: + paraview-fix-vtkpython-modules-install-dir.patch: Workaround vtk's python modules getting installed in the wrong location; upstream bug report at http://paraview.org/Bug/view.php?id=14168 + paraview-fix-file-contains-date-time.patch: Remove reference to __DATE__ and __TIME__ from source files - Use fdupes to link duplicated files. - Enable python scripting with paraview (cmake variable DPARAVIEW_ENABLE_PYTHON:BOOL=ON); had been turned off because earlier versions of paraview had some building issues with this enabled. - Update to version 3.98.1: + See full list of changes at http://paraview.org/Bug/changelog_page.php?version_id=99. - Add paraview-fix-build-with-system-jpeg.patch to fix build errors when compiled with recent jpeg headers (libjpeg8-devel >= 8.0) - Use smp flags for make to speed up build. - License of SciberQuestToolKit subpackage is: GPL-2.0+ or LGPL-3.0+. - Split the SciberQuestToolKit plugin into its own package, license it as GPL-3.0+ or LGPL-3.0+ (bnc#804987) - The minimum version of libqt4-devel required for compiling is 4.7.0; correct BuildRequires accordingly. - Remove paraview-gcc47.patch; patch incorporated upstream. - Update to version 3.98.0: + Too many changes to list, see http://paraview.org/Bug/changelog_page.php?version_id=97 + Fixes licensing issues (bnc#763208) - Remove paraview-boost-1.49-compat.patch, incorporated upstream - Add paraview-no-return-in-nonvoid-function.patch to fix non-void function returning nothing - Add paraview-SciberQuestToolKit-install-path.patch to fix install path of SciberQuestToolKit plugin - Turn off OSMESA bindings because these are no longer recommended. - Update to version 3.14.1: + Bug fix release, see a complete list at http://paraview.org/Bug/changelog_page.php?version_id=95 . - fix SLE and 11.3 build with BuildRequires qt4-assistant-adp-devel for 11.4 and higher - Added paraview-gcc47.patch to fix build failures with gcc >= 4.7: this fixes building on openSUSE > 12.1. - Update to version 3.14.0: + Too many changes to list. See complete list at http://www.paraview.org/Bug/changelog_page.php?version_id=94 - Added paraview-boost-1.49-compat.patch to workaround vtk's incompatibility with boost version 1.48 and higher; fixes build on factory. - Update to version 3.12.0: + Too many changes to list. See complete list at http://www.paraview.org/Bug/changelog_page.php?version_id=85 - Removed paraview-demo-patch. Changes committed upstream. - Removed paraview-sqldatabaseschema.patch. Build failure properly taken care of upstream. - Added paraview-default-qtstyle.patch to make paraview inherit user-set qt-GUI style instead of always using Plastique - Added rpmlintrc file to suppress devel-file warnings for required files - Initial package (version 3.10.0) OBS-URL: https://build.opensuse.org/request/show/1100946 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=117
2023-07-27 01:43:57 +00:00
-DVTK_IGNORE_CMAKE_CXX11_CHECKS:BOOL=ON \
-DCMAKE_CXX_EXTENSIONS:BOOL=OFF \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_STANDARD_REQUIRED:BOOL=ON \
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
-DPARAVIEW_USE_VTKM:BOOL=OFF \
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
-DPARAVIEW_USE_QT:BOOL=ON \
-DPARAVIEW_USE_PYTHON:BOOL=ON \
-DPARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX=%{_lib}/python%{py3_ver}/site-packages/paraview \
-DVTK_PYTHON_OPTIONAL_LINK:BOOL=OFF \
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
-DPARAVIEW_ENABLE_WEB:BOOL=ON \
-DVTK_WRAP_PYTHON:BOOL=ON \
-DVTK_OPENGL_HAS_OSMESA:BOOL=OFF \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \
-DQtTesting_INSTALL_NO_DEVELOPMENT:BOOL=ON \
-DVTK_BUILD_QT_DESIGNER_PLUGIN:BOOL=OFF \
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
-DPARAVIEW_BUILD_WITH_EXTERNAL:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_ParaView_vtkcatalyst:BOOL=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_exprtk:BOOL=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=%{?with_gl2ps:ON}%{!?with_gl2ps:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
-DVTK_MODULE_USE_EXTERNAL_VTK_libharu=%{?with_haru:ON}%{!?with_haru:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_libproj=%{?with_proj:ON}%{!?with_proj:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=%{?with_nlohmann:ON}%{!?with_nlohmann:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=%{?with_pugixml:ON}%{!?with_pugixml:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_verdict=%{?with_verdict:ON}%{!?with_verdict:OFF} \
%{nil}
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
%cmake_build
%install
find . \( -name \*.txt -o -name \*.xml -o -name '*.[ch]' -o -name '*.[ch][px][px]' \) -exec chmod -x "{}" +
%cmake_install
# Unnecessary hash-bang
sed -i "1{\@/usr/bin/env@d}" %{buildroot}%{python3_sitearch}/paraview/vtkmodules/generate_pyi.py
# INSTALL DOCUMENTATION USED BY THE HELP MENU IN MAIN APP
install -Dm0644 %{S:2} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/GettingStarted.pdf
install -Dm0644 %{S:3} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/Guide.pdf
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
# REMOVE paraview-config: DOESN'T WORK WITHOUT STATIC LIBS ANYWAY
rm %{buildroot}%{_bindir}/paraview-config
# Delete zero-length cmake files
find %{buildroot}%{_libdir}/cmake/paraview-%{short_ver}/ -size 0 -delete -print
%fdupes %{buildroot}/
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%post -n %{shlib} -p /sbin/ldconfig
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%postun -n %{shlib} -p /sbin/ldconfig
%files
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%license %{_datadir}/licenses/ParaView/
%{_bindir}/*
%exclude %{_bindir}/smTest*
%exclude %{_bindir}/vtk*
%{_datadir}/%{name}-%{short_ver}/
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/*.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%{_docdir}/paraview/
%dir %{_libdir}/vtk/
%dir %{_libdir}/vtk/hierarchy
%{_libdir}/vtk/hierarchy/ParaView/
%if %{without proj}
%{_datadir}/vtk-pv%{major_ver}.%{minor_ver}/
%endif
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%files -n %{shlib}
%{_libdir}/*.so.*
%files plugins
%{_libdir}/%{name}-%{short_ver}/
%files devel
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%{_libdir}/*.so
%{_libdir}/cmake/paraview-%{short_ver}/
%{_bindir}/smTest*
%{_bindir}/vtk*
%{_includedir}/%{name}*
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%files devel-static
%{_libdir}/*.a
Accepting request 770701 from home:badshah400:branches:science Fix a typo in .changes in previous sr. - Update to version 5.7.0: See https://blog.kitware.com/paraview-5-7-0-release-notes/ - Split out new subpackages: libparaview5_7 for all the shared libs, paraview-plugins for bundled plugins, and python3-paraview for python3 bindings. - Move shared libraries to %{_libdir} and install them as part of libparaview5_7. - Update commands passed to cmake in keeping with upstream's overhaul. - Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed. - Drop paraview-fix-file-contains-date-time.patch: GCC supports SOURCE_DATE_EPOCH and, as such, this fix is no longer needed. - Switch to python3: Paraview is production ready with python3 starting with version 5.7.0, and python2 support is slated to be dropped from the next major upgrade. - Rebase patches for updated version: * fix-libharu-missing-m.patch. * bundled_exodusii_add_missing_libpthread.patch. - New patches to fix linking problems introduced with version 5.7.0: * fix-loguru-missing-links.patch: Add linking to libraries libm, libdl, and libpthread when building loguru. * fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library libGLX_mesa when building Qt GUI support. * paraview-link-against-python.patch to fix linking against the python library. - Patch 0001-Allow-compilation-on-GLES-platforms.patch needs rebase; commented out for now. - Switch an env based hashbang with one directly calling the required binary (python3 in this case). - Switch as many BuildRequires as possible to pkgconfig based ones. - Update rpmlintrc file to remove no longer needed filters and update the leftover filter (hidden file or dir) for directory change. OBS-URL: https://build.opensuse.org/request/show/770701 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=70
2020-02-11 00:33:43 +00:00
%files -n python3-paraview
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00
%{python3_sitearch}/%{name}/
%changelog