From ea8389538b673f2118e6bbb38faf9029270c2db0eb22ab4ad723f417d4cdc48f Mon Sep 17 00:00:00 2001 From: andrea florio Date: Mon, 30 May 2011 17:41:11 +0000 Subject: [PATCH] Accepting request 71834 from home:badshah400:branches:science Fix build failures on openSUSE 11.3 and minor spec file cleanup OBS-URL: https://build.opensuse.org/request/show/71834 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=24 --- vtk.changes | 8 ++++++++ vtk.spec | 27 +++++++++++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/vtk.changes b/vtk.changes index 0ce6dd3..913a491 100644 --- a/vtk.changes +++ b/vtk.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat May 28 17:35:51 UTC 2011 - badshah400@gmail.com + +- Add explicit libQtWebKit-devel BuildRequires to fix build + failures on openSUSE 11.3 +- Make description of sub-package vtk-qt more detailed +- Spec file clean up + ------------------------------------------------------------------- Sat May 28 07:49:50 UTC 2011 - alinm.elena@gmail.com diff --git a/vtk.spec b/vtk.spec index 642e3ad..1f53a52 100644 --- a/vtk.spec +++ b/vtk.spec @@ -77,6 +77,7 @@ BuildRequires: libjpeg-devel BuildRequires: libmysqlclient-devel BuildRequires: libpng-devel BuildRequires: libqt4-devel +BuildRequires: libQtWebKit-devel BuildRequires: libtheora-devel BuildRequires: libtiff-devel BuildRequires: libxml2-devel @@ -112,7 +113,7 @@ Requires: libqt4-devel Requires: libtheora-devel Requires: libtiff-devel Requires: postgresql-devel -Requires: vtk = %{version} +Requires: %{name} = %{version} %description devel VTK is an open-source software system for image processing, 3D @@ -127,7 +128,7 @@ use VTK to do 3D visualisation. %package tcl Summary: Tcl bindings for VTK Group: System/Libraries -Requires: vtk = %{version} +Requires: %{name} = %{version} %description tcl VTK is an open-source software system for image processing, 3D @@ -141,7 +142,8 @@ This package provides tcl bindings for VTK. %package -n python-vtk Summary: Python bindings for VTK Group: System/Libraries -Requires: vtk = %{version} +Requires: %{name} = %{version} +%{py_requires} %description -n python-vtk VTK is an open-source software system for image processing, 3D @@ -155,7 +157,7 @@ This package provides python bindings for VTK. %package java Summary: Java bindings for VTK Group: Development/Libraries/Java -Requires: vtk = %{version} +Requires: %{name} = %{version} %description java VTK is an open-source software system for image processing, 3D @@ -169,7 +171,7 @@ This package provides java bindings for VTK. %package testing Summary: Testing programs for VTK Group: Productivity/Scientific/Other -Requires: vtk = %{version} +Requires: %{name} = %{version} Requires: vtkdata = %{version} %description testing @@ -183,18 +185,23 @@ This package provides a few testing programs for VTK %package qt Summary: QT VTK widget -Requires: vtk = %{version} -# do not neeeded to call it, rpm take care of it -#Requires: libqt4 +Requires: %{name} = %{version} Group: Development/Libraries/C and C++ %description qt -Qt VTK widget +VTK is an open-source software system for image processing, 3D +graphics, volume rendering and visualization. VTK includes many +advanced algorithms (e.g., surface reconstruction, implicit modelling, +decimation) and rendering techniques (e.g., hardware-accelerated +volume rendering, LOD control). + +This package provides Qt bindings for VTK. + %package examples Summary: Examples for VTK Group: Productivity/Scientific/Other -Requires: vtk = %{version} +Requires: %{name} = %{version} Requires: vtkdata = %{version} %description examples