I checked out the 5.4.2-30 spec from cvs, and tried to build under F11, here is the changes I made otherwise it won't build: =================================================================== RCS file: /cvs/pkgs/rpms/vtk/F-11/vtk.spec,v retrieving revision 1.20 diff -u -r1.20 vtk.spec --- vtk.spec 8 Jun 2009 06:04:08 -0000 1.20 +++ vtk.spec 13 Jul 2009 23:21:25 -0000 @@ -14,7 +14,7 @@ License: BSD Group: System Environment/Libraries Source: http://www.vtk.org/files/release/5.4/%{name}-%{version}.tar.gz -Patch0: vtk-5.2.0-pythondestdir.patch +Patch0: vtk-5.2.1-pythondestdir.patch Patch1: vtk-5.2.0-gcc43.patch URL: http://vtk.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root @@ -224,19 +224,16 @@ rm -rf %{buildroot} mkdir -p %{buildroot} make install -mv tmpinstall/* %{buildroot}/ +cp -R tmpinstall/* %{buildroot}/ if [ "%{_lib}" != lib -a "`ls %{buildroot}%{_prefix}/lib/*`" != "" ]; then mkdir -p %{buildroot}%{_libdir} mv %{buildroot}%{_prefix}/lib/* %{buildroot}%{_libdir}/ fi -# Gather list of non-python/tcl libraries -ls %{buildroot}%{_libdir}/*.so.* \ - | grep -Ev '(Java|QVTK|PythonD|TCL)' | sed -e's,^%{buildroot},,' > libs.list - # List of executable utilities cat > utils.list << EOF +lproj vtkParseOGLExt vtkEncodeString EOF @@ -296,15 +293,20 @@ chrpath -d %{buildroot}$file done -# Main package contains utils and core libs -cat libs.list utils.list > main.list - # Make shared libs and scripts executable mv %{buildroot}%{_libdir}/vtk-5.4/lib*.so* %{buildroot}%{_libdir}/ + chmod a+x %{buildroot}%{_libdir}/lib*.so.* chmod a+x %{buildroot}%{_libdir}/vtk-5.4/doxygen/*.pl chmod a+x %{buildroot}%{_libdir}/vtk-5.4/testing/*.{py,tcl} +# Gather list of non-python/tcl libraries +ls %{buildroot}%{_libdir}/*.so.* \ + | grep -Ev '(Java|QVTK|PythonD|TCL)' | sed -e's,^%{buildroot},,' > libs.list + +# Main package contains utils and core libs +cat libs.list utils.list > main.list + # Remove exec bit from non-scripts and %%doc for file in `find %{buildroot} -type f -perm 0755 \ | xargs -r file | grep ASCII | awk -F: '{print $1}'`; do @@ -353,6 +355,7 @@ %files devel %defattr(-,root,root,-) %doc Utilities/Upgrading +%{_libdir}/vtk-5.4/doc %{_libdir}/vtk-5.4/doxygen %{_includedir}/vtk %{_libdir}/*.so An attachment is also provided.
vtk-5.4.2-33.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/vtk-5.4.2-33.fc11
vtk-5.4.2-33.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/vtk-5.4.2-33.fc10
vtk-5.4.2-33.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update vtk'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-7940
vtk-5.4.2-33.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update vtk'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7958
vtk-5.4.2-33.fc10, vtkdata-5.4.2-13.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update vtk vtkdata'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-7940
vtk-5.4.2-33.fc11, vtkdata-5.4.2-13.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update vtk vtkdata'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7958
vtk-5.4.2-33.fc10, vtkdata-5.4.2-13.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
vtk-5.4.2-33.fc11, vtkdata-5.4.2-13.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.