|
Orion Poplawski |
ec8139c |
# Disable OSMesa builds for now - see Bug 744434
|
|
Orion Poplawski |
ec8139c |
%bcond_with OSMesa
|
|
|
8b84c5b |
|
|
|
05ce9d4 |
# Disable java on ppc64 - fails to build
|
|
|
05ce9d4 |
%ifarch ppc64
|
|
|
05ce9d4 |
%bcond_with java
|
|
|
05ce9d4 |
%else
|
|
|
05ce9d4 |
%bcond_without java
|
|
|
05ce9d4 |
%endif
|
|
|
8b84c5b |
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
8b84c5b |
|
|
|
8b84c5b |
Summary: The Visualization Toolkit - A high level 3D visualization library
|
|
|
8b84c5b |
Name: vtk
|
|
Orion Poplawski |
ec8139c |
Version: 5.8.0
|
|
Orion Poplawski |
ca3485d |
Release: 6%{?dist}.1
|
|
|
73ffa84 |
# This is a variant BSD license, a cross between BSD and ZLIB.
|
|
|
73ffa84 |
# For all intents, it has the same rights and restrictions as BSD.
|
|
|
73ffa84 |
# http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
|
|
|
73ffa84 |
License: BSD
|
|
|
8b84c5b |
Group: System Environment/Libraries
|
|
Orion Poplawski |
ec8139c |
Source: http://www.vtk.org/files/release/5.8/%{name}-%{version}.tar.gz
|
|
|
524dda0 |
Patch1: vtk-5.2.0-gcc43.patch
|
|
Orion Poplawski |
ca3485d |
# Add soname to libvtkNetCDF_cxx
|
|
Orion Poplawski |
ca3485d |
# http://vtk.org/Bug/view.php?id=12207
|
|
Orion Poplawski |
ca3485d |
Patch2: vtk-soname.patch
|
|
Orion Poplawski |
914eac4 |
# Use system libraries
|
|
Orion Poplawski |
914eac4 |
# http://public.kitware.com/Bug/view.php?id=11823
|
|
Orion Poplawski |
914eac4 |
Patch5: vtk-5.6.1-system.patch
|
|
|
1ceaf7f |
|
|
|
8b84c5b |
URL: http://vtk.org/
|
|
|
8b84c5b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
ca9d984 |
|
|
|
ca9d984 |
%if (0%{?rhel} <= 6)
|
|
|
ca9d984 |
BuildRequires: cmake28
|
|
|
ca9d984 |
%else
|
|
Orion Poplawski |
914eac4 |
BuildRequires: cmake
|
|
|
ca9d984 |
%endif
|
|
|
8b84c5b |
BuildRequires: gcc-c++
|
|
|
c59190f |
#%{?with_java:BuildRequires: gcc-java, libgcj-devel, java-devel}
|
|
|
c59190f |
%{?with_java:BuildRequires: java-devel}
|
|
|
8b84c5b |
BuildRequires: libX11-devel, libXt-devel, libXext-devel
|
|
|
8b84c5b |
BuildRequires: libICE-devel, libGL-devel
|
|
|
8b84c5b |
%{?with_OSMesa:BuildRequires: mesa-libOSMesa-devel}
|
|
|
8b84c5b |
BuildRequires: tk-devel, tcl-devel
|
|
|
8b84c5b |
BuildRequires: python-devel
|
|
|
8b84c5b |
BuildRequires: expat-devel, freetype-devel, libjpeg-devel, libpng-devel
|
|
Orion Poplawski |
914eac4 |
BuildRequires: gl2ps-devel
|
|
|
8b84c5b |
BuildRequires: libtiff-devel, zlib-devel
|
|
Orion Poplawski |
914eac4 |
BuildRequires: libxml2-devel
|
|
Orion Poplawski |
79d689f |
BuildRequires: qt4-devel
|
|
Orion Poplawski |
d696ba3 |
BuildRequires: qtwebkit-devel
|
|
|
8b84c5b |
BuildRequires: chrpath
|
|
|
789e657 |
BuildRequires: doxygen, graphviz
|
|
|
c59190f |
BuildRequires: gnuplot
|
|
Orion Poplawski |
578b5ac |
BuildRequires: boost-devel
|
|
Orion Poplawski |
ec8139c |
BuildRequires: hdf5-devel
|
|
Orion Poplawski |
578b5ac |
BuildRequires: libtheora-devel
|
|
Orion Poplawski |
578b5ac |
BuildRequires: mysql-devel
|
|
Orion Poplawski |
578b5ac |
BuildRequires: postgresql-devel
|
|
|
c59190f |
BuildRequires: wget
|
|
|
c59190f |
BuildRequires: %{_includedir}/Xm
|
|
|
c59190f |
%{!?with_java:Conflicts: vtk-java}
|
|
Orion Poplawski |
ceab06d |
Requires: hdf5 = %{_hdf5_version}
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%description
|
|
|
8b84c5b |
VTK is an open-source software system for image processing, 3D
|
|
|
8b84c5b |
graphics, volume rendering and visualization. VTK includes many
|
|
|
8b84c5b |
advanced algorithms (e.g., surface reconstruction, implicit modelling,
|
|
|
8b84c5b |
decimation) and rendering techniques (e.g., hardware-accelerated
|
|
|
8b84c5b |
volume rendering, LOD control).
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%package devel
|
|
|
8b84c5b |
Summary: VTK header files for building C++ code
|
|
|
8b84c5b |
Requires: vtk = %{version}-%{release}
|
|
|
c59190f |
%{?with_OSMesa:Requires: mesa-libOSMesa-devel}
|
|
Orion Poplawski |
c8701cf |
Requires: gl2ps-devel
|
|
|
c59190f |
Requires: expat-devel, libjpeg-devel, libpng-devel
|
|
Orion Poplawski |
c8701cf |
Requires: libogg-devel
|
|
Orion Poplawski |
c8701cf |
Requires: libtheora-devel
|
|
|
c59190f |
Requires: libtiff-devel
|
|
Orion Poplawski |
c8701cf |
Requires: postgresql-devel
|
|
Orion Poplawski |
c8701cf |
Requires: mysql-devel
|
|
Orion Poplawski |
79d689f |
Requires: qt4-devel
|
|
|
8b84c5b |
Group: Development/Libraries
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%description devel
|
|
|
8b84c5b |
This provides the VTK header files required to compile C++ programs that
|
|
|
8b84c5b |
use VTK to do 3D visualisation.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%package tcl
|
|
|
8b84c5b |
Summary: Tcl bindings for VTK
|
|
|
8b84c5b |
Requires: vtk = %{version}-%{release}
|
|
|
8b84c5b |
Group: System Environment/Libraries
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%description tcl
|
|
|
8b84c5b |
tcl bindings for VTK
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%package python
|
|
|
8b84c5b |
Summary: Python bindings for VTK
|
|
|
8b84c5b |
Requires: vtk = %{version}-%{release}
|
|
|
8b84c5b |
Group: System Environment/Libraries
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%description python
|
|
|
8b84c5b |
python bindings for VTK
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%if %{with java}
|
|
|
8b84c5b |
%package java
|
|
|
8b84c5b |
Summary: Java bindings for VTK
|
|
|
8b84c5b |
Requires: vtk = %{version}-%{release}
|
|
|
8b84c5b |
Group: System Environment/Libraries
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%description java
|
|
|
8b84c5b |
Java bindings for VTK
|
|
|
8b84c5b |
%endif
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%package qt
|
|
|
8b84c5b |
Summary: Qt bindings for VTK
|
|
|
8b84c5b |
Requires: vtk = %{version}-%{release}
|
|
|
8b84c5b |
Group: System Environment/Libraries
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%description qt
|
|
|
8b84c5b |
Qt bindings for VTK
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%package testing
|
|
|
8b84c5b |
Summary: Testing programs for VTK
|
|
|
8b84c5b |
Requires: vtk = %{version}-%{release}, vtkdata = %{version}
|
|
|
8b84c5b |
Group: Applications/Engineering
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%description testing
|
|
|
8b84c5b |
Testing programs for VTK
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%package examples
|
|
|
8b84c5b |
Summary: Examples for VTK
|
|
|
8b84c5b |
Requires: vtk = %{version}-%{release}, vtkdata = %{version}
|
|
|
8b84c5b |
Group: Applications/Engineering
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%description examples
|
|
|
8b84c5b |
This package contains many well-commented examples showing how to use
|
|
|
8b84c5b |
VTK. Examples are available in the C++, Tcl, Python and Java
|
|
|
8b84c5b |
programming languages.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%prep
|
|
|
8b84c5b |
%setup -q -n VTK
|
|
|
283dcfc |
%patch1 -p1 -b .gcc43
|
|
Orion Poplawski |
ca3485d |
%patch2 -p1 -b .soname
|
|
Orion Poplawski |
914eac4 |
%patch5 -p1 -b .system
|
|
|
8b84c5b |
|
|
|
8b84c5b |
# Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version}
|
|
|
8b84c5b |
# otherwise it will break on symlinks.
|
|
|
8b84c5b |
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs \
|
|
|
8b84c5b |
perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/vtkdata-%{version},g'
|
|
|
8b84c5b |
|
|
|
8b84c5b |
# Save an unbuilt copy of the Example's sources for %doc
|
|
Orion Poplawski |
ec8139c |
mkdir vtk-examples
|
|
Orion Poplawski |
ec8139c |
cp -a Examples vtk-examples
|
|
|
2136714 |
# Don't ship Win32 examples
|
|
Orion Poplawski |
ec8139c |
rm -rf vtk-examples/Examples/GUI/Win32
|
|
Orion Poplawski |
ec8139c |
find vtk-examples -type f | xargs chmod -R a-x
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%build
|
|
|
8b84c5b |
export CFLAGS="%{optflags} -D_UNICODE"
|
|
|
8b84c5b |
export CXXFLAGS="%{optflags} -D_UNICODE"
|
|
|
8b84c5b |
%if %{with java}
|
|
|
8b84c5b |
export JAVA_HOME=/usr/lib/jvm/java
|
|
|
8b84c5b |
%endif
|
|
|
8b84c5b |
|
|
Orion Poplawski |
914eac4 |
mkdir build
|
|
Orion Poplawski |
914eac4 |
pushd build
|
|
|
ca9d984 |
%if (0%{?rhel} <= 6)
|
|
|
ca9d984 |
%{cmake28} .. \
|
|
|
ca9d984 |
%else
|
|
Orion Poplawski |
914eac4 |
%{cmake} .. \
|
|
|
ca9d984 |
%endif
|
|
|
8b84c5b |
-DBUILD_DOCUMENTATION:BOOL=ON \
|
|
|
8b84c5b |
-DBUILD_EXAMPLES:BOOL=ON \
|
|
|
8b84c5b |
-DBUILD_TESTING:BOOL=ON \
|
|
|
a315b9c |
-DVTK_INSTALL_INCLUDE_DIR:PATH=/include/vtk \
|
|
Orion Poplawski |
ec8139c |
-DVTK_INSTALL_LIB_DIR:PATH=/%{_lib}/vtk \
|
|
Orion Poplawski |
914eac4 |
-DVTK_INSTALL_QT_DIR=/%{_lib}/qt4/plugins/designer \
|
|
|
008139d |
-DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic \
|
|
|
8b84c5b |
%if %{with OSMesa}
|
|
|
8b84c5b |
-DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
|
|
|
8b84c5b |
%endif
|
|
Orion Poplawski |
ec8139c |
-DVTK_PYTHON_SETUP_ARGS="--prefix=/usr --root=%{buildroot}" \
|
|
|
8b84c5b |
-DVTK_WRAP_PYTHON:BOOL=ON \
|
|
|
8b84c5b |
%if %{with java}
|
|
|
8b84c5b |
-DVTK_WRAP_JAVA:BOOL=ON \
|
|
|
8b84c5b |
-DJAVA_INCLUDE_PATH:PATH=$JAVA_HOME/include \
|
|
|
8b84c5b |
-DJAVA_INCLUDE_PATH2:PATH=$JAVA_HOME/include/linux \
|
|
|
8b84c5b |
-DJAVA_AWT_INCLUDE_PATH:PATH=$JAVA_HOME/include \
|
|
|
8b84c5b |
%else
|
|
|
8b84c5b |
-DVTK_WRAP_JAVA:BOOL=OFF \
|
|
|
8b84c5b |
%endif
|
|
|
8b84c5b |
-DVTK_WRAP_TCL:BOOL=ON \
|
|
Orion Poplawski |
578b5ac |
-DVTK_USE_BOOST:BOOL=ON \
|
|
|
8b84c5b |
-DVTK_USE_GL2PS:BOOL=ON \
|
|
|
8b84c5b |
-DVTK_USE_GUISUPPORT:BOOL=ON \
|
|
Orion Poplawski |
578b5ac |
-DVTK_USE_MYSQL=ON \
|
|
Orion Poplawski |
578b5ac |
-DVTK_USE_OGGTHEORA_ENCODER=ON \
|
|
|
8b84c5b |
-DVTK_USE_PARALLEL:BOOL=ON \
|
|
Orion Poplawski |
578b5ac |
-DVTK_USE_POSTGRES=ON \
|
|
Orion Poplawski |
914eac4 |
-DVTK_USE_SYSTEM_LIBRARIES=ON \
|
|
Orion Poplawski |
914eac4 |
-DVTK_USE_SYSTEM_LIBPROJ4=OFF \
|
|
|
8b84c5b |
-DVTK_USE_QVTK=ON \
|
|
Orion Poplawski |
578b5ac |
-DVTK_USE_QT=ON \
|
|
Orion Poplawski |
578b5ac |
-DVTK_USE_TEXT_ANALYSIS=ON
|
|
|
8b84c5b |
|
|
Orion Poplawski |
578b5ac |
# Not working, see http://public.kitware.com/Bug/view.php?id=11978
|
|
Orion Poplawski |
578b5ac |
# -DVTK_USE_ODBC=ON \
|
|
Orion Poplawski |
578b5ac |
# Not working, see http://public.kitware.com/Bug/view.php?id=10779
|
|
Orion Poplawski |
578b5ac |
# -DVTK_USE_GNU_R:BOOL=ON \
|
|
|
8b84c5b |
# Commented old flags in case we'd like to reactive some of them
|
|
|
8b84c5b |
# -DVTK_USE_DISPLAY:BOOL=OFF \ # This prevents building of graphics tests
|
|
Orion Poplawski |
578b5ac |
# -DVTK_USE_MPI:BOOL=ON \
|
|
|
8b84c5b |
|
|
Orion Poplawski |
914eac4 |
# Got intermittent build error with -j
|
|
Orion Poplawski |
914eac4 |
make #%{?_smp_mflags}
|
|
|
2136714 |
|
|
|
2136714 |
# Remove executable bits from sources (some of which are generated)
|
|
|
2136714 |
find . -name \*.c -or -name \*.cxx -or -name \*.h -or -name \*.hxx -or \
|
|
|
2136714 |
-name \*.gif | xargs chmod -x
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%install
|
|
|
8b84c5b |
rm -rf %{buildroot}
|
|
|
8b84c5b |
mkdir -p %{buildroot}
|
|
Orion Poplawski |
914eac4 |
pushd build
|
|
Orion Poplawski |
914eac4 |
make install DESTDIR=%{buildroot}
|
|
|
8b84c5b |
|
|
|
8b84c5b |
if [ "%{_lib}" != lib -a "`ls %{buildroot}%{_prefix}/lib/*`" != "" ]; then
|
|
|
8b84c5b |
mkdir -p %{buildroot}%{_libdir}
|
|
|
8b84c5b |
mv %{buildroot}%{_prefix}/lib/* %{buildroot}%{_libdir}/
|
|
|
8b84c5b |
fi
|
|
Orion Poplawski |
028343b |
|
|
Orion Poplawski |
028343b |
# ld config
|
|
Orion Poplawski |
028343b |
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
|
Orion Poplawski |
028343b |
echo %{_libdir}/vtk > %{buildroot}%{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf
|
|
|
8b84c5b |
|
|
|
8b84c5b |
# Gather list of non-python/tcl libraries
|
|
Orion Poplawski |
028343b |
ls %{buildroot}%{_libdir}/vtk/*.so.* \
|
|
|
8b84c5b |
| grep -Ev '(Java|QVTK|PythonD|TCL)' | sed -e's,^%{buildroot},,' > libs.list
|
|
|
8b84c5b |
|
|
|
8b84c5b |
# List of executable utilities
|
|
|
8b84c5b |
cat > utils.list << EOF
|
|
|
524dda0 |
vtkEncodeString
|
|
|
6714263 |
lproj
|
|
|
8b84c5b |
EOF
|
|
|
8b84c5b |
|
|
|
8b84c5b |
# List of executable examples
|
|
|
8b84c5b |
cat > examples.list << EOF
|
|
|
8b84c5b |
HierarchicalBoxPipeline
|
|
|
8b84c5b |
MultiBlock
|
|
|
8b84c5b |
Arrays
|
|
|
8b84c5b |
Cube
|
|
|
8b84c5b |
RGrid
|
|
|
8b84c5b |
SGrid
|
|
|
8b84c5b |
Medical1
|
|
|
8b84c5b |
Medical2
|
|
|
8b84c5b |
Medical3
|
|
|
8b84c5b |
finance
|
|
|
8b84c5b |
AmbientSpheres
|
|
|
8b84c5b |
Cylinder
|
|
|
8b84c5b |
DiffuseSpheres
|
|
|
8b84c5b |
SpecularSpheres
|
|
|
8b84c5b |
Cone
|
|
|
8b84c5b |
Cone2
|
|
|
8b84c5b |
Cone3
|
|
|
8b84c5b |
Cone4
|
|
|
8b84c5b |
Cone5
|
|
|
8b84c5b |
Cone6
|
|
|
8b84c5b |
EOF
|
|
|
8b84c5b |
|
|
|
8b84c5b |
# List of executable test binaries
|
|
|
8b84c5b |
cat > testing.list << EOF
|
|
|
8b84c5b |
CommonCxxTests
|
|
|
8b84c5b |
TestCxxFeatures
|
|
|
8b84c5b |
TestInstantiator
|
|
|
8b84c5b |
FilteringCxxTests
|
|
|
8b84c5b |
GraphicsCxxTests
|
|
|
8b84c5b |
GenericFilteringCxxTests
|
|
|
8b84c5b |
ImagingCxxTests
|
|
|
8b84c5b |
IOCxxTests
|
|
|
8b84c5b |
RenderingCxxTests
|
|
|
8b84c5b |
VTKBenchMark
|
|
|
8b84c5b |
VolumeRenderingCxxTests
|
|
|
8b84c5b |
WidgetsCxxTests
|
|
|
8b84c5b |
SocketClient
|
|
|
8b84c5b |
SocketServer
|
|
|
8b84c5b |
EOF
|
|
|
8b84c5b |
|
|
|
34d39db |
# Install utils/examples/testing, too
|
|
|
2136714 |
for filelist in utils.list examples.list testing.list; do
|
|
|
34d39db |
for file in `cat $filelist`; do
|
|
|
34d39db |
install -p bin/$file %{buildroot}%{_bindir}
|
|
|
34d39db |
done
|
|
|
2136714 |
perl -pi -e's,^,%{_bindir}/,' $filelist
|
|
|
8b84c5b |
done
|
|
|
8b84c5b |
|
|
|
34d39db |
# Remove any remnants of rpaths
|
|
Orion Poplawski |
ec8139c |
for file in `cat utils.list examples.list testing.list`; do
|
|
|
34d39db |
chrpath -d %{buildroot}$file
|
|
|
34d39db |
done
|
|
|
34d39db |
|
|
|
8b84c5b |
# Main package contains utils and core libs
|
|
|
8b84c5b |
cat libs.list utils.list > main.list
|
|
Orion Poplawski |
914eac4 |
popd
|
|
|
8b84c5b |
|
|
Orion Poplawski |
028343b |
# Make scripts executable
|
|
Orion Poplawski |
ec8139c |
chmod a+x %{buildroot}%{_libdir}/vtk/doxygen/*.pl
|
|
Orion Poplawski |
ec8139c |
chmod a+x %{buildroot}%{_libdir}/vtk/testing/*.{py,tcl}
|
|
|
8b84c5b |
|
|
|
8b84c5b |
# Remove exec bit from non-scripts and %%doc
|
|
|
8b84c5b |
for file in `find %{buildroot} -type f -perm 0755 \
|
|
|
8b84c5b |
| xargs -r file | grep ASCII | awk -F: '{print $1}'`; do
|
|
|
8b84c5b |
head -1 $file | grep '^#!' > /dev/null && continue
|
|
|
8b84c5b |
chmod 0644 $file
|
|
|
8b84c5b |
done
|
|
|
8b84c5b |
find Utilities/Upgrading -type f | xargs chmod -x
|
|
|
8b84c5b |
|
|
|
34d39db |
# Add exec bits to shared libs ...
|
|
|
2136714 |
chmod 0755 %{buildroot}%{_libdir}/python*/site-packages/vtk/*.so
|
|
|
8b84c5b |
|
|
|
6714263 |
# Verdict places the docs in the false folder
|
|
Orion Poplawski |
ec8139c |
rm -fr %{buildroot}%{_libdir}/vtk/doc
|
|
|
6714263 |
|
|
|
283dcfc |
%check
|
|
|
8b84c5b |
#LD_LIBARARY_PATH=`pwd`/bin ctest -V
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%clean
|
|
|
8b84c5b |
rm -rf %{buildroot}
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%post -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%postun -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%post tcl -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%postun tcl -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%post python -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%postun python -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%if %{with java}
|
|
|
8b84c5b |
%post java -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%postun java -p /sbin/ldconfig
|
|
|
8b84c5b |
%endif
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%post qt -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%postun qt -p /sbin/ldconfig
|
|
|
8b84c5b |
|
|
Orion Poplawski |
914eac4 |
%files -f build/main.list
|
|
|
8b84c5b |
%defattr(-,root,root,-)
|
|
|
8b84c5b |
%doc --parents Copyright.txt README.html vtkLogo.jpg vtkBanner.gif Wrapping/*/README*
|
|
Orion Poplawski |
028343b |
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%files devel
|
|
|
8b84c5b |
%defattr(-,root,root,-)
|
|
|
8b84c5b |
%doc Utilities/Upgrading
|
|
Orion Poplawski |
ec8139c |
%{_bindir}/vtkWrapHierarchy
|
|
Orion Poplawski |
ec8139c |
%{_libdir}/vtk/doxygen
|
|
|
8b84c5b |
%{_includedir}/vtk
|
|
Orion Poplawski |
028343b |
%{_libdir}/vtk/*.so
|
|
Orion Poplawski |
ec8139c |
%{_libdir}/vtk/CMake
|
|
Orion Poplawski |
ec8139c |
%{_libdir}/vtk/*.cmake
|
|
Orion Poplawski |
ec8139c |
%{_libdir}/vtk/hints
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%files tcl
|
|
|
8b84c5b |
%defattr(-,root,root,-)
|
|
Orion Poplawski |
028343b |
%{_libdir}/vtk/*TCL.so.*
|
|
|
8b84c5b |
%{_bindir}/vtk
|
|
|
8b84c5b |
%{_bindir}/vtkWrapTcl
|
|
|
8b84c5b |
%{_bindir}/vtkWrapTclInit
|
|
Orion Poplawski |
ec8139c |
%{_libdir}/vtk/pkgIndex.tcl
|
|
Orion Poplawski |
ec8139c |
%{_libdir}/vtk/tcl
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%files python
|
|
|
8b84c5b |
%defattr(-,root,root,-)
|
|
|
789e657 |
#%{python_sitearch}/vtk
|
|
|
789e657 |
%{python_sitearch}/*
|
|
Orion Poplawski |
028343b |
%{_libdir}/vtk/*PythonD.so.*
|
|
|
8b84c5b |
%{_bindir}/vtkpython
|
|
|
8b84c5b |
%{_bindir}/vtkWrapPython
|
|
|
8b84c5b |
%{_bindir}/vtkWrapPythonInit
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%if %{with java}
|
|
|
8b84c5b |
%files java
|
|
|
8b84c5b |
%defattr(-,root,root,-)
|
|
Orion Poplawski |
028343b |
%{_libdir}/vtk/*Java.so.*
|
|
Orion Poplawski |
ec8139c |
%{_libdir}/vtk/java
|
|
|
8b84c5b |
%{_bindir}/vtkParseJava
|
|
|
8b84c5b |
%{_bindir}/vtkWrapJava
|
|
|
8b84c5b |
%endif
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%files qt
|
|
|
8b84c5b |
%defattr(-,root,root,-)
|
|
Orion Poplawski |
028343b |
%{_libdir}/vtk/libQVTK.so.*
|
|
Orion Poplawski |
914eac4 |
%{_libdir}/qt4/plugins/designer
|
|
|
8b84c5b |
|
|
Orion Poplawski |
914eac4 |
%files testing -f build/testing.list
|
|
|
8b84c5b |
%defattr(-,root,root,-)
|
|
Orion Poplawski |
ec8139c |
%{_libdir}/vtk/testing
|
|
|
8b84c5b |
|
|
Orion Poplawski |
914eac4 |
%files examples -f build/examples.list
|
|
|
8b84c5b |
%defattr(-,root,root,-)
|
|
Orion Poplawski |
ec8139c |
%doc vtk-examples/Examples
|
|
|
8b84c5b |
|
|
|
8b84c5b |
%changelog
|
|
Orion Poplawski |
ca3485d |
* Tue Jan 29 2013 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-6.1
|
|
Orion Poplawski |
ca3485d |
- Add patch to add soname to libvtkNetCDF_cxx
|
|
Orion Poplawski |
ca3485d |
|
|
|
ca9d984 |
* Tue May 15 2012 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 5.8.0-6
|
|
|
ca9d984 |
- Add cmake28 usage when building for EL6
|
|
|
05ce9d4 |
- Disable -java build on PPC64 as it fails to build
|
|
|
ca9d984 |
|
|
|
850f2cf |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8.0-5
|
|
|
850f2cf |
- Rebuilt for c++ ABI breakage
|
|
|
850f2cf |
|
|
Orion Poplawski |
60c4836 |
* Sun Jan 8 2012 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-4
|
|
Orion Poplawski |
60c4836 |
- Rebuild with gcc 4.7
|
|
Orion Poplawski |
60c4836 |
|
|
Orion Poplawski |
ceab06d |
* Fri Nov 18 2011 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-3
|
|
Orion Poplawski |
ceab06d |
- Rebuild for hdf5 1.8.8, add explicit requires
|
|
Orion Poplawski |
ceab06d |
|
|
Orion Poplawski |
028343b |
* Mon Nov 1 2011 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-2
|
|
Orion Poplawski |
028343b |
- Keep libraries in %%{_libdir}/vtk, use ld.so.conf.d
|
|
Orion Poplawski |
028343b |
|
|
Orion Poplawski |
ec8139c |
* Fri Oct 7 2011 Orion Poplawski <orion@cora.nwra.com> - 5.8.0-1
|
|
Orion Poplawski |
ec8139c |
- Update to 5.8.0
|
|
Orion Poplawski |
ec8139c |
- Drop version from directory names
|
|
Orion Poplawski |
ec8139c |
- Use VTK_PYTHON_SETUP_ARGS instead of patch to set python install dir
|
|
Orion Poplawski |
ec8139c |
- Drop several patches fixed upstream
|
|
Orion Poplawski |
ec8139c |
- Remove rpaths from all hand installed binaries (Bug 744437)
|
|
Orion Poplawski |
ec8139c |
- Don't link against OSMesa (Bug 744434)
|
|
Orion Poplawski |
ec8139c |
|
|
Orion Poplawski |
d696ba3 |
* Thu Jun 23 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-10
|
|
Orion Poplawski |
d696ba3 |
- Add BR qtwebkit-devel, fixes FTBS bug 715770
|
|
Orion Poplawski |
d696ba3 |
|
|
Orion Poplawski |
1442ec2 |
* Thu May 19 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-9
|
|
Orion Poplawski |
1442ec2 |
- Update soversion patch to add soversion to libvtkNetCDF.so
|
|
Orion Poplawski |
1442ec2 |
|
|
Orion Poplawski |
490b6f2 |
* Mon Mar 28 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-8
|
|
Orion Poplawski |
490b6f2 |
- Rebuild for new mysql
|
|
Orion Poplawski |
490b6f2 |
|
|
Orion Poplawski |
c8701cf |
* Thu Mar 17 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-7
|
|
Orion Poplawski |
c8701cf |
- Add needed requires to vtk-devel
|
|
Orion Poplawski |
c8701cf |
|
|
Orion Poplawski |
578b5ac |
* Wed Mar 16 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-6
|
|
Orion Poplawski |
578b5ac |
- Turn on boost, mysql, postgres, ogg theora, and text analysis support,
|
|
Orion Poplawski |
578b5ac |
bug 688275.
|
|
Orion Poplawski |
578b5ac |
|
|
|
a315b9c |
* Wed Mar 16 2011 Marek Kasik <mkasik@redhat.com> - 5.6.1-5
|
|
|
a315b9c |
- Add backslashes to VTK_INSTALL_LIB_DIR and
|
|
|
a315b9c |
- VTK_INSTALL_INCLUDE_DIR (#687895)
|
|
|
a315b9c |
|
|
Orion Poplawski |
d3fddc6 |
* Tue Mar 15 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-4
|
|
Orion Poplawski |
d3fddc6 |
- Set VTK_INSTALL_LIB_DIR, fix bug 687895
|
|
Orion Poplawski |
d3fddc6 |
|
|
Orion Poplawski |
914eac4 |
* Fri Feb 18 2011 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-3
|
|
Orion Poplawski |
914eac4 |
- Add patch to support gcc 4.6
|
|
Orion Poplawski |
914eac4 |
- Add patch to make using system libraries easier
|
|
Orion Poplawski |
914eac4 |
- Update pythondestdir patch to use --prefix and --root
|
|
Orion Poplawski |
914eac4 |
- Use system gl2ps and libxml2
|
|
Orion Poplawski |
914eac4 |
- Use standard cmake build macro, out of tree builds
|
|
Orion Poplawski |
914eac4 |
- Add patch from upstream to add sonames to libCosmo and libVPIC (bug #622840)
|
|
Orion Poplawski |
914eac4 |
|
|
|
0e3f959 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.1-2
|
|
|
0e3f959 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0e3f959 |
|
|
Orion Poplawski |
79d689f |
* Mon Dec 7 2010 Orion Poplawski <orion@cora.nwra.com> - 5.6.1-1
|
|
Orion Poplawski |
79d689f |
- Update to 5.6.1
|
|
Orion Poplawski |
79d689f |
- Enable qt4 support, drop qt3 support
|
|
Orion Poplawski |
79d689f |
|
|
|
9fddd27 |
* Wed Oct 20 2010 Adam Jackson <ajax@redhat.com> 5.6.0-37
|
|
|
9fddd27 |
- Rebuild for new libOSMesa soname
|
|
|
9fddd27 |
|
|
|
1ceaf7f |
* Sat Jul 31 2010 David Malcolm <dmalcolm@redhat.com> - 5.6.0-36
|
|
|
1ceaf7f |
- add python 2.7 compat patch
|
|
|
1ceaf7f |
|
|
|
b6bdc69 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 5.6.0-35
|
|
|
b6bdc69 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
b6bdc69 |
|
|
|
c59190f |
* Mon Jul 5 2010 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.6.0-34
|
|
|
c59190f |
- Update to 5.6.0.
|
|
|
4ad49a0 |
|
|
|
34d39db |
* Sat Jun 6 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.4.2-30
|
|
|
34d39db |
- Update to 5.4.2.
|
|
|
a85cae6 |
|
|
|
34d39db |
* Thu Mar 12 2009 Orion Poplawski <orion@cora.nwra.com> - 5.2.1-29
|
|
|
2136714 |
- Update to 5.2.1
|
|
|
2136714 |
|
|
|
cb9f45a |
* Fri Mar 06 2009 Jesse Keating <jkeating@redhat.com> - 5.2.0-28
|
|
|
cb9f45a |
- Remove chmod on examples .so files, none are built. This needs
|
|
|
cb9f45a |
more attention.
|
|
|
cb9f45a |
|
|
|
524dda0 |
* Sun Oct 5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.2.0-26
|
|
|
524dda0 |
- Update to 5.2.0.
|
|
|
b9a3eb9 |
|
|
|
b2eb6da |
* Wed Oct 1 2008 Orion Poplawski <orion@cora.nwra.com> - 5.0.2-25
|
|
|
b2eb6da |
- Fix patch fuzz
|
|
|
b2eb6da |
|
|
|
0b020a5 |
* Mon Aug 25 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-24
|
|
|
0b020a5 |
- Change java build dependencies from java-devel to gcj.
|
|
|
0b020a5 |
|
|
|
283dcfc |
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-23
|
|
|
283dcfc |
- %%check || : does not work anymore.
|
|
|
283dcfc |
- enable java by default.
|
|
|
283dcfc |
|
|
|
73ffa84 |
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.0.4-22
|
|
|
73ffa84 |
- fix license tag
|
|
|
73ffa84 |
|
|
|
8f6f969 |
* Sat Apr 12 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-21
|
|
|
8f6f969 |
- Fixes for gcc 4.3 by Orion Poplawski.
|
|
|
8f6f969 |
|
|
|
25c9402 |
* Sat Apr 5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-20
|
|
|
25c9402 |
- Change BR to qt-devel to qt3-devel.
|
|
|
25c9402 |
|
|
|
789e657 |
* Sat Feb 23 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-19
|
|
|
789e657 |
- Update to 5.0.4.
|
|
|
fa7a0d2 |
|
|
|
8b84c5b |
* Mon May 28 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-18
|
|
|
8b84c5b |
- Move headers to %%{_includedir}/vtk.
|
|
|
8b84c5b |
- Remove executable bit from sources.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Mon Apr 16 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-17
|
|
|
8b84c5b |
- Make java build conditional.
|
|
|
8b84c5b |
- Add ldconfig %%post/%%postun for java/qt subpackages.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Sun Apr 15 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-16
|
|
|
8b84c5b |
- Remove %%ghosting pyc/pyo.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Wed Apr 04 2007 Paulo Roma <roma@lcg.ufrj.br> - 5.0.3-15
|
|
|
8b84c5b |
- Update to 5.0.4.
|
|
|
8b84c5b |
- Added support for qt4 plugin.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Wed Feb 7 2007 Orion Poplawski <orion@cora.nwra.com> - 5.0.2-14
|
|
|
8b84c5b |
- Enable Java, Qt, GL2PS, OSMESA
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Mon Sep 11 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.2-13
|
|
|
8b84c5b |
- Update to 5.0.2.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Sun Aug 6 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-12
|
|
|
8b84c5b |
- cmake needs to be >= 2.0.4.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Fri Aug 4 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-11
|
|
|
8b84c5b |
- Fix some python issues including pyo management.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Sun Jul 23 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-10
|
|
|
8b84c5b |
- Embed feedback from bug 199405 comment 5.
|
|
|
8b84c5b |
- Fix some Group entries.
|
|
|
8b84c5b |
- Remove redundant dependencies.
|
|
|
8b84c5b |
- Use system libs.
|
|
|
8b84c5b |
- Comment specfile more.
|
|
|
8b84c5b |
- Change buildroot handling with CMAKE_INSTALL_PREFIX.
|
|
|
8b84c5b |
- Enable qt designer plugin.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Wed Jul 19 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-7
|
|
|
8b84c5b |
- Fix some permissions for rpmlint and debuginfo.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Sun Jul 16 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-7
|
|
|
8b84c5b |
- Remove rpath and some further rpmlint warnings.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Thu Jul 13 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-6
|
|
|
8b84c5b |
- Update to 5.0.1.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Wed May 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net>
|
|
|
8b84c5b |
- Update to 5.0.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Mon Apr 04 2004 Intrinsic Spin <spin@freakbait.com> 2.mr
|
|
|
8b84c5b |
- built on a machine with a stock libGL.so
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Sun Apr 04 2004 Intrinsic Spin <spin@freakbait.com>
|
|
|
8b84c5b |
- little cleanups
|
|
|
8b84c5b |
- Built for FC1
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Sun Jan 11 2004 Intrinsic Spin <spin@freakbait.com>
|
|
|
8b84c5b |
- Built against a reasonably good (according to dashboard) CVS version so-as
|
|
|
8b84c5b |
to get GL2PS support.
|
|
|
8b84c5b |
- Rearranged. Cleaned up. Added some comments.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Sat Jan 10 2004 Intrinsic Spin <spin@freakbait.com>
|
|
|
8b84c5b |
- Blatently stole this spec file for my own nefarious purposes.
|
|
|
8b84c5b |
- Removed Java (for now). Merged the Python and Tcl stuff into
|
|
|
8b84c5b |
the main rpm.
|
|
|
8b84c5b |
|
|
|
8b84c5b |
* Fri Dec 05 2003 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
|
|
|
8b84c5b |
- (See Fabrice's RPMs for any more comments --Spin)
|