From 4553fdbc55cf8c08f5f3d9f6ab59b41cdf75c483 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 26 Jul 2013 16:47:48 -0600 Subject: [PATCH] Add patch to install vtkpython --- vtk.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/vtk.spec b/vtk.spec index f276caa..8f40895 100644 --- a/vtk.spec +++ b/vtk.spec @@ -14,7 +14,7 @@ Summary: The Visualization Toolkit - A high level 3D visualization library Name: vtk Version: 6.0.0 -Release: 3%{?dist} +Release: 4%{?dist} # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant @@ -27,6 +27,8 @@ Patch0: vtk-6.0.0-system.patch # Install some more needed cmake files to try to support paraview build # http://www.vtk.org/Bug/view.php?id=14157 Patch1: vtk-install.patch +# Upsream patch to install vtkpython +Patch2: vtk-vtkpython.patch URL: http://vtk.org/ @@ -165,6 +167,7 @@ programming languages. %setup -q -n VTK%{version} %patch0 -p1 -b .system %patch1 -p1 -b .install +%patch2 -p1 -b .vtkpython # Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version} # otherwise it will break on symlinks. @@ -310,10 +313,6 @@ for file in `cat examples.list`; do chrpath -d %{buildroot}$file done -# vtkpython is not being installed -cp -p bin/vtkpython %{buildroot}%{_bindir}/ -chrpath -d %{buildroot}%{_bindir}/vtkpython - # http://vtk.org/Bug/view.php?id=14125 chrpath -d %{buildroot}%{python_sitearch}/vtk/*.so @@ -436,6 +435,9 @@ cp -pr --parents Wrapping/*/README* _docs/ %doc vtk-examples/Examples %changelog +* Fri Jul 26 2013 Orion Poplawski - 6.0.0-4 +- Add patch to install vtkpython + * Wed Jul 17 2013 Petr Pisar - 6.0.0-3 - Perl 5.18 rebuild