6931f8d
%undefine __cmake_in_source_build
0a0d428
a3837fb
# State Nov 11 2020, LTO causes
a3837fb
# TestXMLHyperTreeGridIO.cxx.o (symbol from plugin): undefined reference to symbol
a3837fb
# '_ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits@@LLVM_11'
a3837fb
%global _lto_cflags %{nil}
a3837fb
Orion Poplawski ec8139c
# Disable OSMesa builds for now - see Bug 744434
Orion Poplawski 22218a9
%bcond_without OSMesa
05ce9d4
%bcond_without java
Orion Poplawski 22218a9
%bcond_without mpich
Orion Poplawski 1a2f805
%bcond_without qt5
Orion Poplawski 22218a9
%bcond_without openmpi
699b032
# s390x on EL8 does not have xorg-x11-drv-dummy
699b032
%if 0%{?rhel}
699b032
%ifarch s390x
699b032
%bcond_with    xdummy
699b032
%else
699b032
%bcond_without xdummy
699b032
%endif
699b032
%else
699b032
%bcond_without xdummy
699b032
%endif
699b032
f744424
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
f744424
%bcond_without flexiblas
f744424
%endif
f744424
Orion Poplawski 22218a9
# VTK currently is carrying local modifications to gl2ps
Orion Poplawski 22218a9
%bcond_with gl2ps
Orion Poplawski 22218a9
%if !%{with gl2ps}
Orion Poplawski 22218a9
%global vtk_use_system_gl2ps -DVTK_USE_SYSTEM_GL2PS:BOOL=OFF
Orion Poplawski 22218a9
%endif
980ace4
8b84c5b
Summary: The Visualization Toolkit - A high level 3D visualization library
8b84c5b
Name: vtk
ac99619
Version: 8.2.0
d977685
Release: 25%{?dist}
73ffa84
# This is a variant BSD license, a cross between BSD and ZLIB.
73ffa84
# For all intents, it has the same rights and restrictions as BSD.
73ffa84
# http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
73ffa84
License: BSD
ac99619
Source0: http://www.vtk.org/files/release/8.2/VTK-%{version}.tar.gz
ac99619
Source1: http://www.vtk.org/files/release/8.2/VTKData-%{version}.tar.gz
Orion Poplawski 21bd3d3
Source2: xorg.conf
ac99619
Source3: FindPEGTL.cmake
2639d96
# Python 3.8 support
2639d96
Patch0: https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch
8fe6b10
# Proj 6 support
a1d022b
Patch1: vtk-proj6_compat.patch
8877cff
# GCC 10 support based on:
8877cff
# https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6420
8877cff
Patch2: vtk-gcc10.patch
75caa56
# Qt 5.15 support
75caa56
# https://gitlab.kitware.com/vtk/vtk/-/issues/18005
75caa56
Patch3: vtk-qt5.15.patch
00964b3
# Temporary patch for building against freetype-2.10.4, which removed FT_CALLBACK_DEF,
00964b3
# but was later re-added in https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b0667d2d36fb134d48030b2a560eaaa37810d6ba
00964b3
Patch4: vtk_freetype-2.10.4.patch
1ceaf7f
8b84c5b
URL: http://vtk.org/
ca9d984
Orion Poplawski 914eac4
BuildRequires: cmake
8b84c5b
BuildRequires: gcc-c++
c59190f
%{?with_java:BuildRequires: java-devel}
8b84c5b
BuildRequires: libX11-devel, libXt-devel, libXext-devel
8b84c5b
BuildRequires: libICE-devel, libGL-devel
8b84c5b
%{?with_OSMesa:BuildRequires: mesa-libOSMesa-devel}
8b84c5b
BuildRequires: tk-devel, tcl-devel
Orion Poplawski 1a2f805
BuildRequires: python%{python3_pkgversion}-devel
8b84c5b
BuildRequires: expat-devel, freetype-devel, libjpeg-devel, libpng-devel
Orion Poplawski 22218a9
%if 0%{with gl2ps}
Orion Poplawski 914eac4
BuildRequires: gl2ps-devel
Orion Poplawski 22218a9
%endif
8b84c5b
BuildRequires: libtiff-devel, zlib-devel
Orion Poplawski 914eac4
BuildRequires: libxml2-devel
Orion Poplawski 22218a9
%if %{with qt5}
Orion Poplawski 22218a9
BuildRequires: cmake(Qt5)
Orion Poplawski 22218a9
BuildRequires: cmake(Qt5UiPlugin)
Orion Poplawski 22218a9
BuildRequires: cmake(Qt5X11Extras)
Orion Poplawski 22218a9
BuildRequires: qt5-qtwebkit-devel
Orion Poplawski 1a2f805
BuildRequires: python%{python3_pkgversion}-qt5
Orion Poplawski 1a2f805
%else
Orion Poplawski 22218a9
BuildRequires: PyQt4-devel
Orion Poplawski 79d689f
BuildRequires: qt4-devel
Orion Poplawski d696ba3
BuildRequires: qtwebkit-devel
Orion Poplawski 22218a9
%endif
8b84c5b
BuildRequires: chrpath
789e657
BuildRequires: doxygen, graphviz
c59190f
BuildRequires: gnuplot
Orion Poplawski 578b5ac
BuildRequires: boost-devel
ac99619
BuildRequires: double-conversion-devel
ac99619
BuildRequires: eigen3-devel
ac99619
BuildRequires: glew-devel
Orion Poplawski ec8139c
BuildRequires: hdf5-devel
Orion Poplawski 8d93d81
BuildRequires: jsoncpp-devel
Orion Poplawski 578b5ac
BuildRequires: libtheora-devel
7e7a9f7
BuildRequires: mariadb-connector-c-devel
Orion Poplawski 163f774
BuildRequires: netcdf-cxx-devel
48b5f15
BuildRequires: libpq-devel
ac99619
BuildRequires: PEGTL-devel
ac99619
BuildRequires: proj-devel
ac99619
BuildRequires: pugixml-devel
f4b9efa
BuildRequires: R-devel
Orion Poplawski 27d36c6
BuildRequires: sqlite-devel
c59190f
BuildRequires: wget
f744424
%if %{with flexiblas}
f744424
BuildRequires: flexiblas-devel
f744424
%else
d5d33e8
BuildRequires: blas-devel
d5d33e8
BuildRequires: lapack-devel
f744424
%endif
Orion Poplawski 1a2f805
# Requires patched libharu https://github.com/libharu/libharu/pull/157
Orion Poplawski 1a2f805
#BuildRequires: libharu-devel
Orion Poplawski 1a2f805
BuildRequires: lz4-devel
9c6c2d7
BuildRequires: motif-devel
Orion Poplawski 22218a9
%if %{with mpich}
Orion Poplawski 22218a9
BuildRequires:  mpich-devel
Orion Poplawski 1a2f805
BuildRequires:  python%{?python3_pkgversion}-mpi4py-mpich
Orion Poplawski 22218a9
BuildRequires:  netcdf-mpich-devel
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
%if %{with openmpi}
Orion Poplawski 22218a9
BuildRequires:  openmpi-devel
Orion Poplawski 1a2f805
BuildRequires:  python%{?python3_pkgversion}-mpi4py-openmpi
Orion Poplawski 22218a9
BuildRequires:  netcdf-openmpi-devel
Orion Poplawski 22218a9
%endif
Orion Poplawski 21bd3d3
# For %check
699b032
%if %{with xdummy}
Orion Poplawski 21bd3d3
BuildRequires: xorg-x11-drv-dummy
699b032
%endif
c59190f
%{!?with_java:Conflicts: vtk-java}
Orion Poplawski ceab06d
Requires: hdf5 = %{_hdf5_version}
8b84c5b
Orion Poplawski 851d8fd
# Bundled KWSys
Orion Poplawski 851d8fd
# https://fedorahosted.org/fpc/ticket/555
Orion Poplawski 851d8fd
# Components used are specified in Utilities/KWSys/CMakeLists.txt
Orion Poplawski 851d8fd
Provides: bundled(kwsys-base64)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-commandlinearguments)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-directory)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-dynamicloader)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-encoding)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-fstream)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-fundamentaltype)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-glob)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-md5)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-process)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-regularexpression)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-system)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-systeminformation)
Orion Poplawski 851d8fd
Provides: bundled(kwsys-systemtools)
Orion Poplawski 96d18ce
# Other bundled libraries
Orion Poplawski 22218a9
Provides: bundled(diy2)
bce6413
Provides: bundled(exodusII) = 2.0.0
Orion Poplawski fd522ba
Provides: bundled(ftgl) = 1.32
Orion Poplawski 22218a9
%if !%{with gl2ps}
Orion Poplawski 22218a9
Provides: bundled(gl2ps) = 1.4.0
Orion Poplawski 22218a9
%endif
Orion Poplawski 1a2f805
Provides: bundled(libharu)
Orion Poplawski fd522ba
Provides: bundled(metaio)
bce6413
Provides: bundled(pugixml) = 1.8
Orion Poplawski fd522ba
Provides: bundled(utf8cpp)
Orion Poplawski fd522ba
Provides: bundled(verdict) = 1.2.0
Orion Poplawski fd522ba
Provides: bundled(vpic)
Orion Poplawski fd522ba
Provides: bundled(xdmf2) = 2.1
Orion Poplawski fd522ba
Provides: bundled(xdmf3)
Orion Poplawski 851d8fd
ac99619
Obsoletes: %{name}-tcl < 8.2.0-1
ac99619
Obsoletes: %{name}-qt-tcl < 8.2.0-1
ac99619
8b84c5b
%description
8b84c5b
VTK is an open-source software system for image processing, 3D
8b84c5b
graphics, volume rendering and visualization. VTK includes many
980ace4
advanced algorithms (e.g., surface reconstruction, implicit modeling,
8b84c5b
decimation) and rendering techniques (e.g., hardware-accelerated
8b84c5b
volume rendering, LOD control).
8b84c5b
Orion Poplawski 22218a9
NOTE: The version in this package has NOT been compiled with MPI support.
Orion Poplawski 22218a9
%if %{with mpich}
Orion Poplawski 22218a9
Install the %{name}-mpich package to get a version compiled with mpich.
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
%if %{with openmpi}
Orion Poplawski 22218a9
Install the %{name}-openmpi package to get a version compiled with openmpi.
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
8b84c5b
%package devel
8b84c5b
Summary: VTK header files for building C++ code
Orion Poplawski 8655557
Requires: vtk%{?_isa} = %{version}-%{release}
Orion Poplawski 1a2f805
Requires: python%{python3_pkgversion}-vtk%{?_isa} = %{version}-%{release}
Orion Poplawski 1a2f805
Requires: python%{python3_pkgversion}-vtk-qt%{?_isa} = %{version}-%{release}
Orion Poplawski 8655557
%{?with_OSMesa:Requires: mesa-libOSMesa-devel%{?_isa}}
980ace4
Requires: cmake
f744424
%if %{with flexiblas}
f744424
Requires: flexiblas-devel%{?_isa}
f744424
%else
Orion Poplawski 8655557
Requires: blas-devel%{?_isa}
f744424
Requires: lapack-devel%{?_isa}
f744424
%endif
bce6413
Requires: double-conversion-devel%{?_isa}
bce6413
# eigen3 is noarch
bce6413
Requires: eigen3-devel
bce6413
Requires: expat-devel%{?_isa}
bce6413
Requires: freetype-devel%{?_isa}
Orion Poplawski 22218a9
%if %{with gl2ps}
Orion Poplawski 8655557
Requires: gl2ps-devel%{?_isa}
Orion Poplawski 22218a9
%endif
bce6413
Requires: glew-devel%{?_isa}
Orion Poplawski 8655557
Requires: hdf5-devel%{?_isa}
Orion Poplawski 8655557
Requires: libjpeg-devel%{?_isa}
Orion Poplawski 1a2f805
Requires: lz4-devel%{?_isa}
Orion Poplawski 8655557
Requires: libpng-devel%{?_isa}
Orion Poplawski 8655557
Requires: libogg-devel%{?_isa}
Orion Poplawski 1a2f805
Requires: libSM-devel%{?_isa}
Orion Poplawski 8655557
Requires: libtheora-devel%{?_isa}
Orion Poplawski 8655557
Requires: libtiff-devel%{?_isa}
Orion Poplawski 8655557
Requires: libxml2-devel%{?_isa}
48b5f15
Requires: libpq-devel%{?_isa}
bce6413
Requires: PEGTL-devel%{?_isa}
bce6413
Requires: proj-devel%{?_isa}
bce6413
Requires: pugixml-devel%{?_isa}
bce6413
Requires: sqlite-devel%{?_isa}
cb07a45
Requires: libX11-devel%{?_isa}
cb07a45
Requires: libXext-devel%{?_isa}
Orion Poplawski 1a2f805
Requires: libXt-devel%{?_isa}
7fc639d
Requires: mariadb-devel%{?_isa}
Orion Poplawski 0690879
Requires: netcdf-cxx-devel%{?_isa}
Orion Poplawski 1a2f805
%if %{with qt5}
Orion Poplawski 1a2f805
Requires: cmake(Qt5)
Orion Poplawski 1a2f805
Requires: cmake(Qt5UiPlugin)
Orion Poplawski 1a2f805
Requires: cmake(Qt5X11Extras)
Orion Poplawski 1a2f805
Requires: qt5-qtwebkit-devel%{?_isa}
Orion Poplawski 1a2f805
%else
Orion Poplawski 8655557
Requires: qt4-devel%{?_isa}
Orion Poplawski 8655557
Requires: qtwebkit-devel%{?_isa}
Orion Poplawski 1a2f805
%endif
af32450
Requires: jsoncpp-devel%{?_isa}
395e4b7
# bz #1183210 + #1183530
Orion Poplawski 1a2f805
Requires: python%{python3_pkgversion}-devel
8b84c5b
8b84c5b
%description devel 
8b84c5b
This provides the VTK header files required to compile C++ programs that
980ace4
use VTK to do 3D visualization.
8b84c5b
Orion Poplawski 1a2f805
%package -n python%{python3_pkgversion}-vtk
Orion Poplawski 1a2f805
Summary: Python 3 bindings for VTK
Orion Poplawski 1a2f805
Requires: vtk%{?_isa} = %{version}-%{release}
Orion Poplawski 1a2f805
%{?python_provide:%python_provide python%{python3_pkgversion}-vtk}
43f44a4
Provides: %{py3_dist vtk} = %{version}
f46de28
Provides: python%{python3_version}dist(vtk) = %{version}
Orion Poplawski 1a2f805
Orion Poplawski 1a2f805
%description -n python%{python3_pkgversion}-vtk
Orion Poplawski 1a2f805
Python 3 bindings for VTK.
8b84c5b
8b84c5b
%if %{with java}
8b84c5b
%package java
8b84c5b
Summary: Java bindings for VTK
Orion Poplawski 8655557
Requires: vtk%{?_isa} = %{version}-%{release}
8b84c5b
8b84c5b
%description java
Orion Poplawski 22218a9
Java bindings for VTK.
8b84c5b
%endif
8b84c5b
8b84c5b
%package qt
8b84c5b
Summary: Qt bindings for VTK
Orion Poplawski 8655557
Requires: vtk%{?_isa} = %{version}-%{release}
8b84c5b
8b84c5b
%description qt
Orion Poplawski 22218a9
Qt bindings for VTK.
8b84c5b
Orion Poplawski 1a2f805
%package -n python%{python3_pkgversion}-vtk-qt
Orion Poplawski 1a2f805
Summary: Qt Python 3 bindings for VTK
Orion Poplawski 1a2f805
Requires: vtk%{?_isa} = %{version}-%{release}
Orion Poplawski 1a2f805
%{?python_provide:%python_provide python%{python3_pkgversion}-vtk-qt}
Orion Poplawski 1a2f805
Orion Poplawski 1a2f805
%description -n python%{python3_pkgversion}-vtk-qt
Orion Poplawski 1a2f805
Qt Python 3 bindings for VTK.
e027f58
Orion Poplawski 22218a9
%if %{with mpich}
Orion Poplawski 22218a9
%package mpich
Orion Poplawski 22218a9
Summary: The Visualization Toolkit - mpich version
Orion Poplawski 22218a9
ac99619
Obsoletes: %{name}-mpich-tcl < 8.2.0-1
ac99619
Obsoletes: %{name}-mpich-qt-tcl < 8.2.0-1
ac99619
Orion Poplawski 22218a9
%description mpich
Orion Poplawski 22218a9
VTK is an open-source software system for image processing, 3D
Orion Poplawski 22218a9
graphics, volume rendering and visualization. VTK includes many
Orion Poplawski 22218a9
advanced algorithms (e.g., surface reconstruction, implicit modeling,
Orion Poplawski 22218a9
decimation) and rendering techniques (e.g., hardware-accelerated
Orion Poplawski 22218a9
volume rendering, LOD control).
Orion Poplawski 22218a9
Orion Poplawski 22218a9
NOTE: The version in this package has been compiled with mpich support.
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%package mpich-devel
Orion Poplawski 22218a9
Summary: VTK header files for building C++ code with mpich
Orion Poplawski 22218a9
Requires: vtk-mpich%{?_isa} = %{version}-%{release}
Orion Poplawski 1a2f805
#Requires: python2-vtk%{?_isa} = %{version}-%{release}
Orion Poplawski 1a2f805
#Requires: python2-vtk-qt%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
%{?with_OSMesa:Requires: mesa-libOSMesa-devel%{?_isa}}
Orion Poplawski 22218a9
Requires: cmake
Orion Poplawski 22218a9
Requires: mpich-devel
f744424
%if %{with flexiblas}
f744424
Requires: flexiblas-devel%{?_isa}
f744424
%else
Orion Poplawski 22218a9
Requires: blas-devel%{?_isa}
f744424
Requires: lapack-devel%{?_isa}
f744424
%endif
Orion Poplawski 22218a9
%if 0%{with gl2ps}
Orion Poplawski 22218a9
Requires: gl2ps-devel%{?_isa}
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
Requires: expat-devel%{?_isa}
Orion Poplawski 22218a9
Requires: freetype-devel%{?_isa}
Orion Poplawski 22218a9
Requires: hdf5-mpich-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libjpeg-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libpng-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libogg-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libtheora-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libtiff-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libxml2-devel%{?_isa}
48b5f15
Requires: libpq-devel%{?_isa}
Orion Poplawski 22218a9
Requires: mysql-devel%{?_isa}
Orion Poplawski 22218a9
Requires: netcdf-cxx-devel%{?_isa}
Orion Poplawski 22218a9
Requires: netcdf-mpich-devel%{?_isa}
Orion Poplawski 1a2f805
%if %{with qt5}
Orion Poplawski 1a2f805
Requires: cmake(Qt5)
Orion Poplawski 1a2f805
Requires: cmake(Qt5UiPlugin)
Orion Poplawski 1a2f805
Requires: cmake(Qt5X11Extras)
Orion Poplawski 1a2f805
Requires: qt5-qtwebkit-devel%{?_isa}
Orion Poplawski 1a2f805
%else
Orion Poplawski 22218a9
Requires: qt4-devel%{?_isa}
Orion Poplawski 22218a9
Requires: qtwebkit-devel%{?_isa}
Orion Poplawski 1a2f805
%endif
Orion Poplawski 22218a9
Requires: jsoncpp-devel%{?_isa}
Orion Poplawski 22218a9
# bz #1183210 + #1183530
Orion Poplawski 1a2f805
Requires: python%{python3_pkgversion}-devel
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%description mpich-devel 
Orion Poplawski 22218a9
This provides the VTK header files required to compile C++ programs that
Orion Poplawski 22218a9
use VTK to do 3D visualization.
Orion Poplawski 22218a9
Orion Poplawski 22218a9
NOTE: The version in this package has been compiled with mpich support.
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%package -n python%{python3_pkgversion}-vtk-mpich
Orion Poplawski 1a2f805
Summary: Python 3 bindings for VTK with mpich
Orion Poplawski 22218a9
Requires: vtk-mpich%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%description -n python%{python3_pkgversion}-vtk-mpich
Orion Poplawski 1a2f805
python 3 bindings for VTK with mpich.
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%if %{with java}
Orion Poplawski 22218a9
%package mpich-java
Orion Poplawski 22218a9
Summary: Java bindings for VTK with mpich
Orion Poplawski 22218a9
Requires: vtk-mpich%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%description mpich-java
Orion Poplawski 22218a9
Java bindings for VTK with mpich.
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%package mpich-qt
Orion Poplawski 22218a9
Summary: Qt bindings for VTK with mpich
Orion Poplawski 22218a9
Requires: vtk-mpich%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%description mpich-qt
Orion Poplawski 22218a9
Qt bindings for VTK with mpich.
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%package -n python%{python3_pkgversion}-vtk-mpich-qt
Orion Poplawski 1a2f805
Summary: Qt Python 3 bindings for VTK with mpich
Orion Poplawski 22218a9
Requires: vtk-mpich%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%description -n python%{python3_pkgversion}-vtk-mpich-qt
Orion Poplawski 1a2f805
Qt Python 3 bindings for VTK with mpich.
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%if %{with openmpi}
Orion Poplawski 22218a9
%package openmpi
Orion Poplawski 22218a9
Summary: The Visualization Toolkit - openmpi version
Orion Poplawski 22218a9
ac99619
Obsoletes: %{name}-openmpi-tcl < 8.2.0-1
ac99619
Obsoletes: %{name}-openmpi-qt-tcl < 8.2.0-1
ac99619
Orion Poplawski 22218a9
%description openmpi
Orion Poplawski 22218a9
VTK is an open-source software system for image processing, 3D
Orion Poplawski 22218a9
graphics, volume rendering and visualization. VTK includes many
Orion Poplawski 22218a9
advanced algorithms (e.g., surface reconstruction, implicit modeling,
Orion Poplawski 22218a9
decimation) and rendering techniques (e.g., hardware-accelerated
Orion Poplawski 22218a9
volume rendering, LOD control).
Orion Poplawski 22218a9
Orion Poplawski 22218a9
NOTE: The version in this package has been compiled with openmpi support.
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%package openmpi-devel
Orion Poplawski 22218a9
Summary: VTK header files for building C++ code with openmpi
Orion Poplawski 22218a9
Requires: vtk-openmpi%{?_isa} = %{version}-%{release}
Orion Poplawski 1a2f805
#Requires: python2-vtk%{?_isa} = %{version}-%{release}
Orion Poplawski 1a2f805
#Requires: python2-vtk-qt%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
%{?with_OSMesa:Requires: mesa-libOSMesa-devel%{?_isa}}
Orion Poplawski 22218a9
Requires: cmake
Orion Poplawski 22218a9
Requires: openmpi-devel
f744424
%if %{with flexiblas}
f744424
Requires: flexiblas-devel%{?_isa}
f744424
%else
Orion Poplawski 22218a9
Requires: blas-devel%{?_isa}
f744424
Requires: lapack-devel%{?_isa}
f744424
%endif
Orion Poplawski 22218a9
%if 0%{with gl2ps}
Orion Poplawski 22218a9
Requires: gl2ps-devel%{?_isa}
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
Requires: expat-devel%{?_isa}
Orion Poplawski 22218a9
Requires: freetype-devel%{?_isa}
Orion Poplawski 22218a9
Requires: hdf5-openmpi-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libjpeg-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libpng-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libogg-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libtheora-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libtiff-devel%{?_isa}
Orion Poplawski 22218a9
Requires: libxml2-devel%{?_isa}
48b5f15
Requires: libpq-devel%{?_isa}
Orion Poplawski 22218a9
Requires: mysql-devel%{?_isa}
Orion Poplawski 22218a9
Requires: netcdf-cxx-devel%{?_isa}
Orion Poplawski 22218a9
Requires: netcdf-openmpi-devel%{?_isa}
Orion Poplawski 1a2f805
%if %{with qt5}
Orion Poplawski 1a2f805
Requires: cmake(Qt5)
Orion Poplawski 1a2f805
Requires: cmake(Qt5UiPlugin)
Orion Poplawski 1a2f805
Requires: cmake(Qt5X11Extras)
Orion Poplawski 1a2f805
Requires: qt5-qtwebkit-devel%{?_isa}
Orion Poplawski 1a2f805
%else
Orion Poplawski 22218a9
Requires: qt4-devel%{?_isa}
Orion Poplawski 22218a9
Requires: qtwebkit-devel%{?_isa}
Orion Poplawski 1a2f805
%endif
Orion Poplawski 22218a9
Requires: jsoncpp-devel%{?_isa}
Orion Poplawski 22218a9
# bz #1183210 + #1183530
Orion Poplawski 1a2f805
Requires: python%{python3_pkgversion}-devel
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%description openmpi-devel 
Orion Poplawski 22218a9
This provides the VTK header files required to compile C++ programs that
Orion Poplawski 22218a9
use VTK to do 3D visualization.
Orion Poplawski 22218a9
Orion Poplawski 22218a9
NOTE: The version in this package has been compiled with openmpi support.
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%package -n python%{python3_pkgversion}-vtk-openmpi
Orion Poplawski 1a2f805
Summary: Python 3 bindings for VTK with openmpi
Orion Poplawski 22218a9
Requires: vtk-openmpi%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%description -n python%{python3_pkgversion}-vtk-openmpi
Orion Poplawski 1a2f805
Python 3 bindings for VTK with openmpi.
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%if %{with java}
Orion Poplawski 22218a9
%package openmpi-java
Orion Poplawski 22218a9
Summary: Java bindings for VTK with openmpi
Orion Poplawski 22218a9
Requires: vtk-openmpi%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%description openmpi-java
Orion Poplawski 22218a9
Java bindings for VTK with openmpi.
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%package openmpi-qt
Orion Poplawski 22218a9
Summary: Qt bindings for VTK with openmpi
Orion Poplawski 22218a9
Requires: vtk-openmpi%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%description openmpi-qt
Orion Poplawski 22218a9
Qt bindings for VTK with openmpi.
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%package -n python%{python3_pkgversion}-vtk-openmpi-qt
Orion Poplawski 1a2f805
Summary: Qt Python 3 bindings for VTK with openmpi
Orion Poplawski 22218a9
Requires: vtk-openmpi%{?_isa} = %{version}-%{release}
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%description -n python%{python3_pkgversion}-vtk-openmpi-qt
Orion Poplawski 1a2f805
Qt Python 3 bindings for VTK with openmpi.
Orion Poplawski 22218a9
%endif
e027f58
Orion Poplawski 21bd3d3
%package data
Orion Poplawski 21bd3d3
Summary: VTK data files for tests/examples
Orion Poplawski 21bd3d3
BuildArch: noarch
Orion Poplawski 21bd3d3
Obsoletes: vtkdata < 6.1.0-3
Orion Poplawski 21bd3d3
Orion Poplawski 21bd3d3
%description data
Orion Poplawski 21bd3d3
VTK data files for tests and examples.
Orion Poplawski 21bd3d3
8b84c5b
%package testing
8b84c5b
Summary: Testing programs for VTK
Orion Poplawski 21bd3d3
Requires: vtk%{?_isa} = %{version}-%{release}, vtk-data = %{version}
8b84c5b
8b84c5b
%description testing
8b84c5b
Testing programs for VTK
8b84c5b
8b84c5b
%package examples
8b84c5b
Summary: Examples for VTK
Orion Poplawski 21bd3d3
Requires: vtk%{?_isa} = %{version}-%{release}, vtk-data = %{version}
8b84c5b
8b84c5b
%description examples
8b84c5b
This package contains many well-commented examples showing how to use
8b84c5b
VTK. Examples are available in the C++, Tcl, Python and Java
8b84c5b
programming languages.
8b84c5b
8b84c5b
8b84c5b
%prep
Orion Poplawski 21bd3d3
%setup -q -b 1 -n VTK-%{version}
2639d96
%patch0 -p1 -b .py38
8fe6b10
%patch1 -p1 -b .proj6
8877cff
%patch2 -p1 -b .gcc10
75caa56
%patch3 -p1 -b .qt5.15
00964b3
%patch4 -p1 -b .freetype
Orion Poplawski 62eb305
# Remove included thirdparty sources just to be sure
bce6413
# TODO - diy2 - not yet packaged
bce6413
# TODO - exodusII - not yet packaged
bce6413
# TODO - pugixml - https://gitlab.kitware.com/vtk/vtk/issues/17538
Orion Poplawski 96d18ce
# TODO - utf8cpp(source) - http://www.vtk.org/Bug/view.php?id=15730
bce6413
# TODO - verdict - not yet packaged
Orion Poplawski 96d18ce
# TODO - VPIC - not yet packaged
bce6413
# TODO - xdmf2 - not yet packaged
bce6413
# TODO - xdmf3 - not yet packaged
bce6413
for x in vtk{doubleconversion,eigen,expat,freetype,%{?_with_gl2ps:gl2ps,}glew,hdf5,jpeg,jsoncpp,kissfft,libproj,libxml2,lz4,lzma,mpi4py,netcdf,ogg,pegtl,png,sqlite,theora,tiff,zfp,zlib}
Orion Poplawski 62eb305
do
Orion Poplawski 8d93d81
  rm -r ThirdParty/*/${x}
Orion Poplawski 62eb305
done
8b84c5b
ac99619
# Needed to find PEGTL
ac99619
cp %SOURCE3 CMake/FindPEGTL.cmake
ac99619
Orion Poplawski 851d8fd
# Remove unused KWSys items
Orion Poplawski 851d8fd
find Utilities/KWSys/vtksys/ -name \*.[ch]\* | grep -vE '^Utilities/KWSys/vtksys/([a-z].*|Configure|SharedForward|String\.hxx|Base64|CommandLineArguments|Directory|DynamicLoader|Encoding|FStream|FundamentalType|Glob|MD5|Process|RegularExpression|System|SystemInformation|SystemTools)(C|CXX|UNIX)?\.' | xargs rm
Orion Poplawski 851d8fd
8b84c5b
# Save an unbuilt copy of the Example's sources for %doc
Orion Poplawski ec8139c
mkdir vtk-examples
Orion Poplawski ec8139c
cp -a Examples vtk-examples
2136714
# Don't ship Win32 examples
980ace4
rm -r vtk-examples/Examples/GUI/Win32
Orion Poplawski ec8139c
find vtk-examples -type f | xargs chmod -R a-x
8b84c5b
8b84c5b
%build
Orion Poplawski 22218a9
export CFLAGS="%{optflags} -D_UNICODE -DHAVE_UINTPTR_T"
Orion Poplawski 22218a9
export CXXFLAGS="%{optflags} -D_UNICODE -DHAVE_UINTPTR_T"
8fe6b10
export CPPFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
8b84c5b
%if %{with java}
8b84c5b
export JAVA_HOME=/usr/lib/jvm/java
Orion Poplawski 9cadffa
%ifarch %{arm} s390x
c1723f6
# getting "java.lang.OutOfMemoryError: Java heap space" during the build
c1723f6
export JAVA_TOOL_OPTIONS=-Xmx2048m
c1723f6
%endif
30577fc
%endif
8b84c5b
Orion Poplawski 22218a9
%global vtk_cmake_options \\\
Orion Poplawski 22218a9
 -DVTK_CUSTOM_LIBRARY_SUFFIX="" \\\
ac99619
 -DVTK_INSTALL_ARCHIVE_DIR:PATH=%{_lib} \\\
Orion Poplawski 22218a9
 -DVTK_INSTALL_DATA_DIR=share/vtk \\\
Orion Poplawski 22218a9
 -DVTK_INSTALL_INCLUDE_DIR:PATH=include/vtk \\\
ac99619
 -DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib} \\\
Orion Poplawski 22218a9
 -DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/vtk \\\
Orion Poplawski 1a2f805
 -DVTK_PYTHON_VERSION=3 \\\
Orion Poplawski 22218a9
%if %{with qt5} \
Orion Poplawski 22218a9
 -DVTK_INSTALL_QT_DIR:PATH=%{_lib}/qt5/plugins/designer \\\
Orion Poplawski 22218a9
%else \
Orion Poplawski 22218a9
 -DVTK_INSTALL_QT_DIR:PATH=%{_lib}/qt4/plugins/designer \\\
Orion Poplawski 22218a9
%endif \
Orion Poplawski 22218a9
 -DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic \\\
Orion Poplawski 22218a9
%if %{with OSMesa} \
Orion Poplawski 22218a9
 -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \\\
Orion Poplawski 22218a9
%endif \
Orion Poplawski 22218a9
%if %{with java} \
Orion Poplawski 22218a9
 -DVTK_WRAP_JAVA:BOOL=ON \\\
Orion Poplawski 22218a9
 -DJAVA_INCLUDE_PATH:PATH=$JAVA_HOME/include \\\
Orion Poplawski 22218a9
 -DJAVA_INCLUDE_PATH2:PATH=$JAVA_HOME/include/linux \\\
Orion Poplawski 22218a9
 -DJAVA_AWT_INCLUDE_PATH:PATH=$JAVA_HOME/include \\\
Orion Poplawski 22218a9
%else \
Orion Poplawski 22218a9
 -DVTK_WRAP_JAVA:BOOL=OFF \\\
Orion Poplawski 22218a9
%endif \
Orion Poplawski 22218a9
 -DVTK_WRAP_PYTHON:BOOL=ON \\\
Orion Poplawski 22218a9
 -DVTK_Group_Imaging:BOOL=ON \\\
Orion Poplawski 22218a9
 -DVTK_Group_Qt:BOOL=ON \\\
Orion Poplawski 22218a9
 -DVTK_Group_Rendering:BOOL=ON \\\
Orion Poplawski 22218a9
 -DVTK_Group_StandAlone:BOOL=ON \\\
Orion Poplawski 22218a9
 -DVTK_Group_Tk:BOOL=ON \\\
Orion Poplawski 22218a9
 -DVTK_Group_Views:BOOL=ON \\\
Orion Poplawski 22218a9
 -DModule_vtkIOExportOpenGL2:BOOL=ON \\\
Orion Poplawski 857ceec
 -DModule_vtkIOMySQL:BOOL=ON \\\
Orion Poplawski 857ceec
 -DModule_vtkIOPostgreSQL:BOOL=ON \\\
Orion Poplawski 22218a9
 -DModule_vtkRenderingParallel:BOOL=ON \\\
Orion Poplawski 22218a9
 -DModule_vtkTestingCore:BOOL=ON \\\
Orion Poplawski 22218a9
 -DModule_vtkTestingRendering:BOOL=ON \\\
Orion Poplawski 22218a9
%if %{with qt5} \
Orion Poplawski 22218a9
 -DVTK_QT_VERSION:STRING="5" \\\
Orion Poplawski 22218a9
%endif \
Orion Poplawski 22218a9
 -DVTK_USE_OGGTHEORA_ENCODER=ON \\\
Orion Poplawski 22218a9
 -DVTK_USE_SYSTEM_LIBRARIES=ON \\\
Orion Poplawski 22218a9
 %{?vtk_use_system_gl2ps} \\\
Orion Poplawski 22218a9
 -DVTK_USE_SYSTEM_HDF5:BOOL=ON \\\
Orion Poplawski 1a2f805
 -DVTK_USE_SYSTEM_LIBHARU=OFF \\\
6911e89
 -DVTK_USE_SYSTEM_NETCDF:BOOL=ON
Orion Poplawski 22218a9
# Commented old flags in case we'd like to reactive some of them
Orion Poplawski 22218a9
# -DVTK_USE_DISPLAY:BOOL=OFF \ # This prevents building of graphics tests
Orion Poplawski 22218a9
6931f8d
%global _vpath_builddir build
6931f8d
%cmake \
Orion Poplawski 22218a9
 %{vtk_cmake_options} \
f744424
 %{?with_flexiblas:-DBLAS_LIBRARIES=-lflexiblas} \
8b84c5b
 -DBUILD_DOCUMENTATION:BOOL=ON \
8b84c5b
 -DBUILD_EXAMPLES:BOOL=ON \
Orion Poplawski 22218a9
 -DBUILD_TESTING:BOOL=ON
6931f8d
%cmake_build
6931f8d
%cmake_build --target DoxygenDoc vtkMyDoxygenDoc
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%if %{with mpich}
6931f8d
%global _vpath_builddir build-mpich
Orion Poplawski 22218a9
%_mpich_load
Orion Poplawski 22218a9
export CC=mpicc
Orion Poplawski 22218a9
export CXX=mpic++
6931f8d
%cmake \
Orion Poplawski 22218a9
 %{vtk_cmake_options} \
Orion Poplawski 22218a9
 -DCMAKE_PREFIX_PATH:PATH=$MPI_HOME \
Orion Poplawski 22218a9
 -DCMAKE_INSTALL_PREFIX:PATH=$MPI_HOME \
Orion Poplawski a134922
 -DVTK_INSTALL_ARCHIVE_DIR:PATH=lib \
Orion Poplawski a134922
 -DVTK_INSTALL_LIBRARY_DIR:PATH=lib \
Orion Poplawski a134922
 -DVTK_INSTALL_PACKAGE_DIR:PATH=lib/cmake \
Orion Poplawski 22218a9
%if %{with qt5}
Orion Poplawski 22218a9
 -DVTK_INSTALL_QT_DIR:PATH=lib/qt5/plugins/designer \
8b84c5b
%else
Orion Poplawski 22218a9
 -DVTK_INSTALL_QT_DIR:PATH=lib/qt4/plugins/designer \
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
 -DVTK_Group_MPI:BOOL=ON \
Orion Poplawski 22218a9
 -DModule_vtkRenderingParallel:BOOL=ON \
Orion Poplawski 22218a9
 -DVTK_USE_PARALLEL:BOOL=ON \
Orion Poplawski 1a2f805
 -DVTK_USE_SYSTEM_DIY2:BOOL=OFF \
Orion Poplawski 22218a9
 -DVTK_USE_SYSTEM_MPI4PY:BOOL=ON
6931f8d
%cmake_build
Orion Poplawski 22218a9
%_mpich_unload
8b84c5b
%endif
8b84c5b
Orion Poplawski 22218a9
%if %{with openmpi}
6931f8d
%global _vpath_builddir build-openmpi
Orion Poplawski 22218a9
%_openmpi_load
Orion Poplawski 22218a9
export CC=mpicc
Orion Poplawski 22218a9
export CXX=mpic++
6931f8d
%cmake \
Orion Poplawski 22218a9
 %{vtk_cmake_options} \
Orion Poplawski 22218a9
 -DCMAKE_PREFIX_PATH:PATH=$MPI_HOME \
Orion Poplawski 22218a9
 -DCMAKE_INSTALL_PREFIX:PATH=$MPI_HOME \
Orion Poplawski a134922
 -DVTK_INSTALL_ARCHIVE_DIR:PATH=lib \
Orion Poplawski a134922
 -DVTK_INSTALL_LIBRARY_DIR:PATH=lib \
Orion Poplawski a134922
 -DVTK_INSTALL_PACKAGE_DIR:PATH=lib/cmake \
Orion Poplawski 22218a9
%if %{with qt5}
Orion Poplawski 22218a9
 -DVTK_INSTALL_QT_DIR:PATH=lib/qt5/plugins/designer \
Orion Poplawski 22218a9
%else
Orion Poplawski 22218a9
 -DVTK_INSTALL_QT_DIR:PATH=lib/qt4/plugins/designer \
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
 -DVTK_Group_MPI:BOOL=ON \
Orion Poplawski 22218a9
 -DModule_vtkRenderingParallel:BOOL=ON \
Orion Poplawski 22218a9
 -DVTK_USE_PARALLEL:BOOL=ON \
Orion Poplawski 1a2f805
 -DVTK_USE_SYSTEM_DIY2:BOOL=OFF \
Orion Poplawski 22218a9
 -DVTK_USE_SYSTEM_MPI4PY:BOOL=ON
6931f8d
%cmake_build
Orion Poplawski 22218a9
%_openmpi_unload
Orion Poplawski 22218a9
%endif
2136714
2136714
# Remove executable bits from sources (some of which are generated)
2136714
find . -name \*.c -or -name \*.cxx -or -name \*.h -or -name \*.hxx -or \
2136714
       -name \*.gif | xargs chmod -x
8b84c5b
Orion Poplawski 21bd3d3
8b84c5b
%install
6931f8d
%global _vpath_builddir build
6931f8d
%cmake_install
8b84c5b
6931f8d
pushd build
8b84c5b
# Gather list of non-python/tcl libraries
ac99619
ls %{buildroot}%{_libdir}/*.so.* \
Orion Poplawski 1a2f805
  | grep -Ev '(Java|Qt|Python..D|TCL)' | sed -e's,^%{buildroot},,' > libs.list
8b84c5b
8b84c5b
# List of executable examples
8b84c5b
cat > examples.list << EOF
8b84c5b
HierarchicalBoxPipeline
8b84c5b
MultiBlock
8b84c5b
Arrays
8b84c5b
Cube
8b84c5b
RGrid
8b84c5b
SGrid
8b84c5b
Medical1
8b84c5b
Medical2
8b84c5b
Medical3
8b84c5b
finance
8b84c5b
AmbientSpheres
8b84c5b
Cylinder
8b84c5b
DiffuseSpheres
8b84c5b
SpecularSpheres
8b84c5b
Cone
8b84c5b
Cone2
8b84c5b
Cone3
8b84c5b
Cone4
8b84c5b
Cone5
8b84c5b
Cone6
8b84c5b
EOF
8b84c5b
Orion Poplawski 21bd3d3
# List of executable test binaries
Orion Poplawski 21bd3d3
find bin \( -name \*Tests -o -name Test\* -o -name VTKBenchMark \) \
Orion Poplawski 21bd3d3
         -printf '%f\n' > testing.list
Orion Poplawski 21bd3d3
980ace4
# Install examples too
Orion Poplawski 21bd3d3
for filelist in examples.list testing.list; do
34d39db
  for file in `cat $filelist`; do
34d39db
    install -p bin/$file %{buildroot}%{_bindir}
34d39db
  done
980ace4
done
980ace4
980ace4
# Fix up filelist paths
Orion Poplawski 21bd3d3
for filelist in examples.list testing.list; do
2136714
  perl -pi -e's,^,%{_bindir}/,' $filelist
8b84c5b
done
8b84c5b
980ace4
# Remove any remnants of rpaths on files we install
6c2a3c2
# Seems to be some kind of java path
Orion Poplawski 21bd3d3
for file in `cat examples.list testing.list`; do
34d39db
  chrpath -d %{buildroot}$file
34d39db
done
Orion Poplawski 22218a9
chrpath -d  %{buildroot}%{_libdir}/qt?/plugins/designer/libQVTKWidgetPlugin.so
980ace4
8b84c5b
# Main package contains utils and core libs
Orion Poplawski 21bd3d3
cat libs.list
Orion Poplawski 914eac4
popd
8b84c5b
Orion Poplawski 22218a9
%if %{with mpich}
Orion Poplawski 22218a9
%_mpich_load
6931f8d
%global _vpath_builddir build-mpich
6931f8d
%cmake_install
Orion Poplawski 22218a9
Orion Poplawski 22218a9
# Gather list of non-python/tcl libraries
Orion Poplawski a134922
ls %{buildroot}%{_libdir}/mpich/lib/*.so.* \
6931f8d
  | grep -Ev '(Java|Qt|Python..D|TCL)' | sed -e's,^%{buildroot},,' > build-mpich/libs.list
Orion Poplawski 22218a9
%_mpich_unload
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%if %{with openmpi}
Orion Poplawski 22218a9
%_openmpi_load
6931f8d
%global _vpath_builddir build-openmpi
6931f8d
%cmake_install
Orion Poplawski 22218a9
Orion Poplawski 22218a9
# Gather list of non-python/tcl libraries
Orion Poplawski a134922
ls %{buildroot}%{_libdir}/openmpi/lib/*.so.* \
6931f8d
  | grep -Ev '(Java|Qt|Python..D|TCL)' | sed -e's,^%{buildroot},,' > build-openmpi/libs.list
Orion Poplawski 22218a9
%_openmpi_unload
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
8b84c5b
# Remove exec bit from non-scripts and %%doc
8b84c5b
for file in `find %{buildroot} -type f -perm 0755 \
8b84c5b
  | xargs -r file | grep ASCII | awk -F: '{print $1}'`; do
8b84c5b
  head -1 $file | grep '^#!' > /dev/null && continue
8b84c5b
  chmod 0644 $file
8b84c5b
done
Orion Poplawski 21bd3d3
find Utilities/Upgrading -type f -print0 | xargs -0 chmod -x
8b84c5b
18a6223
# Setup Wrapping docs tree
Orion Poplawski 21bd3d3
mkdir -p _docs
18a6223
cp -pr --parents Wrapping/*/README* _docs/ 
18a6223
Orion Poplawski 21bd3d3
#Install data
Orion Poplawski 21bd3d3
mkdir -p %{buildroot}%{_datadir}/vtkdata
d745277
cp -alL build/ExternalData/* %{buildroot}%{_datadir}/vtkdata/
Orion Poplawski 21bd3d3
283dcfc
%check
Orion Poplawski 21bd3d3
cp %SOURCE2 .
699b032
%if %{with xdummy}
Orion Poplawski 21bd3d3
if [ -x /usr/libexec/Xorg ]; then
Orion Poplawski 21bd3d3
   Xorg=/usr/libexec/Xorg
Orion Poplawski 21bd3d3
else
Orion Poplawski 21bd3d3
   Xorg=/usr/libexec/Xorg.bin
Orion Poplawski 21bd3d3
fi
Orion Poplawski 21bd3d3
$Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xorg.log -config ./xorg.conf -configdir . :99 &
Orion Poplawski 21bd3d3
export DISPLAY=:99
699b032
%endif
6931f8d
%global _vpath_builddir build
f744424
export FLEXIBLAS=netlib
6931f8d
%ctest --verbose || :
699b032
%if %{with xdummy}
Orion Poplawski 21bd3d3
kill %1 || :
Orion Poplawski 21bd3d3
cat xorg.log
699b032
%endif
8b84c5b
8b84c5b
Orion Poplawski 21bd3d3
%files -f build/libs.list
Orion Poplawski 22218a9
%license Copyright.txt
ac99619
%doc README.md _docs/Wrapping
8b84c5b
8b84c5b
%files devel
8b84c5b
%doc Utilities/Upgrading
Orion Poplawski ec8139c
%{_bindir}/vtkWrapHierarchy
8b84c5b
%{_includedir}/vtk
ac99619
%{_libdir}/*.so
ac99619
%{_libdir}/libvtkWrappingTools.a
980ace4
%{_libdir}/cmake/vtk/
ac99619
%{_docdir}/vtk-8.2/
8b84c5b
Orion Poplawski 1a2f805
%files -n python%{python3_pkgversion}-vtk
Orion Poplawski 1a2f805
%{python3_sitearch}/*
b55a281
%{_libdir}/*Python%{python3_version_nodots}D.so.*
b55a281
%exclude %{_libdir}/*QtPython%{python3_version_nodots}D.so.*
e027f58
%{_bindir}/vtkpython
8b84c5b
%{_bindir}/vtkWrapPython
8b84c5b
%{_bindir}/vtkWrapPythonInit
8b84c5b
8b84c5b
%if %{with java}
8b84c5b
%files java
ac99619
%{_libdir}/*Java.so.*
ac99619
%{_libdir}/vtk.jar
8b84c5b
%{_bindir}/vtkParseJava
8b84c5b
%{_bindir}/vtkWrapJava
8b84c5b
%endif
8b84c5b
8b84c5b
%files qt
ac99619
%{_libdir}/lib*Qt*.so.*
2630b5a
%exclude %{_libdir}/*Python%{python3_version_nodots}D.so.*
Orion Poplawski 22218a9
%{_libdir}/qt?/plugins/designer/libQVTKWidgetPlugin.so
8b84c5b
Orion Poplawski 1a2f805
%files -n python%{python3_pkgversion}-vtk-qt
b55a281
%{_libdir}/*QtPython%{python3_version_nodots}D.so.*
e027f58
e764af0
%if %{with mpich}
Orion Poplawski 22218a9
%files mpich -f build-mpich/libs.list
Orion Poplawski 22218a9
%license Copyright.txt
ac99619
%doc README.md _docs/Wrapping
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%files mpich-devel
Orion Poplawski 22218a9
%{_libdir}/mpich/bin/vtkWrapHierarchy
Orion Poplawski 22218a9
%{_libdir}/mpich/include/
Orion Poplawski a134922
%{_libdir}/mpich/lib/*.so
Orion Poplawski a134922
%{_libdir}/mpich/lib/libvtkWrappingTools.a
Orion Poplawski 22218a9
%{_libdir}/mpich/lib/cmake/
ac99619
%{_libdir}/mpich/share/doc/vtk-8.2/
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%files -n python%{python3_pkgversion}-vtk-mpich
Orion Poplawski 1a2f805
%{_libdir}/mpich/lib/python%{python3_version}/
b55a281
%{_libdir}/mpich/lib/*Python%{python3_version_nodots}D.so.*
2630b5a
%exclude %{_libdir}/mpich/lib/*QtPython%{python3_version_nodots}D.so.*
Orion Poplawski 22218a9
%{_libdir}/mpich/bin/pvtkpython
Orion Poplawski 22218a9
%{_libdir}/mpich/bin/vtkpython
Orion Poplawski 22218a9
%{_libdir}/mpich/bin/vtkWrapPython
Orion Poplawski 22218a9
%{_libdir}/mpich/bin/vtkWrapPythonInit
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%if %{with java}
Orion Poplawski 22218a9
%files mpich-java
Orion Poplawski a134922
%{_libdir}/mpich/lib/*Java.so.*
Orion Poplawski a134922
%{_libdir}/mpich/lib/vtk.jar
Orion Poplawski 22218a9
%{_libdir}/mpich/bin/vtkParseJava
Orion Poplawski 22218a9
%{_libdir}/mpich/bin/vtkWrapJava
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%files mpich-qt
Orion Poplawski a134922
%{_libdir}/mpich/lib/lib*Qt*.so.*
2630b5a
%exclude %{_libdir}/mpich/lib/*Python%{python3_version_nodots}D.so.*
Orion Poplawski 22218a9
%{_libdir}/mpich/lib/qt?/
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%files -n python%{python3_pkgversion}-vtk-mpich-qt
b55a281
%{_libdir}/mpich/lib/*QtPython%{python3_version_nodots}D.so.*
e764af0
%endif
Orion Poplawski 22218a9
e764af0
%if %{with openmpi}
Orion Poplawski 22218a9
%files openmpi -f build-openmpi/libs.list
Orion Poplawski 22218a9
%license Copyright.txt
ac99619
%doc README.md _docs/Wrapping
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%files openmpi-devel
Orion Poplawski 22218a9
%{_libdir}/openmpi/bin/vtkWrapHierarchy
Orion Poplawski 22218a9
%{_libdir}/openmpi/include/
Orion Poplawski a134922
%{_libdir}/openmpi/lib/*.so
Orion Poplawski a134922
%{_libdir}/openmpi/lib/libvtkWrappingTools.a
Orion Poplawski 22218a9
%{_libdir}/openmpi/lib/cmake/
ac99619
%{_libdir}/openmpi/share/doc/vtk-8.2/
ac99619
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%files -n python%{python3_pkgversion}-vtk-openmpi
Orion Poplawski 1a2f805
%{_libdir}/openmpi/lib/python%{python3_version}/
b55a281
%{_libdir}/openmpi/lib/*Python%{python3_version_nodots}D.so.*
2630b5a
%exclude %{_libdir}/openmpi/lib/*QtPython%{python3_version_nodots}D.so.*
Orion Poplawski 22218a9
%{_libdir}/openmpi/bin/pvtkpython
Orion Poplawski 22218a9
%{_libdir}/openmpi/bin/vtkpython
Orion Poplawski 22218a9
%{_libdir}/openmpi/bin/vtkWrapPython
Orion Poplawski 22218a9
%{_libdir}/openmpi/bin/vtkWrapPythonInit
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%if %{with java}
Orion Poplawski 22218a9
%files openmpi-java
Orion Poplawski a134922
%{_libdir}/openmpi/lib/*Java.so.*
Orion Poplawski a134922
%{_libdir}/openmpi/lib/vtk.jar
Orion Poplawski 22218a9
%{_libdir}/openmpi/bin/vtkParseJava
Orion Poplawski 22218a9
%{_libdir}/openmpi/bin/vtkWrapJava
Orion Poplawski 22218a9
%endif
Orion Poplawski 22218a9
Orion Poplawski 22218a9
%files openmpi-qt
Orion Poplawski a134922
%{_libdir}/openmpi/lib/lib*Qt*.so.*
Orion Poplawski a134922
%exclude %{_libdir}/openmpi/lib/*Python27D.so.*
Orion Poplawski 22218a9
%{_libdir}/openmpi/lib/qt?/
Orion Poplawski 22218a9
Orion Poplawski 1a2f805
%files -n python%{python3_pkgversion}-vtk-openmpi-qt
b55a281
%{_libdir}/openmpi/lib/*QtPython%{python3_version_nodots}D.so.*
e764af0
%endif
Orion Poplawski 22218a9
Orion Poplawski 21bd3d3
%files data
Orion Poplawski 21bd3d3
%{_datadir}/vtkdata
Orion Poplawski 21bd3d3
Orion Poplawski 21bd3d3
%files testing -f build/testing.list
8b84c5b
Orion Poplawski 914eac4
%files examples -f build/examples.list
Orion Poplawski ec8139c
%doc vtk-examples/Examples
8b84c5b
Orion Poplawski 21bd3d3
8b84c5b
%changelog
d977685
* Thu Nov  5 20:45:48 CET 2020 Sandro Mani <manisandro@gmail.com> - 8.2.0-25
d977685
- Rebuild (proj)
d977685
75caa56
* Thu Sep 17 2020 Orion Poplawski <orion@nwra.com> - 8.2.0-24
75caa56
- Add patch to fix build with Qt 5.15
75caa56
f744424
* Thu Aug 27 2020 Iñaki Úcar <iucar@fedoraproject.org> - 8.2.0-23
f744424
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
f744424
d745277
* Sun Aug  9 2020 Orion Poplawski <orion@nwra.com> - 8.2.0-22
d745277
- Fix ExternalData in vtk-data (bz#1783622)
d745277
6931f8d
* Tue Aug  4 2020 Orion Poplawski <orion@nwra.com> - 8.2.0-21
6931f8d
- Use new cmake macros
6931f8d
76ab4b7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.0-20
76ab4b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
76ab4b7
0a0d428
* Fri Jul 24 2020 Jeff Law <law@redhat.com> - 8.2.0-19
0a0d428
- Use __cmake_in_source_build
0a0d428
036cf8c
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 8.2.0-18
036cf8c
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
036cf8c
f893d0e
* Thu Jun 25 2020 Orion Poplawski <orion@cora.nwra.com> - 8.2.0-17
f893d0e
- Rebuild for hdf5 1.10.6
f893d0e
7e7a9f7
* Sat Jun 20 2020 Orion Poplawski <orion@nwra.com> - 8.2.0-16
7e7a9f7
- Drop _python_bytecompile_extra, python2 conditionals
7e7a9f7
f4b5ee3
* Sat May 30 2020 Björn Esser <besser82@fedoraproject.org> - 8.2.0-15
f4b5ee3
- Rebuild (jsoncpp)
f4b5ee3
8877cff
* Wed May 27 2020 Orion Poplawski <orion@nwra.com> - 8.2.0-14
8877cff
- Add patch to fix building with GCC 10 (bz#1800240)
8877cff
322fa6f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 8.2.0-14
322fa6f
- Rebuilt for Python 3.9
322fa6f
722af9e
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.0-13
722af9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
722af9e
29345ab
* Thu Nov 14 2019 Björn Esser <besser82@fedoraproject.org> - 8.2.0-12
29345ab
- Rebuild (jsoncpp)
29345ab
1d043a4
* Sat Nov  9 2019 Orion Poplawski <orion@nwra.com> - 8.2.0-11
1d043a4
- Drop BR on sip-devel (python2)
1d043a4
1d043a4
* Sun Sep 22 2019 Orion Poplawski <orion@nwra.com> - 8.2.0-10
4888dab
- Rebuild for double-conversion 3.1.5
4888dab
8fe6b10
* Mon Sep 09 2019 Orion Poplawski <orion@nwra.com> - 8.2.0-9
8fe6b10
- Rebuild for proj 6.2.0
8fe6b10
- Add patch and flags for proj 6 support
8fe6b10
2639d96
* Tue Aug 20 2019 Orion Poplawski <orion@nwra.com> - 8.2.0-8
2639d96
- Add upstream patch to support Python 3.8
2639d96
d727be1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 8.2.0-7
d727be1
- Rebuilt for Python 3.8
d727be1
9c6c2d7
* Wed Jul 31 2019 Orion Poplawski <orion@nwra.com> - 8.2.0-6
9c6c2d7
- BR motif-devel instead of /usr/include/Xm (bugz#1731728)
9c6c2d7
ef355e1
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.0-5
ef355e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ef355e1
79c5bd8
* Wed Jul 03 2019 Björn Esser <besser82@fedoraproject.org> - 8.2.0-4
79c5bd8
- Rebuild (jsoncpp)
79c5bd8
f46de28
* Thu Apr 18 2019 Orion Poplawski <orion@nwra.com> - 8.2.0-3
f46de28
- Provide starndard python 3.Y dist name (bugz#1700307)
f46de28
43f44a4
* Tue Apr 16 2019 Orion Poplawski <orion@nwra.com> - 8.2.0-2
43f44a4
- Provide standard python 3 dist name (bugz#1700307)
43f44a4
bce6413
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 8.2.0-1
bce6413
- Update to 8.2.0
bce6413
- TCL wrapping has been dropped upstream
bce6413
- Build with system glew
bce6413
da7173c
* Fri Feb 15 2019 Orion Poplawski <orion@nwra.com> - 8.1.1-3
da7173c
- Rebuild for openmpi 3.1.3
da7173c
ff46538
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.1-2
ff46538
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ff46538
Orion Poplawski 1a2f805
* Fri Oct 26 2018 Orion Poplawski <orion@cora.nwra.com> - 8.1.1-1
Orion Poplawski 1a2f805
- Update to 8.1.1 (bug #1460059)
Orion Poplawski 1a2f805
- Use Qt 5 (bug #1319504)
Orion Poplawski 1a2f805
- Use Python 3 for Fedora 30+ (bug #1549034)
Orion Poplawski 1a2f805
48b5f15
* Thu Sep 06 2018 Pavel Raiskup <praiskup@redhat.com> - 7.1.1-13
48b5f15
- rebuild against libpq (rhbz#1618698, rhbz#1623764)
48b5f15
328f207
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-12
328f207
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
328f207
2390a7b
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 7.1.1-11
2390a7b
- Rebuild to fix GCC 8 mis-compilation
2390a7b
  See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
2390a7b
2cc34eb
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-10
2cc34eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2cc34eb
e22ef16
* Tue Dec 26 2017 Björn Esser <besser82@fedoraproject.org> - 7.1.1-9
e22ef16
- Rebuilt for jsoncpp.so.20
e22ef16
Orion Poplawski 857ceec
* Mon Dec 18 2017 Orion Poplawski <orion@nwra.com> - 7.1.1-8
Orion Poplawski 857ceec
- Enable mysql and postgresql support
Orion Poplawski 857ceec
- Use mariadb BR for F28+ (Bug #1494054)
Orion Poplawski 857ceec
6fdddbf
* Fri Sep 01 2017 Björn Esser <besser82@fedoraproject.org> - 7.1.1-7
6fdddbf
- Rebuilt for jsoncpp-1.8.3
6fdddbf
8ceb79a
* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 7.1.1-6
8ceb79a
- Python 2 binary packages renamed to python2-vtk and python2-vtk-qt
8ceb79a
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
8ceb79a
7410779
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-5
7410779
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7410779
f5b91f7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-4
f5b91f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f5b91f7
19ccc48
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.1-3
19ccc48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
19ccc48
Orion Poplawski a720dde
* Tue May 9 2017 Orion Poplawski <orion@cora.nwra.com> - 7.1.1-2
Orion Poplawski a720dde
- Enable tests on s390x
Orion Poplawski a720dde
Orion Poplawski 9cadffa
* Mon May 8 2017 Orion Poplawski <orion@cora.nwra.com> - 7.1.1-1
Orion Poplawski 9cadffa
- Update to 7.1.1
Orion Poplawski 9cadffa
1125622
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-6
1125622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1125622
c1723f6
* Tue Jan 3 2017 Dan Horák <dan[at]danny.cz> - 7.1.0-5
c1723f6
- s390x needs increased Java heap size
c1723f6
Orion Poplawski 8a27448
* Thu Dec 29 2016 Orion Poplawski <orion@cora.nwra.com> - 7.1.0-4
Orion Poplawski 8a27448
- Drop setting java heap size
Orion Poplawski 8a27448
e764af0
* Thu Dec 8 2016 Dan Horák <dan[at]danny.cz> - 7.1.0-3
e764af0
- Enable openmpi on s390(x)
e764af0
- Add missing conditions for mpich/openmpi subpackages
e764af0
Orion Poplawski a134922
* Thu Dec 8 2016 Orion Poplawski <orion@cora.nwra.com> - 7.1.0-2
Orion Poplawski a134922
- Fix MPI library install location
Orion Poplawski a134922
Orion Poplawski 22218a9
* Mon Dec 5 2016 Orion Poplawski <orion@cora.nwra.com> - 7.1.0-1
Orion Poplawski 22218a9
- Update to 7.1.0
Orion Poplawski 22218a9
- Enable OSMesa
Orion Poplawski 22218a9
- Build MPI versions
Orion Poplawski 22218a9
- Use bundled glew
Orion Poplawski 22218a9
Orion Poplawski c0e12a9
* Wed Nov 2 2016 Orion Poplawski <orion@cora.nwra.com> - 6.3.0-12
Orion Poplawski c0e12a9
- Rebuild for R openblas changes
Orion Poplawski c0e12a9
Björn Esser 94caf75
* Mon Oct 03 2016 Björn Esser <fedora@besser82.io> - 6.3.0-11
Björn Esser 94caf75
- Rebuilt for libjsoncpp.so.11
Björn Esser 94caf75
801c955
* Thu Jul 28 2016 Than Ngo <than@redhat.com> - 6.3.0-10
837e399
- %%check: make non-fatal as temporary workaround for build on s390x
837e399
ba3fd2d
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-9
ba3fd2d
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ba3fd2d
Orion Poplawski 2182f23
* Wed Jun 29 2016 Orion Poplawski <orion@cora.nwra.com> - 6.3.0-8
Orion Poplawski 2182f23
- Rebuild for hdf5 1.8.17
Orion Poplawski 2182f23
Björn Esser a6cf0f9
* Fri Mar 25 2016 Björn Esser <fedora@besser82.io> - 6.3.0-7
Björn Esser a6cf0f9
- Rebuilt for libjsoncpp.so.1
Björn Esser a6cf0f9
Orion Poplawski 871fcc5
* Mon Feb 8 2016 Orion Poplawski <orion@cora.nwra.com> - 6.3.0-6
Orion Poplawski 871fcc5
- Add patch for gcc 6 support
Orion Poplawski 871fcc5
10be270
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.0-5
10be270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
10be270
Orion Poplawski b4ba75f
* Fri Jan 22 2016 Orion Poplawski <orion@cora.nwra.com> - 6.3.0-4
Orion Poplawski b4ba75f
- Rebuild for netcdf 4.4.0
Orion Poplawski b4ba75f
f3143d1
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 6.3.0-3
f3143d1
- Rebuilt for Boost 1.60
f3143d1
Orion Poplawski 96d18ce
* Wed Oct 21 2015 Orion Poplawski <orion@cora.nwra.com> - 6.3.0-2
Orion Poplawski 96d18ce
- Note bundled libraries
Orion Poplawski 96d18ce
Orion Poplawski a6a0f09
* Tue Sep 15 2015 Orion Poplawski <orion@cora.nwra.com> - 6.3.0-1
Orion Poplawski a6a0f09
- Update to 6.3.0
Orion Poplawski a6a0f09
3ec5da0
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 6.2.0-10
3ec5da0
- Rebuilt for Boost 1.59
3ec5da0
Orion Poplawski 851d8fd
* Fri Aug 21 2015 Orion Poplawski <orion@cora.nwra.com> - 6.2.0-9
Orion Poplawski 851d8fd
- Note bundled kwsys, remove unused kwsys files
Orion Poplawski 851d8fd
3c5687a
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-8
3c5687a
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
3c5687a
b7ccf95
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 6.2.0-7
b7ccf95
- rebuild for Boost 1.58
b7ccf95
Orion Poplawski 37bbffd
* Tue Jul 7 2015 Orion Poplawski <orion@cora.nwra.com> - 6.2.0-6
Orion Poplawski 37bbffd
- Drop glext patch, no longer needed
Orion Poplawski 37bbffd
5ab243f
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-5
5ab243f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5ab243f
Orion Poplawski 0690879
* Sat May 23 2015 Orion Poplawski <orion@cora.nwra.com> - 6.2.0-4
Orion Poplawski 0690879
- Add requires netcdf-cxx-devel to vtk-devel (bug #1224512)
Orion Poplawski 0690879
Orion Poplawski 2b23888
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 6.2.0-3
Orion Poplawski 2b23888
- Rebuild for hdf5 1.8.15
Orion Poplawski 2b23888
2ad070f
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 6.2.0-2
2ad070f
- Rebuilt for GCC 5 C++11 ABI change
2ad070f
Orion Poplawski 21bd3d3
* Wed Mar 18 2015 Orion Poplawski <orion@cora.nwra.com> - 6.2.0-1
Orion Poplawski 21bd3d3
- Update to 6.2.0
Orion Poplawski 21bd3d3
- Remove type, system, install, and netcdf patches applied upstream
Orion Poplawski 21bd3d3
- Integrate and replace vtkdata
Orion Poplawski 21bd3d3
- Build and run tests again
Orion Poplawski 21bd3d3
- Generate testing.list based on executable name
Orion Poplawski 21bd3d3
Orion Poplawski 8c263fb
* Thu Mar 05 2015 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-26
Orion Poplawski 8c263fb
- Add needed vtk-*-devel requires to vtk-devel (bug #1199310)
Orion Poplawski 8c263fb
Orion Poplawski 58a7bad
* Wed Mar 04 2015 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-25
Orion Poplawski 58a7bad
- Rebuild for jsoncpp
Orion Poplawski 58a7bad
Petr Machata 8a16007
* Wed Feb 04 2015 Petr Machata <pmachata@redhat.com> - 6.1.0-24
Petr Machata 8a16007
- Bump for rebuild.
Petr Machata 8a16007
Orion Poplawski cc40703
* Tue Feb 3 2015 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-23
Orion Poplawski cc40703
- Add patch to fix tcl library loading
Orion Poplawski cc40703
Petr Machata 5070598
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 6.1.0-22
Petr Machata 5070598
- Rebuild for boost 1.57.0
Petr Machata 5070598
395e4b7
* Mon Jan 19 2015 François Cami <fcami@fedoraproject.org> - 6.1.0-21
395e4b7
- Switch to non-explicit arch requires for now (bugs #1183210 #1183530)
395e4b7
af32450
* Sat Jan 17 2015 François Cami <fcami@fedoraproject.org> - 6.1.0-20
af32450
- Add jsoncpp-devel and python2-devel to vtk-devel Requires (bug #1183210)
af32450
Orion Poplawski 05fbac8
* Thu Jan 08 2015 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-19
Orion Poplawski 05fbac8
- Rebuild for hdf5 1.8.14
Orion Poplawski 44c7e19
- Add patch to fix compilation error
Orion Poplawski 05fbac8
30577fc
* Thu Nov 20 2014 Dan Horák <dan[at]danny.cz> - 6.1.0-18
30577fc
- Don't override Java memory settings on s390 (related to bug #1115920)
30577fc
Orion Poplawski b6eac66
* Wed Nov 19 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-17
Orion Poplawski 107f95b
- Add patch to fix compilation with mesa 10.4 (bug #1138466)
Orion Poplawski 107f95b
Orion Poplawski a1c861a
* Fri Oct 31 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-16
Orion Poplawski a1c861a
- No longer need cmake28 on RHEL6
Orion Poplawski a1c861a
Orion Poplawski 3a179ae
* Thu Sep 4 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-15
Orion Poplawski 3a179ae
- Increase java heap space for builds (bug #1115920)
Orion Poplawski 3a179ae
3d79c36
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.0-14
3d79c36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3d79c36
Orion Poplawski 232ee87
* Tue Jun 10 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-13
Orion Poplawski 232ee87
- Rebuild for hdf 1.8.13
Orion Poplawski 232ee87
8aea23e
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.0-12
8aea23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8aea23e
Orion Poplawski 8655557
* Thu Jun 5 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-11
Orion Poplawski 8655557
- Add requires on blas-devel and lapack-devel to vtk-devel (bug #1105004)
Orion Poplawski 8655557
bdb81e1
* Tue May 27 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-10
bdb81e1
- Rebuild for Tcl 8.6
bdb81e1
Petr Machata f82ed2e
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 6.1.0-9
Petr Machata f82ed2e
- Rebuild for boost 1.55.0
Petr Machata f82ed2e
2480448
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 6.1.0-8
2480448
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
2480448
94e986e
* Tue May  6 2014 Tom Callaway <spot@fedoraproject.org> - 6.1.0-7
119c6dd
- rebuild against R 3.1.0 (without bundled blas/lapack)
119c6dd
Orion Poplawski b71122f
* Wed Mar 26 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-5
Orion Poplawski b71122f
- Add Requires: qtwebkit-devel and hdf5-devel to vtk-devel (bug #1080781)
Orion Poplawski b71122f
Orion Poplawski 41ab70b
* Tue Jan 28 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-4
Orion Poplawski 41ab70b
- Really fix requires freetype-devel
Orion Poplawski 41ab70b
Orion Poplawski bd7ab6f
* Mon Jan 27 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-3
Orion Poplawski bd7ab6f
- Fix requires freetype-devel
Orion Poplawski bd7ab6f
Orion Poplawski 9597c56
* Sun Jan 26 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-2
Orion Poplawski 9597c56
- Add Requires: libfreetype-devel; libxml2-devel to vtk-devel (bug #1057924)
Orion Poplawski 9597c56
Orion Poplawski 8d93d81
* Thu Jan 23 2014 Orion Poplawski <orion@cora.nwra.com> - 6.1.0-1
Orion Poplawski 8d93d81
- Update to 6.1.0
Orion Poplawski 8d93d81
- Rebase patches, drop vtkpython patch
Orion Poplawski 8d93d81
- Disable BUILD_TESTING for now until we can provide test data
Orion Poplawski 8d93d81
Orion Poplawski 62eb305
* Fri Dec 27 2013 Orion Poplawski <orion@cora.nwra.com> - 6.0.0-10
Orion Poplawski 62eb305
- Add patch to use system netcdf
Orion Poplawski 62eb305
d5d33e8
* Sun Dec 22 2013 Kevin Fenzi <kevin@scrye.com> 6.0.0-9
d5d33e8
- Add BuildRequires on blas-devel and lapack-devel
d5d33e8
652f037
* Sun Dec 22 2013 François Cami <fcami@fedoraproject.org> - 6.0.0-8
652f037
* Rebuild for rawhide.
652f037
5c20f1a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.0-7
5c20f1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5c20f1a
Petr Machata 92ef0bf
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 6.0.0-6
Petr Machata 92ef0bf
- Rebuild for boost 1.54.0
Petr Machata 92ef0bf
2a4914c
* Mon Jul 29 2013 Orion Poplawski <orion@cora.nwra.com> - 6.0.0-5
2a4914c
- Enable VTK_WRAP_PYTHON_SIP
2a4914c
4553fdb
* Fri Jul 26 2013 Orion Poplawski <orion@cora.nwra.com> - 6.0.0-4
4553fdb
- Add patch to install vtkpython
4553fdb
5052995
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 6.0.0-3
5052995
- Perl 5.18 rebuild
5052995
8bd4eb9
* Mon Jul 15 2013 Orion Poplawski <orion@cora.nwra.com> - 6.0.0-2
8bd4eb9
- Install vtkMakeInstantiator files for gdcm build
8bd4eb9
f4b9efa
* Fri Jul 12 2013 Orion Poplawski <orion@cora.nwra.com> - 6.0.0-1
f4b9efa
- Add BR on R-devel
f4b9efa
5eec0fe
* Thu Jun 27 2013 Orion Poplawski <orion@cora.nwra.com> - 6.0.0-1
980ace4
- Update to 6.0.0
980ace4
3d24895
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 5.10.1-5
3d24895
- Rebuild for hdf5 1.8.11
3d24895
e9a928d
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.10.1-4
e9a928d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e9a928d
Adam Tkac 027e6fd
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 5.10.1-3
Adam Tkac 027e6fd
- rebuild due to "jpeg8-ABI" feature drop
Adam Tkac 027e6fd
7a8e222
* Mon Dec 03 2012 Orion Poplawski <orion@cora.nwra.com> - 5.10.1-2
7a8e222
- Rebuild for hdf5 1.8.10
18a6223
- Change doc handling
7a8e222
Orion Poplawski 4547a8d
* Thu Nov 1 2012 Orion Poplawski <orion@cora.nwra.com> - 5.10.1-1
Orion Poplawski 4547a8d
- Update to 5.10.1
Orion Poplawski 4547a8d
2e2d7ce
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.10.0-3
2e2d7ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2e2d7ce
Orion Poplawski b11572b
* Thu May 24 2012 Orion Poplawski <orion@cora.nwra.com> - 5.10.0-2
Orion Poplawski b11572b
- Add patch to add soname to libvtkNetCDF_cxx
Orion Poplawski b11572b
Orion Poplawski ad85010
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> - 5.10.0-1
Orion Poplawski ad85010
- Update to 5.10.0
Orion Poplawski ad85010
ca9d984
* Tue May 15 2012 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 5.8.0-6
ca9d984
- Add cmake28 usage when building for EL6
05ce9d4
- Disable -java build on PPC64 as it fails to build
ca9d984
850f2cf
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8.0-5
850f2cf
- Rebuilt for c++ ABI breakage
850f2cf
Orion Poplawski 60c4836
* Sun Jan 8 2012 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-4
Orion Poplawski 60c4836
- Rebuild with gcc 4.7
Orion Poplawski 60c4836
Orion Poplawski ceab06d
* Fri Nov 18 2011 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-3
Orion Poplawski ceab06d
- Rebuild for hdf5 1.8.8, add explicit requires
Orion Poplawski ceab06d
b780861
* Tue Nov 1 2011 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-2
Orion Poplawski 028343b
- Keep libraries in %%{_libdir}/vtk, use ld.so.conf.d
Orion Poplawski 028343b
Orion Poplawski ec8139c
* Fri Oct 7 2011 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-1
Orion Poplawski ec8139c
- Update to 5.8.0
Orion Poplawski ec8139c
- Drop version from directory names
Orion Poplawski ec8139c
- Use VTK_PYTHON_SETUP_ARGS instead of patch to set python install dir
Orion Poplawski ec8139c
- Drop several patches fixed upstream
Orion Poplawski ec8139c
- Remove rpaths from all hand installed binaries (Bug 744437)
Orion Poplawski ec8139c
- Don't link against OSMesa (Bug 744434)
Orion Poplawski ec8139c
Orion Poplawski d696ba3
* Thu Jun 23 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-10
Orion Poplawski d696ba3
- Add BR qtwebkit-devel, fixes FTBS bug 715770
Orion Poplawski d696ba3
Orion Poplawski 1442ec2
* Thu May 19 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-9
Orion Poplawski 1442ec2
- Update soversion patch to add soversion to libvtkNetCDF.so
Orion Poplawski 1442ec2
Orion Poplawski 490b6f2
* Mon Mar 28 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-8
Orion Poplawski 490b6f2
- Rebuild for new mysql
Orion Poplawski 490b6f2
Orion Poplawski c8701cf
* Thu Mar 17 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-7
Orion Poplawski c8701cf
- Add needed requires to vtk-devel
Orion Poplawski c8701cf
Orion Poplawski 578b5ac
* Wed Mar 16 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-6
Orion Poplawski 578b5ac
- Turn on boost, mysql, postgres, ogg theora, and text analysis support,
Orion Poplawski 578b5ac
  bug 688275.
Orion Poplawski 578b5ac
a315b9c
* Wed Mar 16 2011 Marek Kasik <mkasik@redhat.com> - 5.6.1-5
a315b9c
- Add backslashes to VTK_INSTALL_LIB_DIR and
a315b9c
- VTK_INSTALL_INCLUDE_DIR (#687895)
a315b9c
Orion Poplawski d3fddc6
* Tue Mar 15 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-4
Orion Poplawski d3fddc6
- Set VTK_INSTALL_LIB_DIR, fix bug 687895
Orion Poplawski d3fddc6
Orion Poplawski 914eac4
* Fri Feb 18 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-3
Orion Poplawski 914eac4
- Add patch to support gcc 4.6
Orion Poplawski 914eac4
- Add patch to make using system libraries easier
Orion Poplawski 914eac4
- Update pythondestdir patch to use --prefix and --root
Orion Poplawski 914eac4
- Use system gl2ps and libxml2
Orion Poplawski 914eac4
- Use standard cmake build macro, out of tree builds
Orion Poplawski 914eac4
- Add patch from upstream to add sonames to libCosmo and libVPIC (bug #622840)
Orion Poplawski 914eac4
0e3f959
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.1-2
0e3f959
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0e3f959
b780861
* Tue Dec 7 2010 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-1
Orion Poplawski 79d689f
- Update to 5.6.1
Orion Poplawski 79d689f
- Enable qt4 support, drop qt3 support
Orion Poplawski 79d689f
9fddd27
* Wed Oct 20 2010 Adam Jackson <ajax@redhat.com> 5.6.0-37
9fddd27
- Rebuild for new libOSMesa soname
9fddd27
1ceaf7f
* Sat Jul 31 2010 David Malcolm <dmalcolm@redhat.com> - 5.6.0-36
1ceaf7f
- add python 2.7 compat patch
1ceaf7f
b6bdc69
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 5.6.0-35
b6bdc69
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
b6bdc69
c59190f
* Mon Jul  5 2010 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.6.0-34
c59190f
- Update to 5.6.0.
4ad49a0
34d39db
* Sat Jun  6 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.4.2-30
34d39db
- Update to 5.4.2.
a85cae6
34d39db
* Thu Mar 12 2009 Orion Poplawski <orion@cora.nwra.com> - 5.2.1-29
2136714
- Update to 5.2.1
2136714
cb9f45a
* Fri Mar 06 2009 Jesse Keating <jkeating@redhat.com> - 5.2.0-28
cb9f45a
- Remove chmod on examples .so files, none are built.  This needs
cb9f45a
  more attention.
cb9f45a
524dda0
* Sun Oct  5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.2.0-26
524dda0
- Update to 5.2.0.
b9a3eb9
b2eb6da
* Wed Oct 1 2008 Orion Poplawski <orion@cora.nwra.com> - 5.0.2-25
b2eb6da
- Fix patch fuzz
b2eb6da
0b020a5
* Mon Aug 25 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-24
0b020a5
- Change java build dependencies from java-devel to gcj.
0b020a5
283dcfc
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-23
283dcfc
- %%check || : does not work anymore.
283dcfc
- enable java by default.
283dcfc
73ffa84
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.0.4-22
73ffa84
- fix license tag
73ffa84
8f6f969
* Sat Apr 12 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-21
8f6f969
- Fixes for gcc 4.3 by Orion Poplawski.
8f6f969
25c9402
* Sat Apr  5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-20
25c9402
- Change BR to qt-devel to qt3-devel.
25c9402
789e657
* Sat Feb 23 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-19
789e657
- Update to 5.0.4.
fa7a0d2
8b84c5b
* Mon May 28 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-18
8b84c5b
- Move headers to %%{_includedir}/vtk.
8b84c5b
- Remove executable bit from sources.
8b84c5b
8b84c5b
* Mon Apr 16 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-17
8b84c5b
- Make java build conditional.
8b84c5b
- Add ldconfig %%post/%%postun for java/qt subpackages.
8b84c5b
8b84c5b
* Sun Apr 15 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-16
8b84c5b
- Remove %%ghosting pyc/pyo.
8b84c5b
8b84c5b
* Wed Apr 04 2007 Paulo Roma <roma@lcg.ufrj.br> - 5.0.3-15
8b84c5b
- Update to 5.0.4.
8b84c5b
- Added support for qt4 plugin.
8b84c5b
8b84c5b
* Wed Feb  7 2007 Orion Poplawski <orion@cora.nwra.com> - 5.0.2-14
8b84c5b
- Enable Java, Qt, GL2PS, OSMESA
8b84c5b
8b84c5b
* Mon Sep 11 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.2-13
8b84c5b
- Update to 5.0.2.
8b84c5b
8b84c5b
* Sun Aug  6 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-12
8b84c5b
- cmake needs to be >= 2.0.4.
8b84c5b
8b84c5b
* Fri Aug  4 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-11
8b84c5b
- Fix some python issues including pyo management.
8b84c5b
8b84c5b
* Sun Jul 23 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-10
8b84c5b
- Embed feedback from bug 199405 comment 5.
8b84c5b
- Fix some Group entries.
8b84c5b
- Remove redundant dependencies.
8b84c5b
- Use system libs.
8b84c5b
- Comment specfile more.
8b84c5b
- Change buildroot handling with CMAKE_INSTALL_PREFIX.
8b84c5b
- Enable qt designer plugin.
8b84c5b
8b84c5b
* Wed Jul 19 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-7
8b84c5b
- Fix some permissions for rpmlint and debuginfo.
8b84c5b
8b84c5b
* Sun Jul 16 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-7
8b84c5b
- Remove rpath and some further rpmlint warnings.
8b84c5b
8b84c5b
* Thu Jul 13 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-6
8b84c5b
- Update to 5.0.1.
8b84c5b
8b84c5b
* Wed May 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net>
8b84c5b
- Update to 5.0.
8b84c5b
b780861
* Mon Apr 05 2004 Intrinsic Spin <spin@freakbait.com> 2.mr
8b84c5b
- built on a machine with a stock libGL.so
8b84c5b
8b84c5b
* Sun Apr 04 2004 Intrinsic Spin <spin@freakbait.com>
8b84c5b
- little cleanups
8b84c5b
- Built for FC1
8b84c5b
8b84c5b
* Sun Jan 11 2004 Intrinsic Spin <spin@freakbait.com>
8b84c5b
- Built against a reasonably good (according to dashboard) CVS version so-as
8b84c5b
 to get GL2PS support.
8b84c5b
- Rearranged. Cleaned up. Added some comments. 
8b84c5b
8b84c5b
* Sat Jan 10 2004 Intrinsic Spin <spin@freakbait.com>
8b84c5b
- Blatently stole this spec file for my own nefarious purposes.
8b84c5b
- Removed Java (for now). Merged the Python and Tcl stuff into 
8b84c5b
 the main rpm.
8b84c5b
8b84c5b
* Fri Dec 05 2003 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
8b84c5b
- (See Fabrice's RPMs for any more comments --Spin)