2007-06-03 20:06:13 +00:00
|
|
|
%bcond_without OSMesa
|
2009-06-08 06:04:09 +00:00
|
|
|
%bcond_without qt4
|
2008-08-25 12:06:41 +00:00
|
|
|
%bcond_without java
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
Summary: The Visualization Toolkit - A high level 3D visualization library
|
|
|
|
Name: vtk
|
2010-07-10 22:00:50 +00:00
|
|
|
Version: 5.6.0
|
2010-07-22 07:12:40 +00:00
|
|
|
Release: 35%{?dist}
|
2008-05-21 20:20:18 +00:00
|
|
|
# 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
|
|
|
|
License: BSD
|
2007-06-03 20:06:13 +00:00
|
|
|
Group: System Environment/Libraries
|
2010-07-10 22:00:50 +00:00
|
|
|
Source: http://www.vtk.org/files/release/5.6/%{name}-%{version}.tar.gz
|
2009-07-23 05:28:21 +00:00
|
|
|
Patch0: vtk-5.2.0-pythondestdir.patch
|
2008-12-21 21:58:49 +00:00
|
|
|
Patch1: vtk-5.2.0-gcc43.patch
|
2010-07-10 22:00:50 +00:00
|
|
|
Patch2: vtk-5.6.0-testcxxjavaremove.patch
|
2007-06-03 20:06:13 +00:00
|
|
|
URL: http://vtk.org/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRequires: cmake >= 2.0.4
|
|
|
|
BuildRequires: gcc-c++
|
2010-07-10 22:00:50 +00:00
|
|
|
#%{?with_java:BuildRequires: gcc-java, libgcj-devel, java-devel}
|
|
|
|
%{?with_java:BuildRequires: java-devel}
|
2007-06-03 20:06:13 +00:00
|
|
|
BuildRequires: libX11-devel, libXt-devel, libXext-devel
|
|
|
|
BuildRequires: libICE-devel, libGL-devel
|
|
|
|
%{?with_OSMesa:BuildRequires: mesa-libOSMesa-devel}
|
|
|
|
BuildRequires: tk-devel, tcl-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: expat-devel, freetype-devel, libjpeg-devel, libpng-devel
|
|
|
|
BuildRequires: libtiff-devel, zlib-devel
|
2009-06-08 06:04:09 +00:00
|
|
|
%{!?with_qt4:BuildRequires: qt3-devel}
|
2007-06-03 20:06:13 +00:00
|
|
|
%{?with_qt4:BuildRequires: qt4-devel}
|
|
|
|
BuildRequires: chrpath
|
2008-02-23 11:45:49 +00:00
|
|
|
BuildRequires: doxygen, graphviz
|
2010-07-10 22:00:50 +00:00
|
|
|
BuildRequires: gnuplot
|
|
|
|
BuildRequires: wget
|
|
|
|
BuildRequires: %{_includedir}/Xm
|
|
|
|
%{!?with_java:Conflicts: vtk-java}
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
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).
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: VTK header files for building C++ code
|
|
|
|
Requires: vtk = %{version}-%{release}
|
2010-07-10 22:00:50 +00:00
|
|
|
%{?with_OSMesa:Requires: mesa-libOSMesa-devel}
|
|
|
|
Requires: expat-devel, libjpeg-devel, libpng-devel
|
|
|
|
Requires: libtiff-devel
|
|
|
|
%{!?with_qt4:Requires: qt3-devel}
|
|
|
|
%{?with_qt4:Requires: qt4-devel}
|
2007-06-03 20:06:13 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This provides the VTK header files required to compile C++ programs that
|
|
|
|
use VTK to do 3D visualisation.
|
|
|
|
|
|
|
|
%package tcl
|
|
|
|
Summary: Tcl bindings for VTK
|
|
|
|
Requires: vtk = %{version}-%{release}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description tcl
|
|
|
|
tcl bindings for VTK
|
|
|
|
|
|
|
|
%package python
|
|
|
|
Summary: Python bindings for VTK
|
|
|
|
Requires: vtk = %{version}-%{release}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description python
|
|
|
|
python bindings for VTK
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
%package java
|
|
|
|
Summary: Java bindings for VTK
|
|
|
|
Requires: vtk = %{version}-%{release}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description java
|
|
|
|
Java bindings for VTK
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%package qt
|
|
|
|
Summary: Qt bindings for VTK
|
|
|
|
Requires: vtk = %{version}-%{release}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description qt
|
|
|
|
Qt bindings for VTK
|
|
|
|
|
|
|
|
%package testing
|
|
|
|
Summary: Testing programs for VTK
|
|
|
|
Requires: vtk = %{version}-%{release}, vtkdata = %{version}
|
|
|
|
Group: Applications/Engineering
|
|
|
|
|
|
|
|
%description testing
|
|
|
|
Testing programs for VTK
|
|
|
|
|
|
|
|
%package examples
|
|
|
|
Summary: Examples for VTK
|
|
|
|
Requires: vtk = %{version}-%{release}, vtkdata = %{version}
|
|
|
|
Group: Applications/Engineering
|
|
|
|
|
|
|
|
%description examples
|
|
|
|
This package contains many well-commented examples showing how to use
|
|
|
|
VTK. Examples are available in the C++, Tcl, Python and Java
|
|
|
|
programming languages.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n VTK
|
2008-12-21 21:58:49 +00:00
|
|
|
%patch0 -p1 -b .pythondestdir
|
2008-08-25 12:06:41 +00:00
|
|
|
%patch1 -p1 -b .gcc43
|
2010-07-10 22:00:50 +00:00
|
|
|
%patch2 -p1 -b .testcxxjava
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
# Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version}
|
|
|
|
# otherwise it will break on symlinks.
|
|
|
|
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs \
|
|
|
|
perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/vtkdata-%{version},g'
|
|
|
|
|
|
|
|
# Save an unbuilt copy of the Example's sources for %doc
|
2010-07-10 22:00:50 +00:00
|
|
|
mkdir vtk-examples-5.6
|
|
|
|
cp -a Examples vtk-examples-5.6
|
2009-03-13 03:32:33 +00:00
|
|
|
# Don't ship Win32 examples
|
2010-07-10 22:00:50 +00:00
|
|
|
rm -rf vtk-examples-5.6/Examples/GUI/Win32
|
|
|
|
find vtk-examples-5.6 -type f | xargs chmod -R a-x
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags} -D_UNICODE"
|
|
|
|
export CXXFLAGS="%{optflags} -D_UNICODE"
|
|
|
|
%if %{with java}
|
|
|
|
export JAVA_HOME=/usr/lib/jvm/java
|
|
|
|
%endif
|
|
|
|
%if %{with qt4}
|
|
|
|
unset QTINC QTLIB QTPATH_LRELEASE QMAKESPEC
|
|
|
|
export QTDIR=%{_libdir}/qt4
|
2009-06-08 06:04:09 +00:00
|
|
|
qt_prefix=`pkg-config --variable=exec_prefix QtCore` || :
|
|
|
|
if [ "$qt_prefix" = "" ]; then
|
|
|
|
qt_prefix=`ls -d %{_libdir}/qt4* 2>/dev/null | tail -n 1`
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! echo ${PATH} | /bin/grep -q $qt_prefix/bin ; then
|
|
|
|
PATH=$qt_prefix/bin:${PATH}
|
|
|
|
fi
|
|
|
|
%else
|
|
|
|
qt_prefix=`/usr/bin/pkg-config --variable=prefix qt-mt` || :
|
|
|
|
if [ "$qt_prefix" = "" ]; then
|
|
|
|
qt_prefix=`ls -d %{_libdir}/qt-* 2>/dev/null | tail -n 1`
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! echo ${PATH} | /bin/grep -q $qt_prefix/bin ; then
|
|
|
|
PATH=$qt_prefix/bin:${PATH}
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -n "$qt_prefix" -a -z "$QTDIR" ] ; then
|
|
|
|
QTDIR="$qt_prefix"
|
|
|
|
QTINC="$qt_prefix/include"
|
|
|
|
QTLIB="$qt_prefix/lib"
|
|
|
|
fi
|
|
|
|
|
|
|
|
export QTDIR QTINC QTLIB PATH
|
2007-06-03 20:06:13 +00:00
|
|
|
%endif
|
|
|
|
|
2009-06-08 06:04:09 +00:00
|
|
|
# Not every subbuild respects build != install
|
|
|
|
tmpinstall=`pwd`/tmpinstall
|
|
|
|
|
|
|
|
cmake_command="cmake . \
|
2007-06-03 20:06:13 +00:00
|
|
|
-DBUILD_SHARED_LIBS:BOOL=ON \
|
|
|
|
-DBUILD_DOCUMENTATION:BOOL=ON \
|
|
|
|
-DBUILD_EXAMPLES:BOOL=ON \
|
|
|
|
-DBUILD_TESTING:BOOL=ON \
|
2009-06-08 06:04:09 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH=$tmpinstall \
|
|
|
|
-DVTK_INSTALL_BIN_DIR:PATH=%{_bindir} \
|
|
|
|
-DVTK_INSTALL_INCLUDE_DIR:PATH=%{_includedir}/vtk \
|
2010-07-10 22:00:50 +00:00
|
|
|
-DVTK_INSTALL_LIB_DIR:PATH=%{_libdir}/vtk-5.6 \
|
2009-04-25 10:03:26 +00:00
|
|
|
-DVTK_DATA_ROOT:PATH=%{_datadir}/vtkdata-%{version} \
|
2008-01-16 05:05:53 +00:00
|
|
|
-DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic \
|
2007-06-03 20:06:13 +00:00
|
|
|
%if %{with OSMesa}
|
|
|
|
-DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
|
|
|
|
%endif
|
|
|
|
-DVTK_WRAP_PYTHON:BOOL=ON \
|
|
|
|
%if %{with java}
|
|
|
|
-DVTK_WRAP_JAVA:BOOL=ON \
|
|
|
|
-DJAVA_INCLUDE_PATH:PATH=$JAVA_HOME/include \
|
|
|
|
-DJAVA_INCLUDE_PATH2:PATH=$JAVA_HOME/include/linux \
|
|
|
|
-DJAVA_AWT_INCLUDE_PATH:PATH=$JAVA_HOME/include \
|
|
|
|
%else
|
|
|
|
-DVTK_WRAP_JAVA:BOOL=OFF \
|
|
|
|
%endif
|
|
|
|
-DVTK_WRAP_TCL:BOOL=ON \
|
|
|
|
-DVTK_USE_GL2PS:BOOL=ON \
|
|
|
|
-DVTK_USE_GUISUPPORT:BOOL=ON \
|
|
|
|
-DVTK_USE_PARALLEL:BOOL=ON \
|
|
|
|
-DVTK_USE_SYSTEM_EXPAT=ON \
|
|
|
|
-DVTK_USE_SYSTEM_FREETYPE=ON \
|
|
|
|
-DVTK_USE_SYSTEM_JPEG=ON \
|
|
|
|
-DVTK_USE_SYSTEM_PNG=ON \
|
|
|
|
-DVTK_USE_SYSTEM_TIFF=ON \
|
|
|
|
-DVTK_USE_SYSTEM_ZLIB=ON \
|
|
|
|
-DVTK_USE_QVTK=ON \
|
|
|
|
%if %{with qt4}
|
|
|
|
-DDESIRED_QT_VERSION=4 \
|
2009-07-23 05:28:21 +00:00
|
|
|
-DQT_MOC_EXECUTABLE=`pkg-config --variable=moc_location QtCore` \
|
|
|
|
-DVTK_INSTALL_QT_DIR=`qmake -query QT_INSTALL_PREFIX`/plugins/designer \
|
2007-06-03 20:06:13 +00:00
|
|
|
%else
|
2009-06-08 06:04:09 +00:00
|
|
|
-DDESIRED_QT_VERSION:STRING=3 \
|
|
|
|
-DVTK_INSTALL_QT_DIR=`qmake -query QT_INSTALL_PREFIX`/plugins/designer \
|
2007-06-03 20:06:13 +00:00
|
|
|
%endif
|
2009-06-08 06:04:09 +00:00
|
|
|
"
|
|
|
|
# Second cmake is neccessary for vtk
|
|
|
|
eval $cmake_command
|
|
|
|
eval $cmake_command
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
# Commented old flags in case we'd like to reactive some of them
|
|
|
|
# -DVTK_USE_DISPLAY:BOOL=OFF \ # This prevents building of graphics tests
|
|
|
|
# -DVTK_USE_HYBRID:BOOL=ON \
|
|
|
|
# -DVTK_USE_PATENTED:BOOL=ON \
|
|
|
|
# -DVTK_USE_RENDERING:BOOL=ON \
|
|
|
|
# -DVTK_USE_MPI:BOOL=OFF \
|
|
|
|
# -DVTK_USE_X:BOOL=ON \
|
|
|
|
# -DOPENGL_INCLUDE_DIR:PATH=/usr/include/GL \
|
|
|
|
|
2007-07-18 18:25:08 +00:00
|
|
|
make
|
2009-03-13 03:32:33 +00:00
|
|
|
|
|
|
|
# Remove executable bits from sources (some of which are generated)
|
|
|
|
find . -name \*.c -or -name \*.cxx -or -name \*.h -or -name \*.hxx -or \
|
|
|
|
-name \*.gif | xargs chmod -x
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}
|
2009-06-08 06:04:09 +00:00
|
|
|
make install
|
|
|
|
mv tmpinstall/* %{buildroot}/
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
if [ "%{_lib}" != lib -a "`ls %{buildroot}%{_prefix}/lib/*`" != "" ]; then
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
mv %{buildroot}%{_prefix}/lib/* %{buildroot}%{_libdir}/
|
|
|
|
fi
|
2010-07-10 22:00:50 +00:00
|
|
|
mv %{buildroot}%{_libdir}/vtk-5.6/lib*.so* %{buildroot}%{_libdir}/
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
# 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
|
2008-12-21 21:58:49 +00:00
|
|
|
vtkEncodeString
|
2009-07-23 05:28:21 +00:00
|
|
|
lproj
|
2007-06-03 20:06:13 +00:00
|
|
|
EOF
|
|
|
|
|
|
|
|
# List of executable examples
|
|
|
|
cat > examples.list << EOF
|
|
|
|
HierarchicalBoxPipeline
|
|
|
|
MultiBlock
|
|
|
|
Arrays
|
|
|
|
Cube
|
|
|
|
RGrid
|
|
|
|
SGrid
|
|
|
|
Medical1
|
|
|
|
Medical2
|
|
|
|
Medical3
|
|
|
|
finance
|
|
|
|
AmbientSpheres
|
|
|
|
Cylinder
|
|
|
|
DiffuseSpheres
|
|
|
|
SpecularSpheres
|
|
|
|
Cone
|
|
|
|
Cone2
|
|
|
|
Cone3
|
|
|
|
Cone4
|
|
|
|
Cone5
|
|
|
|
Cone6
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# List of executable test binaries
|
|
|
|
cat > testing.list << EOF
|
|
|
|
CommonCxxTests
|
|
|
|
TestCxxFeatures
|
|
|
|
TestInstantiator
|
|
|
|
FilteringCxxTests
|
|
|
|
GraphicsCxxTests
|
|
|
|
GenericFilteringCxxTests
|
|
|
|
ImagingCxxTests
|
|
|
|
IOCxxTests
|
|
|
|
RenderingCxxTests
|
|
|
|
VTKBenchMark
|
|
|
|
VolumeRenderingCxxTests
|
|
|
|
WidgetsCxxTests
|
|
|
|
SocketClient
|
|
|
|
SocketServer
|
|
|
|
EOF
|
|
|
|
|
2009-06-08 06:04:09 +00:00
|
|
|
# Install utils/examples/testing, too
|
2009-03-13 03:32:33 +00:00
|
|
|
for filelist in utils.list examples.list testing.list; do
|
2009-06-08 06:04:09 +00:00
|
|
|
for file in `cat $filelist`; do
|
|
|
|
install -p bin/$file %{buildroot}%{_bindir}
|
|
|
|
done
|
2009-03-13 03:32:33 +00:00
|
|
|
perl -pi -e's,^,%{_bindir}/,' $filelist
|
2007-06-03 20:06:13 +00:00
|
|
|
done
|
|
|
|
|
2009-06-08 06:04:09 +00:00
|
|
|
# Remove any remnants of rpaths
|
|
|
|
for file in `cat examples.list`; do
|
|
|
|
chrpath -d %{buildroot}$file
|
|
|
|
done
|
|
|
|
|
2007-06-03 20:06:13 +00:00
|
|
|
# Main package contains utils and core libs
|
|
|
|
cat libs.list utils.list > main.list
|
|
|
|
|
2009-06-08 06:04:09 +00:00
|
|
|
# Make shared libs and scripts executable
|
|
|
|
chmod a+x %{buildroot}%{_libdir}/lib*.so.*
|
2010-07-10 22:00:50 +00:00
|
|
|
chmod a+x %{buildroot}%{_libdir}/vtk-5.6/doxygen/*.pl
|
|
|
|
chmod a+x %{buildroot}%{_libdir}/vtk-5.6/testing/*.{py,tcl}
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
head -1 $file | grep '^#!' > /dev/null && continue
|
|
|
|
chmod 0644 $file
|
|
|
|
done
|
|
|
|
find Utilities/Upgrading -type f | xargs chmod -x
|
|
|
|
|
2009-06-08 06:04:09 +00:00
|
|
|
# Add exec bits to shared libs ...
|
2010-07-10 22:00:50 +00:00
|
|
|
#chmod 0755 %{buildroot}%{_libdir}/vtk-5.6/CMake/*.so
|
2009-03-13 03:32:33 +00:00
|
|
|
chmod 0755 %{buildroot}%{_libdir}/python*/site-packages/vtk/*.so
|
2007-06-03 20:06:13 +00:00
|
|
|
|
2009-07-23 05:28:21 +00:00
|
|
|
# Verdict places the docs in the false folder
|
2010-07-10 22:00:50 +00:00
|
|
|
rm -fr %{buildroot}%{_libdir}/vtk-5.6/doc
|
2009-07-23 05:28:21 +00:00
|
|
|
|
2008-08-25 12:06:41 +00:00
|
|
|
%check
|
2007-06-03 20:06:13 +00:00
|
|
|
#LD_LIBARARY_PATH=`pwd`/bin ctest -V
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post tcl -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun tcl -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post python -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun python -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
%post java -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun java -p /sbin/ldconfig
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%post qt -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun qt -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f main.list
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc --parents Copyright.txt README.html vtkLogo.jpg vtkBanner.gif Wrapping/*/README*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Utilities/Upgrading
|
2010-07-10 22:00:50 +00:00
|
|
|
%{_libdir}/vtk-5.6/doxygen
|
2007-06-03 20:06:13 +00:00
|
|
|
%{_includedir}/vtk
|
|
|
|
%{_libdir}/*.so
|
2010-07-10 22:00:50 +00:00
|
|
|
%{_libdir}/vtk-5.6/CMake
|
|
|
|
%{_libdir}/vtk-5.6/*.cmake
|
|
|
|
%{_libdir}/vtk-5.6/hints
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%files tcl
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*TCL.so.*
|
|
|
|
%{_bindir}/vtk
|
|
|
|
%{_bindir}/vtkWrapTcl
|
|
|
|
%{_bindir}/vtkWrapTclInit
|
2010-07-10 22:00:50 +00:00
|
|
|
%{_libdir}/vtk-5.6/pkgIndex.tcl
|
|
|
|
%{_libdir}/vtk-5.6/tcl
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%files python
|
|
|
|
%defattr(-,root,root,-)
|
2008-02-23 11:45:49 +00:00
|
|
|
#%{python_sitearch}/vtk
|
|
|
|
%{python_sitearch}/*
|
2007-06-03 20:06:13 +00:00
|
|
|
%{_libdir}/*PythonD.so.*
|
|
|
|
%{_bindir}/vtkpython
|
|
|
|
%{_bindir}/vtkWrapPython
|
|
|
|
%{_bindir}/vtkWrapPythonInit
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
%files java
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*Java.so.*
|
2010-07-10 22:00:50 +00:00
|
|
|
%{_libdir}/vtk-5.6/java
|
2007-06-03 20:06:13 +00:00
|
|
|
%{_bindir}/vtkParseJava
|
|
|
|
%{_bindir}/vtkWrapJava
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files qt
|
|
|
|
%defattr(-,root,root,-)
|
2010-07-10 22:00:50 +00:00
|
|
|
#%{_libdir}/libQVTK.so.*
|
|
|
|
#%{_libdir}/qt*/plugins/designer
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%files testing -f testing.list
|
|
|
|
%defattr(-,root,root,-)
|
2010-07-10 22:00:50 +00:00
|
|
|
%{_libdir}/vtk-5.6/testing
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%files examples -f examples.list
|
|
|
|
%defattr(-,root,root,-)
|
2010-07-10 22:00:50 +00:00
|
|
|
%doc vtk-examples-5.6/Examples
|
2007-06-03 20:06:13 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-07-22 07:12:40 +00:00
|
|
|
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 5.6.0-35
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2010-07-10 22:00:50 +00:00
|
|
|
* Mon Jul 5 2010 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.6.0-34
|
|
|
|
- Update to 5.6.0.
|
2009-07-27 06:59:35 +00:00
|
|
|
|
2009-06-08 06:04:09 +00:00
|
|
|
* Sat Jun 6 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.4.2-30
|
|
|
|
- Update to 5.4.2.
|
2009-04-25 10:03:26 +00:00
|
|
|
|
2009-06-08 06:04:09 +00:00
|
|
|
* Thu Mar 12 2009 Orion Poplawski <orion@cora.nwra.com> - 5.2.1-29
|
2009-03-13 03:32:33 +00:00
|
|
|
- Update to 5.2.1
|
|
|
|
|
2009-03-06 21:27:20 +00:00
|
|
|
* Fri Mar 06 2009 Jesse Keating <jkeating@redhat.com> - 5.2.0-28
|
|
|
|
- Remove chmod on examples .so files, none are built. This needs
|
|
|
|
more attention.
|
|
|
|
|
2008-12-21 21:58:49 +00:00
|
|
|
* Sun Oct 5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.2.0-26
|
|
|
|
- Update to 5.2.0.
|
2008-11-29 17:35:09 +00:00
|
|
|
|
2008-10-01 16:12:49 +00:00
|
|
|
* Wed Oct 1 2008 Orion Poplawski <orion@cora.nwra.com> - 5.0.2-25
|
|
|
|
- Fix patch fuzz
|
|
|
|
|
2008-08-26 17:18:39 +00:00
|
|
|
* Mon Aug 25 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-24
|
|
|
|
- Change java build dependencies from java-devel to gcj.
|
|
|
|
|
2008-08-25 12:06:41 +00:00
|
|
|
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-23
|
|
|
|
- %%check || : does not work anymore.
|
|
|
|
- enable java by default.
|
|
|
|
|
2008-05-21 20:20:18 +00:00
|
|
|
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.0.4-22
|
|
|
|
- fix license tag
|
|
|
|
|
2008-04-12 05:42:05 +00:00
|
|
|
* Sat Apr 12 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-21
|
|
|
|
- Fixes for gcc 4.3 by Orion Poplawski.
|
|
|
|
|
2008-04-05 10:44:02 +00:00
|
|
|
* Sat Apr 5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-20
|
|
|
|
- Change BR to qt-devel to qt3-devel.
|
|
|
|
|
2008-02-23 11:45:49 +00:00
|
|
|
* Sat Feb 23 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-19
|
|
|
|
- Update to 5.0.4.
|
2007-08-28 21:42:28 +00:00
|
|
|
|
2007-06-03 20:06:13 +00:00
|
|
|
* Mon May 28 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-18
|
|
|
|
- Move headers to %%{_includedir}/vtk.
|
|
|
|
- Remove executable bit from sources.
|
|
|
|
|
|
|
|
* Mon Apr 16 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-17
|
|
|
|
- Make java build conditional.
|
|
|
|
- Add ldconfig %%post/%%postun for java/qt subpackages.
|
|
|
|
|
|
|
|
* Sun Apr 15 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-16
|
|
|
|
- Remove %%ghosting pyc/pyo.
|
|
|
|
|
|
|
|
* Wed Apr 04 2007 Paulo Roma <roma@lcg.ufrj.br> - 5.0.3-15
|
|
|
|
- Update to 5.0.4.
|
|
|
|
- Added support for qt4 plugin.
|
|
|
|
|
|
|
|
* Wed Feb 7 2007 Orion Poplawski <orion@cora.nwra.com> - 5.0.2-14
|
|
|
|
- Enable Java, Qt, GL2PS, OSMESA
|
|
|
|
|
|
|
|
* Mon Sep 11 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.2-13
|
|
|
|
- Update to 5.0.2.
|
|
|
|
|
|
|
|
* Sun Aug 6 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-12
|
|
|
|
- cmake needs to be >= 2.0.4.
|
|
|
|
|
|
|
|
* Fri Aug 4 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-11
|
|
|
|
- Fix some python issues including pyo management.
|
|
|
|
|
|
|
|
* Sun Jul 23 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-10
|
|
|
|
- Embed feedback from bug 199405 comment 5.
|
|
|
|
- Fix some Group entries.
|
|
|
|
- Remove redundant dependencies.
|
|
|
|
- Use system libs.
|
|
|
|
- Comment specfile more.
|
|
|
|
- Change buildroot handling with CMAKE_INSTALL_PREFIX.
|
|
|
|
- Enable qt designer plugin.
|
|
|
|
|
|
|
|
* Wed Jul 19 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-7
|
|
|
|
- Fix some permissions for rpmlint and debuginfo.
|
|
|
|
|
|
|
|
* Sun Jul 16 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-7
|
|
|
|
- Remove rpath and some further rpmlint warnings.
|
|
|
|
|
|
|
|
* Thu Jul 13 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-6
|
|
|
|
- Update to 5.0.1.
|
|
|
|
|
|
|
|
* Wed May 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net>
|
|
|
|
- Update to 5.0.
|
|
|
|
|
|
|
|
* Mon Apr 04 2004 Intrinsic Spin <spin@freakbait.com> 2.mr
|
|
|
|
- built on a machine with a stock libGL.so
|
|
|
|
|
|
|
|
* Sun Apr 04 2004 Intrinsic Spin <spin@freakbait.com>
|
|
|
|
- little cleanups
|
|
|
|
- Built for FC1
|
|
|
|
|
|
|
|
* Sun Jan 11 2004 Intrinsic Spin <spin@freakbait.com>
|
|
|
|
- Built against a reasonably good (according to dashboard) CVS version so-as
|
|
|
|
to get GL2PS support.
|
|
|
|
- Rearranged. Cleaned up. Added some comments.
|
|
|
|
|
|
|
|
* Sat Jan 10 2004 Intrinsic Spin <spin@freakbait.com>
|
|
|
|
- Blatently stole this spec file for my own nefarious purposes.
|
|
|
|
- Removed Java (for now). Merged the Python and Tcl stuff into
|
|
|
|
the main rpm.
|
|
|
|
|
|
|
|
* Fri Dec 05 2003 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
|
|
|
|
- (See Fabrice's RPMs for any more comments --Spin)
|