From dce3cc2897f80c74a6b7e6f4bd7a37f65acee12b1e90b73a30b8738f726f99e5 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 22 Nov 2018 15:02:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=126 --- vtk.spec | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/vtk.spec b/vtk.spec index cb6ce1b..dc3c7e1 100644 --- a/vtk.spec +++ b/vtk.spec @@ -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