2009-06-23 18:55:47 +02:00
|
|
|
%define qtdir %{_libdir}/qt4
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
Name: vtk
|
2008-08-09 15:10:45 +02:00
|
|
|
Summary: The Visualization Toolkit - A high level 3D visualization library
|
2009-06-23 18:55:47 +02:00
|
|
|
Version: 5.4.2
|
2009-01-03 18:37:43 +01:00
|
|
|
Release: 1
|
2008-08-09 15:10:45 +02:00
|
|
|
License: BSD
|
2009-06-23 18:55:47 +02:00
|
|
|
Group: System/Libraries
|
2008-08-09 15:10:45 +02:00
|
|
|
URL: http://www.vtk.org
|
2009-06-23 18:55:47 +02:00
|
|
|
Source0: vtk-%{version}.tar.gz
|
|
|
|
Patch0: vtk-5.4.2-pythondestdir.patch
|
2010-03-26 11:13:54 +01:00
|
|
|
Patch1: vtk-5.4.2-string-len.patch
|
2010-05-08 20:18:59 +02:00
|
|
|
%if 0%{?suse_version} >= 1130
|
|
|
|
Patch2: vtk-libpng-1.4.0.patch
|
|
|
|
%endif
|
2008-08-09 15:10:45 +02:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2009-01-03 18:37:43 +01:00
|
|
|
|
2009-06-23 18:55:47 +02:00
|
|
|
BuildRequires: cmake tcl-devel tk-devel libqt4-devel python-devel
|
|
|
|
BuildRequires: libexpat-devel libjpeg-devel libpng-devel freetype2-devel
|
|
|
|
BuildRequires: libtiff-devel zlib-devel fdupes doxygen graphviz gnuplot
|
2008-08-09 15:10:45 +02:00
|
|
|
# tar-1.14.90+ uses --strip-components option
|
|
|
|
BuildRequires: tar > 1.14.90
|
|
|
|
BuildRequires: chrpath
|
2009-01-03 18:37:43 +01:00
|
|
|
%if 0%{?suse_version} >= 1110
|
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
%endif
|
2010-05-08 20:18:59 +02:00
|
|
|
BuildRequires: java-devel
|
2008-08-09 15:10:45 +02:00
|
|
|
|
|
|
|
%description
|
2008-07-18 21:58:34 +02:00
|
|
|
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
|
2008-08-09 15:10:45 +02:00
|
|
|
volume rendering, LOD control)
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%package devel
|
2008-08-09 15:10:45 +02:00
|
|
|
Summary: VTK header files for building C++ code
|
|
|
|
Requires: vtk = %{version}
|
2009-11-29 11:58:48 +01:00
|
|
|
Requires: python-vtk
|
|
|
|
Requires: vtk-qt
|
|
|
|
Requires: vtk-tcl
|
2008-08-09 15:10:45 +02:00
|
|
|
Group: Development/Libraries
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This provides the VTK header files required to compile C++ programs that
|
2008-08-09 15:10:45 +02:00
|
|
|
use VTK to do 3D visualisation
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%package tcl
|
2008-08-09 15:10:45 +02:00
|
|
|
Summary: Tcl bindings for VTK
|
|
|
|
Requires: vtk = %{version}
|
2009-06-23 18:55:47 +02:00
|
|
|
Group: System/Libraries
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%description tcl
|
|
|
|
tcl bindings for VTK
|
|
|
|
|
2009-11-29 11:58:48 +01:00
|
|
|
%package -n python-vtk
|
2008-08-09 15:10:45 +02:00
|
|
|
Summary: Python bindings for VTK
|
|
|
|
Requires: vtk = %{version}
|
2009-06-23 18:55:47 +02:00
|
|
|
Group: System/Libraries
|
2009-11-29 11:58:48 +01:00
|
|
|
Provides: vtk-python
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2009-11-29 11:58:48 +01:00
|
|
|
|
|
|
|
%description -n python-vtk
|
2008-07-18 21:58:34 +02:00
|
|
|
python bindings for VTK
|
|
|
|
|
2010-05-08 20:18:59 +02:00
|
|
|
%package java
|
|
|
|
Summary: Java VTK bindings
|
|
|
|
Requires: vtk = %{version}
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
|
|
|
|
%description java
|
|
|
|
The Java-bindings for VTK
|
|
|
|
|
2008-07-18 21:58:34 +02:00
|
|
|
%package qt
|
2008-08-09 15:10:45 +02:00
|
|
|
Summary: QT VTK widget
|
|
|
|
Requires: vtk = %{version}
|
2009-06-23 18:55:47 +02:00
|
|
|
# do not neeeded to call it, rpm take care of it
|
|
|
|
#Requires: libqt4
|
|
|
|
Group: Development/Libraries/C and C++
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%description qt
|
2008-08-09 15:10:45 +02:00
|
|
|
Qt VTK widget
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%package examples
|
2008-08-09 15:10:45 +02:00
|
|
|
Summary: Examples for VTK
|
2010-01-10 22:52:35 +01:00
|
|
|
Requires: vtk = %{version}
|
2009-06-23 18:55:47 +02:00
|
|
|
Group: Productivity/Scientific/Other
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%description examples
|
|
|
|
This package contains many well-commented examples showing how to use
|
|
|
|
VTK. Examples are available in the C++, Tcl, Python and Java
|
2008-08-09 15:10:45 +02:00
|
|
|
programming languages
|
|
|
|
|
|
|
|
%package testing-progs
|
|
|
|
Summary: Testing programs for VTK
|
2009-01-03 19:58:54 +01:00
|
|
|
Requires: %{name} = %{version}, vtkdata = %{version}
|
2009-06-23 18:55:47 +02:00
|
|
|
Group: Productivity/Scientific/Other
|
2008-08-09 15:10:45 +02:00
|
|
|
|
|
|
|
%description testing-progs
|
|
|
|
Testing programs for VTK
|
|
|
|
|
2009-11-29 11:58:48 +01:00
|
|
|
%debug_package
|
2008-07-18 21:58:34 +02:00
|
|
|
%prep
|
2008-08-09 15:10:45 +02:00
|
|
|
%setup -n VTK -q
|
|
|
|
%patch0 -p1
|
2010-03-26 11:13:54 +01:00
|
|
|
%patch1 -p1
|
2010-05-08 20:18:59 +02:00
|
|
|
%if 0%{?suse_version} >= 1130
|
|
|
|
%patch2 -p1
|
|
|
|
%endif
|
2009-01-03 18:37:43 +01:00
|
|
|
|
2009-01-03 19:58:54 +01:00
|
|
|
# Replace relative path ../../../VTKData with %{_datadir}/vtkdata
|
2008-07-18 21:58:34 +02:00
|
|
|
# otherwise it will break on symlinks.
|
|
|
|
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs \
|
2009-01-03 19:58:54 +01:00
|
|
|
perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{name}data,g'
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%build
|
2009-06-23 18:55:47 +02:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
2008-08-09 15:10:45 +02:00
|
|
|
cmake . \
|
2009-06-23 18:55:47 +02:00
|
|
|
-DDESIRED_QT_VERSION=4 \
|
2008-08-09 15:10:45 +02:00
|
|
|
-DCMAKE_C_FLAGS:STRING="$RPM_OPT_FLAGS" \
|
|
|
|
-DCMAKE_CXX_FLAGS:STRING="$RPM_OPT_FLAGS" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH=$RPM_BUILD_ROOT \
|
|
|
|
-DVTK_INSTALL_BIN_DIR:PATH=%{_bindir} \
|
2008-08-10 12:12:17 +02:00
|
|
|
-DVTK_INSTALL_INCLUDE_DIR:PATH=%{_includedir}/%{name} \
|
2008-08-09 15:10:45 +02:00
|
|
|
-DVTK_INSTALL_LIB_DIR:PATH=%{_libdir} \
|
|
|
|
-DVTK_DATA_ROOT:PATH=%{_datadir}/%{name}-data \
|
|
|
|
-DVTK_WRAP_PYTHON:BOOL=ON \
|
|
|
|
-DVTK_WRAP_TCL:BOOL=ON \
|
2010-05-08 20:18:59 +02:00
|
|
|
-DVTK_WRAP_JAVA:BOOL=ON \
|
2008-08-09 15:10:45 +02:00
|
|
|
-DVTK_USE_PARALLEL:BOOL=ON \
|
|
|
|
-DVTK_USE_RENDERING:BOOL=ON \
|
2009-01-03 18:37:43 +01:00
|
|
|
-DBUILD_DOCUMENTATION:BOOL=OFF \
|
2008-08-09 15:10:45 +02:00
|
|
|
-DBUILD_EXAMPLES:BOOL=ON \
|
|
|
|
-DBUILD_SHARED_LIBS:BOOL=ON \
|
|
|
|
-DBUILD_TESTING:BOOL=ON \
|
|
|
|
-DVTK_USE_GUISUPPORT:BOOL=ON \
|
|
|
|
-DVTK_USE_QVTK:BOOL=ON \
|
|
|
|
-DVTK_INSTALL_QT_DIR:STRING=%{qtdir}/plugins/designer \
|
2009-06-23 18:55:47 +02:00
|
|
|
-DVTK_LEGACY_REMOVE:BOOL=OFF \
|
2008-08-09 15:10:45 +02:00
|
|
|
-DVTK_USE_GL2PS:BOOL=ON \
|
|
|
|
-DVTK_USE_SYSTEM_EXPAT:BOOL=ON \
|
|
|
|
-DVTK_USE_SYSTEM_JPEG:BOOL=ON \
|
|
|
|
-DVTK_USE_SYSTEM_PNG:BOOL=ON \
|
|
|
|
-DVTK_USE_SYSTEM_TIFF:BOOL=ON \
|
|
|
|
-DVTK_USE_SYSTEM_ZLIB:BOOL=ON \
|
|
|
|
-DVTK_USE_SYSTEM_EXPAT:BOOL=ON \
|
|
|
|
-DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \
|
|
|
|
-DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T:INTERNAL=1
|
|
|
|
|
2009-06-23 18:55:47 +02:00
|
|
|
%__make %{?jobs:-j%{jobs}}
|
2008-08-09 15:10:45 +02:00
|
|
|
|
2008-07-18 21:58:34 +02:00
|
|
|
%install
|
|
|
|
make install
|
|
|
|
|
2009-01-03 19:58:54 +01:00
|
|
|
# python stuff is installed in the wrong directory /usr/local
|
2009-01-04 13:27:00 +01:00
|
|
|
# http://www.vtk.org/Bug/view.php?id=4010
|
2009-11-29 11:58:48 +01:00
|
|
|
mkdir -p %buildroot/%python_sitelib
|
|
|
|
mv $RPM_BUILD_ROOT%{_prefix}/local/lib/python%{py_ver}/site-packages/* $RPM_BUILD_ROOT/%python_sitelib/
|
2009-01-03 19:58:54 +01:00
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
# install testing-progs and examples
|
|
|
|
find bin -type f | egrep -v '\.' > bin-progs-list
|
|
|
|
install -d $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -m 755 `cat bin-progs-list` $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
2009-01-03 18:37:43 +01:00
|
|
|
# generate the package testing-progs lists and store them in file-lists
|
|
|
|
echo "%defattr (-, root, root)" > testing-progs-list
|
|
|
|
find $RPM_BUILD_ROOT%{_bindir} -type f | \
|
|
|
|
sed -e "s#^$RPM_BUILD_ROOT##" | \
|
|
|
|
egrep -v '^%{_bindir}/(qt.*|vtk|pvtk|vtkWrap.*|vtkpython|pvtkpython)$'\
|
|
|
|
>> testing-progs-list
|
2008-08-09 15:10:45 +02:00
|
|
|
|
2009-01-03 18:37:43 +01:00
|
|
|
# examples and testing files
|
2008-08-09 15:10:45 +02:00
|
|
|
for d in Common Filtering GenericFiltering Graphics Hybrid IO \
|
|
|
|
Imaging Parallel Rendering VolumeRendering Widgets
|
|
|
|
do
|
|
|
|
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}-examples/Testing/$d
|
|
|
|
cp -a $d/Testing/* \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/%{name}-examples/Testing/$d
|
2008-07-18 21:58:34 +02:00
|
|
|
done
|
2008-08-09 15:10:45 +02:00
|
|
|
cp -a Examples $RPM_BUILD_ROOT%{_datadir}/%{name}-examples
|
|
|
|
|
|
|
|
# get rid of unwanted files
|
|
|
|
find $RPM_BUILD_ROOT%{_datadir}/%{name}-examples \
|
|
|
|
-name "*.o" -exec rm {} ';' -o \
|
|
|
|
-name CMakeCache.txt -exec rm {} ';' -o \
|
|
|
|
-name Makefile -exec rm {} ';' -o \
|
|
|
|
-name DartTestfile.txt -exec rm {} ';' -o \
|
|
|
|
-name .NoDartCoverage -exec rm {} ';' -o \
|
|
|
|
-name "cmake.*" -exec rm {} ';' -o \
|
|
|
|
-name "cmake_install.*" -exec rm {} ';' -o \
|
|
|
|
-name "*.pyc" -exec rm {} ';' -o \
|
|
|
|
-name "*.pyo" -exec rm {} ';'
|
|
|
|
find $RPM_BUILD_ROOT%{_datadir}/%{name}-examples \
|
|
|
|
-type d -name CVS | xargs rm -rf
|
|
|
|
find $RPM_BUILD_ROOT%{_datadir}/%{name}-examples \
|
|
|
|
-name "CMake*" | xargs rm -rf
|
|
|
|
|
2009-01-04 11:52:33 +01:00
|
|
|
# cmake
|
2009-06-23 18:55:47 +02:00
|
|
|
install -d $RPM_BUILD_ROOT/%{_libdir}/vtk-%{version}
|
|
|
|
mv $RPM_BUILD_ROOT/%{_libdir}/*.cmake $RPM_BUILD_ROOT/%{_libdir}/vtk-%{version}
|
|
|
|
mv $RPM_BUILD_ROOT/%{_libdir}/CMake $RPM_BUILD_ROOT/%{_libdir}/vtk-%{version}
|
|
|
|
mv $RPM_BUILD_ROOT/%{_libdir}/hints $RPM_BUILD_ROOT/%{_libdir}/vtk-%{version}
|
2009-01-03 18:37:43 +01:00
|
|
|
|
|
|
|
# make scripts executable
|
2009-01-03 19:58:54 +01:00
|
|
|
chmod a+x $RPM_BUILD_ROOT%{_libdir}/testing/*.{py,tcl}
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2009-01-04 11:52:33 +01:00
|
|
|
# fix tcl stuff
|
2009-06-23 18:55:47 +02:00
|
|
|
install -d $RPM_BUILD_ROOT/usr/share/tcl/vtk-%{version}/testing
|
|
|
|
mv $RPM_BUILD_ROOT/%{_libdir}/pkgIndex.tcl $RPM_BUILD_ROOT/usr/share/tcl/vtk-%{version}
|
|
|
|
mv $RPM_BUILD_ROOT/%{_libdir}/tcl/* $RPM_BUILD_ROOT/usr/share/tcl/vtk-%{version}
|
|
|
|
mv $RPM_BUILD_ROOT/%{_libdir}/testing/*.tcl $RPM_BUILD_ROOT/usr/share/tcl/vtk-%{version}/testing
|
2009-01-04 11:52:33 +01:00
|
|
|
|
2009-01-04 16:11:25 +01:00
|
|
|
#python testing files --> remove them
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/testing
|
2009-01-04 11:52:33 +01:00
|
|
|
|
|
|
|
# remove doxygen scripts and verdict docs
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/doxygen
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/doc
|
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
# Remove exec bit from not-scripts
|
2009-01-04 11:52:33 +01:00
|
|
|
chmod 0644 Utilities/Upgrading/*.pdf
|
|
|
|
chmod 0644 Utilities/Upgrading/*.txt
|
|
|
|
|
|
|
|
for file in `find $RPM_BUILD_ROOT -type f -perm 0755 | xargs -r file | grep ASCII | awk -F: '{print $1}'`; do
|
2008-07-18 21:58:34 +02:00
|
|
|
head -1 $file | grep '^#!' > /dev/null && continue
|
|
|
|
chmod 0644 $file
|
|
|
|
done
|
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
# drop empty files
|
|
|
|
find $RPM_BUILD_ROOT -size 0 | xargs rm -f
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
# Remove any remnants of rpaths
|
|
|
|
chrpath -d $RPM_BUILD_ROOT%{_bindir}/*
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2009-01-03 18:37:43 +01:00
|
|
|
# make doc-dirs
|
2009-01-04 11:52:33 +01:00
|
|
|
for dir in vtk vtk-devel vtk-tcl vtk-testing-progs vtk-python; do
|
2009-01-03 18:37:43 +01:00
|
|
|
install -d $RPM_BUILD_ROOT/%{_docdir}/"$dir"
|
|
|
|
done
|
|
|
|
|
2009-06-23 18:55:47 +02:00
|
|
|
`for i in $(find %{buildroot}%{_datadir}/vtk-examples/ -name '*.py'); do chmod +x $i; done`
|
|
|
|
#chmod -x %buildroot/%{_libdir}/vtk-%{version}/*.cmake
|
|
|
|
|
|
|
|
#symlink duplicate files, made rpm smaller and rpmlint happyer
|
|
|
|
%fdupes -s %buildroot
|
|
|
|
|
2009-01-03 18:37:43 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-07-18 21:58:34 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post tcl -p /sbin/ldconfig
|
|
|
|
|
2009-11-29 11:58:48 +01:00
|
|
|
%post -n python-vtk -p /sbin/ldconfig
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
%post qt -p /sbin/ldconfig
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2010-05-08 20:18:59 +02:00
|
|
|
%post java -p /sbin/ldconfig
|
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
%postun tcl -p /sbin/ldconfig
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2009-11-29 11:58:48 +01:00
|
|
|
%postun -n python-vtk -p /sbin/ldconfig
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%postun qt -p /sbin/ldconfig
|
|
|
|
|
2010-05-08 20:18:59 +02:00
|
|
|
%postun java -p /sbin/ldconfig
|
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libvtkCommon.so.*
|
|
|
|
%{_libdir}/libvtkFiltering.so.*
|
|
|
|
%{_libdir}/libvtkGenericFiltering.so.*
|
|
|
|
%{_libdir}/libvtkGraphics.so.*
|
|
|
|
%{_libdir}/libvtkHybrid.so.*
|
|
|
|
%{_libdir}/libvtkImaging.so.*
|
|
|
|
%{_libdir}/libvtkIO.so.*
|
|
|
|
%{_libdir}/libvtkParallel.so.*
|
|
|
|
%{_libdir}/libvtkRendering.so.*
|
|
|
|
%{_libdir}/libvtkftgl.so.*
|
|
|
|
%{_libdir}/libvtkDICOMParser.so.*
|
|
|
|
%{_libdir}/libvtkVolumeRendering.so.*
|
|
|
|
%{_libdir}/libvtksys.so.*
|
|
|
|
%{_libdir}/libvtkWidgets.so.*
|
|
|
|
%{_libdir}/libvtkNetCDF.so.*
|
|
|
|
%{_libdir}/libvtkexoIIc.so.*
|
2009-01-03 18:37:43 +01:00
|
|
|
%{_libdir}/libvtkInfovis.so.*
|
|
|
|
%{_libdir}/libvtkViews.so.*
|
|
|
|
%{_libdir}/libvtklibxml2.so.*
|
|
|
|
%{_libdir}/libvtkmetaio.so.*
|
|
|
|
%{_libdir}/libvtksqlite.so.*
|
|
|
|
%{_libdir}/libvtkverdict.so.*
|
2009-06-23 18:55:47 +02:00
|
|
|
%{_libdir}/libvtkGeovis.so.*
|
|
|
|
%{_libdir}/libvtkalglib.so.*
|
|
|
|
%{_libdir}/libvtkproj4.so.*
|
2008-08-09 15:10:45 +02:00
|
|
|
|
|
|
|
%doc README.html
|
|
|
|
%doc vtkLogo.jpg
|
|
|
|
%doc Copyright.txt
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%files devel
|
2008-08-10 12:12:17 +02:00
|
|
|
%defattr(-,root,root,-)
|
2009-06-23 18:55:47 +02:00
|
|
|
%dir %{_libdir}/vtk-%{version}
|
2008-08-09 15:10:45 +02:00
|
|
|
%{_includedir}/*
|
2009-06-23 18:55:47 +02:00
|
|
|
%{_libdir}/vtk-%{version}/CMake
|
|
|
|
%{_libdir}/vtk-%{version}/*.cmake
|
|
|
|
%{_libdir}/vtk-%{version}/hints
|
2008-08-09 15:10:45 +02:00
|
|
|
%{_libdir}/libvtkCommon.so
|
|
|
|
%{_libdir}/libvtkFiltering.so
|
|
|
|
%{_libdir}/libvtkGenericFiltering.so
|
|
|
|
%{_libdir}/libvtkGraphics.so
|
|
|
|
%{_libdir}/libvtkHybrid.so
|
|
|
|
%{_libdir}/libvtkImaging.so
|
|
|
|
%{_libdir}/libvtkIO.so
|
|
|
|
%{_libdir}/libvtkParallel.so
|
|
|
|
%{_libdir}/libvtkRendering.so
|
|
|
|
%{_libdir}/libvtkftgl.so
|
|
|
|
%{_libdir}/libvtkDICOMParser.so
|
|
|
|
%{_libdir}/libvtkVolumeRendering.so
|
|
|
|
%{_libdir}/libvtksys.so
|
|
|
|
%{_libdir}/libvtkWidgets.so
|
|
|
|
%{_libdir}/libvtkNetCDF.so
|
|
|
|
%{_libdir}/libvtkexoIIc.so
|
|
|
|
%{_libdir}/libvtk*TCL.so
|
|
|
|
%{_libdir}/libvtk*Python*.so
|
2010-05-08 20:18:59 +02:00
|
|
|
%{_libdir}/libvtk*Java*.so
|
2008-08-09 15:10:45 +02:00
|
|
|
%{_libdir}/libQVTK.so
|
2009-01-03 18:37:43 +01:00
|
|
|
%{_libdir}/libvtkInfovis.so
|
|
|
|
%{_libdir}/libvtkViews.so
|
|
|
|
%{_libdir}/libvtklibxml2.so
|
|
|
|
%{_libdir}/libvtkmetaio.so
|
|
|
|
%{_libdir}/libvtksqlite.so
|
|
|
|
%{_libdir}/libvtkverdict.so
|
2009-06-23 18:55:47 +02:00
|
|
|
%{_libdir}/libvtkGeovis.so
|
|
|
|
%{_libdir}/libvtkalglib.so
|
|
|
|
%{_libdir}/libvtkproj4.so
|
2008-08-09 15:10:45 +02:00
|
|
|
%doc README.html
|
|
|
|
%doc vtkLogo.jpg
|
2008-08-10 12:12:17 +02:00
|
|
|
%defattr(0644,root,root,-)
|
2008-08-09 15:10:45 +02:00
|
|
|
%doc Utilities/Upgrading/*.txt
|
|
|
|
%doc Utilities/Upgrading/*.pdf
|
|
|
|
%doc Utilities/Upgrading/*.cmake
|
|
|
|
|
|
|
|
%files testing-progs -f testing-progs-list
|
2008-07-18 21:58:34 +02:00
|
|
|
%defattr(-,root,root,-)
|
2008-08-09 15:10:45 +02:00
|
|
|
%doc README.html
|
|
|
|
%doc vtkLogo.jpg
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%files tcl
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/vtkWrapTcl
|
|
|
|
%{_bindir}/vtkWrapTclInit
|
2008-08-09 15:10:45 +02:00
|
|
|
%{_bindir}/vtk
|
2009-01-04 11:52:33 +01:00
|
|
|
%{_libdir}/libvtk*TCL.so.*
|
|
|
|
%{_datadir}/tcl
|
2008-08-09 15:10:45 +02:00
|
|
|
|
|
|
|
%doc README.html
|
|
|
|
%doc vtkLogo.jpg
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2009-11-29 11:58:48 +01:00
|
|
|
%files -n python-vtk
|
2008-07-18 21:58:34 +02:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/vtkWrapPython
|
|
|
|
%{_bindir}/vtkWrapPythonInit
|
2008-08-09 15:10:45 +02:00
|
|
|
%{_bindir}/vtkpython
|
|
|
|
%{_libdir}/libvtk*Python*.so.*
|
2009-11-29 11:58:48 +01:00
|
|
|
%if %suse_version <= 1110
|
2009-01-03 18:37:43 +01:00
|
|
|
%{py_sitedir}/*
|
2009-11-29 11:58:48 +01:00
|
|
|
%else
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%endif
|
2009-01-04 11:52:33 +01:00
|
|
|
%doc README.html
|
|
|
|
%doc vtkLogo.jpg
|
2008-07-18 21:58:34 +02:00
|
|
|
|
|
|
|
%files qt
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libQVTK.so.*
|
2009-06-23 18:55:47 +02:00
|
|
|
%{_libdir}/libvtkQtChart.so*
|
2008-08-09 15:10:45 +02:00
|
|
|
%{_bindir}/qtevents
|
|
|
|
%{_bindir}/qtimageviewer
|
|
|
|
%{_bindir}/qtsimpleview
|
2009-01-04 17:44:31 +01:00
|
|
|
%dir %{qtdir}/plugins/designer
|
2008-08-09 15:10:45 +02:00
|
|
|
%{qtdir}/plugins/designer/libQVTKWidgetPlugin.so
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2010-05-08 20:18:59 +02:00
|
|
|
%files java
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir %{_libdir}/java/vtk
|
|
|
|
%{_libdir}/java/vtk/vtk.jar
|
|
|
|
%{_libdir}/libvtk*Java.so.*
|
|
|
|
%{_bindir}/vtkWrapJava
|
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
%files examples
|
2008-07-18 21:58:34 +02:00
|
|
|
%defattr(-,root,root,-)
|
2008-08-09 15:10:45 +02:00
|
|
|
%{_datadir}/%{name}-examples
|
2008-07-18 21:58:34 +02:00
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
%changelog
|
2010-05-08 20:18:59 +02:00
|
|
|
* Sat Mai 08 2010 Werner Hoch <werner.ho@gmx.de> - 5.4.2
|
|
|
|
- applied patches provided by Marcel Witte <wittemar@googlemail.com>
|
|
|
|
- enable java bindings
|
|
|
|
- patch to fix png-support for factory
|
2009-06-23 18:55:47 +02:00
|
|
|
* Mon Jun 08 2009 Andrea Florio <andrea@opensuse.org> - 5.4.2
|
|
|
|
- made rpmlint happy (using fdupes)
|
|
|
|
- fixed rpm Group using real ones, please check here: http://en.opensuse.org/SUSE_Package_Conventions/RPM_Groups
|
|
|
|
- added libraries introduced in version 5.4.2 to file lists
|
|
|
|
- use qt4 instead of qt3
|
|
|
|
- replaced %{lib_version} with %{version}
|
|
|
|
- set VTK_LEGACY_REMOVE to OFF for compatibility with applications that uses the legacy functions
|
2009-01-03 18:37:43 +01:00
|
|
|
* Sat Jan 03 2009 Werner Hoch <werner.ho@gmx.de> - 5.2.1
|
|
|
|
- removed vtk-data
|
|
|
|
- removed vtk-doc (doxygen)
|
|
|
|
- new version 5.2.1
|
|
|
|
- build fixes for openSUSE 11.1
|
2008-08-09 15:10:45 +02:00
|
|
|
* Sat Aug 09 2008 Werner Hoch <werner.ho@gmx.de> - 5.0.4
|
|
|
|
- switched to the specfile from Jaroslaw Zachwieja
|
|
|
|
http://www2.warwick.ac.uk/fac/sci/csc/people/computingstaff/jaroslaw_zachwieja/vtk/
|
|
|
|
- use qt3 instead of qt4
|
|
|
|
* Thu Jul 18 2008 Werner Hoch <werner.ho@gmx.de> - 5.0.4
|
|
|
|
- specfile taken from fedora core 9 and adapted to opensuse
|