Todd R 2018-11-22 15:02:52 +00:00 committed by Git OBS Bridge
parent 600ad7d3a8
commit dce3cc2897

View File

@ -23,7 +23,7 @@
%define shlib %{vtklib}
Name: vtk
Version: 8.1.2
Version: 8.1.1
Release: 0
%define series 8.1
# This is a variant BSD license, a cross between BSD and ZLIB.
@ -81,7 +81,6 @@ BuildRequires: netcdf-devel
BuildRequires: openmpi-devel
BuildRequires: python3-devel
BuildRequires: python3-mpi4py-devel
BuildRequires: python3-numpy-devel
BuildRequires: python3-qt5-devel
BuildRequires: tcl-devel
BuildRequires: tk-devel
@ -107,7 +106,7 @@ rendering and visualization. VTK includes many advanced algorithms
rendering techniques (e.g. hardware-accelerated volume rendering, LOD
control).
%package -n %{shlib}
%package -n %{shlib}
Summary: The Visualization Toolkit - A high level 3D visualization library
Group: System/Libraries
Conflicts: %{vtkcompatlib}
@ -118,7 +117,7 @@ rendering and visualization.
This package provides the shared libraries for VTK.
%package devel
%package devel
Summary: VTK header files for building C++ code
# not strictly necessary, but required by VTKs cmake files
Group: Development/Libraries/C and C++
@ -146,43 +145,40 @@ Requires: netcdf-devel
Requires: openmpi-devel
Conflicts: vtk-compat_gl-devel
%description devel
%description devel
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization.
This provides the VTK header files required to compile C++ programs that
use VTK to do 3D visualisation.
%package devel-doc
%package devel-doc
Summary: VTK API documentation
Group: Documentation/HTML
%description devel-doc
%description devel-doc
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization.
This provides the VTK API documentation useful for developing programs that
use VTK to do 3D visualisation.
%package java
%package java
Summary: Java bindings for VTK
Group: Development/Libraries/Java
Requires: %{shlib} = %{version}
Conflicts: vtk-compat_gl-java
%description java
%description java
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization.
This package provides java bindings for VTK.
%package -n python3-%{name}
%package -n python3-%{name}
Summary: Python bindings for VTK
Group: Development/Languages/Python
Requires: %{shlib} = %{version}
Requires: python3-mpi4py
Requires: python3-numpy
Requires: python3-qt5
Conflicts: python3-vtk-compat_gl
%description -n python3-%{name}
@ -191,7 +187,7 @@ rendering and visualization.
This package provides python bindings for VTK.
%package qt
%package qt
Summary: Qt Designer plugin for QVTKWidget
Group: Development/Libraries/C and C++
Requires: %{shlib} = %{version}
@ -203,40 +199,40 @@ rendering and visualization.
This package provides a Qt Designer plugin for the QVTKWidget.
%package tcl
%package tcl
Summary: Tcl bindings for VTK
Group: Development/Languages/Tcl
Requires: %{shlib} = %{version}
Conflicts: vtk-compat_gl-tcl
%description tcl
%description tcl
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization.
This package provides tcl bindings for VTK.
%package examples
%package examples
Summary: Examples for VTK
Group: Productivity/Scientific/Other
Requires: %{shlib} = %{version}
Recommends: %{name}data = %{version}
Conflicts: vtk-compat_gl-examples
%description examples
%description examples
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization.
This package contains many examples showing how to use VTK. Examples
are available in the C++, Tcl, Python and Java programming languages.
%package testing
%package testing
Summary: Testing programs for VTK
Group: Productivity/Scientific/Other
Requires: %{name}data = %{version}
Requires: %{shlib} = %{version}
Conflicts: vtk-compat_gl-testing
%description testing
%description testing
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization.
@ -370,10 +366,6 @@ chrpath -d %{buildroot}%{_bindir}/*
%fdupes -s %{buildroot}
%check
export PYTHONPATH=%{buildroot}%{python3_sitearch}
python3 -c "import python3"
%post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig