]> git.pld-linux.org Git - packages/vtk.git/blame - vtk.spec
- icu/boost rebuild
[packages/vtk.git] / vtk.spec
CommitLineData
e33b075c
JB
1# TODO:
2# - handle VTK_USE_MPEG2_ENCODER (see CMakeLists.txt)
022c8c20 3# - handle MPI and VTK_USE_PARALLEL_BGL (Parallel Boost Graph Library, BR: boost >= 1.40)
e33b075c 4# - more system libraries? (check for VTK_THIRD_PARTY_SUBDIR in Utilities/CMakeLists.txt)
82b69c28
JB
5# - CUDA for Accelerators/Piston (on bcond)
6# - NVCtrlLib for Rendering/OpenGL (on bcond)
921811aa 7# - VTK_USE_SYSTEM_XDMF2=ON ? (but our xdmf-devel seems not compatible)
98c8aeec 8# - python bcond?
b4f8e64d 9#
e3358d84 10# Conditional build
bdd17b88 11%bcond_without java # Java wrappers
bdd17b88 12%bcond_without ffmpeg # FFMPEG .avi saving support
bdd17b88 13%bcond_with OSMesa # build with OSMesa (https://bugzilla.redhat.com/show_bug.cgi?id=744434)
20fc82eb 14%bcond_with system_proj # use system PROJ.4 (needs 4.3 with exposed internals, not ready for 4.4+)
ab87671a 15%bcond_with system_gl2ps # use system gl2ps (VTK currently is carrying local modifications to gl2ps)
24f1bf2f 16
3b8bf081 17Summary: Toolkit for 3D computer graphics, image processing, and visualization
06b6c677 18Summary(pl.UTF-8): Zestaw narzędzi do trójwymiarowej grafiki, przetwarzania obrazu i wizualizacji
3b8bf081 19Name: vtk
fec843e6 20Version: 8.1.1
fa99cd24 21Release: 4
3b8bf081 22License: BSD
0b356dc9 23Group: Libraries
fec843e6
JR
24Source0: http://www.vtk.org/files/release/8.1/VTK-%{version}.tar.gz
25# Source0-md5: cf078a71c298c76b13707c7c27704248
26Source1: http://www.vtk.org/files/release/8.1/VTKData-%{version}.tar.gz
27# Source1-md5: 6de8c1e3884b805c47dca02e7b049301
ab87671a 28Patch0: vtk-abi.patch
280d7190 29URL: http://www.vtk.org/
bb64b81a 30%{?with_OSMesa:BuildRequires: Mesa-libOSMesa-devel}
24d31977 31BuildRequires: OpenGL-GLX-devel
bb64b81a 32BuildRequires: OpenGL-devel
fec843e6
JR
33BuildRequires: Qt5Core-devel
34BuildRequires: Qt5Designer-devel
35BuildRequires: Qt5Gui-devel
36BuildRequires: Qt5Network-devel
37BuildRequires: Qt5OpenGL-devel
38BuildRequires: Qt5Sql-devel
39BuildRequires: Qt5WebKit-devel
40BuildRequires: Qt5XmlPatterns-devel
41BuildRequires: Qt5UiTools-devel
ea1804c3 42BuildRequires: R
e33b075c 43BuildRequires: boost-devel >= 1.39
1d4198f2 44BuildRequires: cmake >= 2.8.8
c8393523 45BuildRequires: doxygen
bb64b81a 46BuildRequires: expat-devel
e33b075c 47%{?with_ffmpeg:BuildRequires: ffmpeg-devel}
24d31977 48BuildRequires: fontconfig-devel
e33b075c 49BuildRequires: freetype-devel >= 2
58c51e05 50BuildRequires: gdal-devel
ab87671a 51%{?with_system_gl2ps:BuildRequires: gl2ps-devel >= 1.3.8}
bb64b81a
JR
52BuildRequires: gnuplot
53BuildRequires: graphviz
54BuildRequires: hdf5-devel
ff176195 55%if %{with java}
e33b075c 56BuildRequires: jdk >= 1.5
24f1bf2f 57BuildRequires: jpackage-utils
ff176195 58%endif
1d4198f2 59BuildRequires: jsoncpp-devel
bb64b81a 60BuildRequires: libjpeg-devel
e33b075c 61BuildRequires: libogg-devel
bb64b81a 62BuildRequires: libpng-devel
e33b075c 63BuildRequires: libstdc++-devel
bb64b81a
JR
64BuildRequires: libtheora-devel
65BuildRequires: libtiff-devel
e33b075c 66BuildRequires: libxml2-devel >= 2
fec843e6 67BuildRequires: lz4-devel
82b69c28 68BuildRequires: motif-devel
bb64b81a 69BuildRequires: mysql-devel
df99c936 70BuildRequires: netcdf-cxx-devel >= 4
58c51e05
JB
71# some code using it exists (Domains/Chemistry), but is not included in cmakefiles
72#BuildRequires: openqube-devel
73BuildRequires: perl-base
bb64b81a 74BuildRequires: postgresql-devel
bdd17b88 75%{?with_system_proj:BuildRequires: proj-devel >= 4.3, proj-devel < 4.4}
58c51e05 76BuildRequires: python-devel >= 2
2822e3c0 77BuildRequires: python-sip-devel
fec843e6
JR
78BuildRequires: qt5-build >= 4.5.0
79BuildRequires: qt5-qmake >= 4.5.0
e33b075c 80BuildRequires: rpmbuild(macros) >= 1.605
ed317954 81BuildRequires: sip
fec843e6 82BuildRequires: sip-PyQt5
bb64b81a
JR
83BuildRequires: tcl-devel
84BuildRequires: tk-devel
58c51e05 85BuildRequires: unixODBC-devel
bb64b81a
JR
86BuildRequires: wget
87BuildRequires: xorg-lib-libICE-devel
24d31977 88BuildRequires: xorg-lib-libSM-devel
bb64b81a 89BuildRequires: xorg-lib-libX11-devel
24d31977 90BuildRequires: xorg-lib-libXScrnSaver-devel
bb64b81a 91BuildRequires: xorg-lib-libXext-devel
24d31977 92BuildRequires: xorg-lib-libXft-devel
bb64b81a
JR
93BuildRequires: xorg-lib-libXt-devel
94BuildRequires: zlib-devel
344d681b 95BuildConflicts: libXNVCtrl-devel
ab87671a 96%{?with_system_gl2ps:Requires: gl2ps >= 1.3.8}
0b356dc9 97BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52d6c353 98
bb64b81a
JR
99%define skip_post_check_so lib.*Python.*\.so.*
100
52d6c353 101%description
3b8bf081 102The Visualization ToolKit (VTK) is an object oriented software system
103for 3D computer graphics, image processing, and visualization. VTK
104includes a textbook, a C++ class library, and several interpreted
105interface layers including Tcl/Tk, Java, and Python. VTK supports a
106wide variety of visualization algorithms including scalar, vector,
107tensor, texture, and volumetric methods. It also supports advanced
108modeling techniques like implicit modeling, polygon reduction, mesh
0b356dc9 109smoothing, cutting, contouring, and Delaunay triangulation. Moreover,
3b8bf081 110dozens of imaging algorithms have been integrated into the system.
111This allows mixing 2D imaging / 3D graphics algorithms and data.
112
eb1fe26e 113%description -l pl.UTF-8
c8393523 114Visualization TookKit (VTK) to obiektowo zorientowany system
eb1fe26e
JR
115oprogramowania do trójwymiarowej grafiki komputerowej, przetwarzania
116obrazu i wizualizacji. VTK zawiera książkę, bibliotekę klas C++ oraz
117kilka interpretowanych warstw interfejsów, w tym dla Tcl/Tk, Javy i
118Pythona. VTK obsługuje szeroki zakres algorytmów wizualizacji, w tym
c8393523 119metody skalarne, wektorowe, tensorowe, teksturowe i wolumetryczne.
eb1fe26e
JR
120Obsługuje także zaawansowane techniki modelowania, takie jak
121modelowanie implicite, redukcja wielokątów, wygładzanie siatki,
122przycinanie, konturowanie i triangulacja Delaunaya. Co więcej, wiele
123algorytmów obrazowania zostało zintegrowanych z systemem. Pozwala to
124na mieszanie algorytmów obrazowania 2D i grafiki 3D.
c8393523 125
52d6c353 126%package devel
3b8bf081 127Summary: VTK header files for building C++ code
06b6c677 128Summary(pl.UTF-8): Pliki nagłówkowe VTK dla C++
0b356dc9 129Group: Development
c8393523 130Requires: %{name} = %{version}-%{release}
e33b075c 131Requires: libstdc++-devel
52d6c353 132
0b356dc9
AG
133%description devel
134This provides the VTK header files required to compile C++ programs
135that use VTK to do 3D visualisation.
52d6c353 136
eb1fe26e
JR
137%description devel -l pl.UTF-8
138Ten pakiet dostarcza pliki nagłówkowe VTK do kompilowania programów
139C++ używających VTK do wizualizacji 3D.
c8393523 140
e33b075c 141%package qt
fec843e6
JR
142Summary: Qt5 bindings and Qt5 Designer plugin for VTK
143Summary(pl.UTF-8): Wiązania Qt5 oraz wtyczka Qt5 Designera do VTK
e33b075c
JB
144Group: X11/Libraries
145Requires: %{name} = %{version}-%{release}
fec843e6
JR
146Requires: Qt5Core >= 4.5.0
147Requires: Qt5Gui >= 4.5.0
148Requires: Qt5Network >= 4.5.0
149Requires: Qt5OpenGL >= 4.5.0
150Requires: Qt5Sql >= 4.5.0
151Requires: Qt5WebKit >= 4.5.0
e33b075c
JB
152
153%description qt
fec843e6 154Qt5 bindings and Qt5 Designer plugin for VTK.
e33b075c
JB
155
156%description qt -l pl.UTF-8
fec843e6 157Wiązania Qt5 oraz wtyczka Qt5 Designera do VTK.
c3b50c93
JB
158
159%package qt-devel
fec843e6
JR
160Summary: Header files for VTK Qt5 bindings
161Summary(pl.UTF-8): Pliki nagłówkowe wiązań Qt5` do VTK
c3b50c93
JB
162Group: X11/Development/Libraries
163Requires: %{name}-devel = %{version}-%{release}
164Requires: %{name}-qt = %{version}-%{release}
fec843e6
JR
165Requires: Qt5Core-devel >= 4.5.0
166Requires: Qt5Gui-devel >= 4.5.0
167Requires: Qt5OpenGL-devel >= 4.5.0
168Requires: Qt5Sql-devel >= 4.5.0
c3b50c93
JB
169
170%description qt-devel
171Header files for VTK Qt bindings.
172
173%description qt-devel -l pl.UTF-8
174Pliki nagłówkowe wiązań Qt do VTK.
e33b075c 175
c9112da2
JB
176%package java
177Summary: Java bindings for VTK
178Summary(pl.UTF-8): Wiązania Javy do VTK
179Group: Development/Languages/Java
c8393523 180Requires: %{name} = %{version}-%{release}
c3b50c93
JB
181# or separate qt parts?
182Requires: %{name}-qt = %{version}-%{release}
52d6c353 183
c9112da2
JB
184%description java
185This package contains Java bindings for VTK.
52d6c353 186
c9112da2
JB
187%description java -l pl.UTF-8
188Ten pakiet zawiera wiązania Javy do VTK.
189
190%package java-devel
191Summary: Header files for Java VTK binding
192Summary(pl.UTF-8): Pliki nagłówkowe wiązania Javy do VTK
193Group: Development/Libraries
194Requires: %{name}-devel = %{version}-%{release}
195Requires: %{name}-java = %{version}-%{release}
196# <jni.h>
197Requires: jdk
198
199%description java-devel
200Header files for Java VTK binding.
201
202%description java-devel -l pl.UTF-8
203Pliki nagłówkowe wiązania Javy do VTK.
52d6c353
AG
204
205%package python
3b8bf081 206Summary: Python bindings for VTK
52118dd8 207Summary(pl.UTF-8): Wiązania Pythona do VTK
0b356dc9 208Group: Libraries
c8393523 209Requires: %{name} = %{version}-%{release}
c3b50c93
JB
210# or separate qt parts again?
211Requires: %{name}-qt = %{version}-%{release}
ed317954
JR
212Obsoletes: vtk-python-qt < 6.0.0-1
213Obsoletes: vtk-python-sip < 6.0.0-1
52d6c353 214
0b356dc9 215%description python
c8393523 216This package contains Python bindings for VTK.
52d6c353 217
eb1fe26e 218%description python -l pl.UTF-8
52118dd8 219Ten pakiet zawiera wiązania Pythona do VTK.
52d6c353 220
c9112da2
JB
221%package python-devel
222Summary: Header files for Python VTK binding
223Summary(pl.UTF-8): Pliki nagłówkowe wiązania Pythona do VTK
224Group: Development/Libraries
225Requires: %{name}-devel = %{version}-%{release}
226Requires: %{name}-python = %{version}-%{release}
227Requires: python-devel
52d6c353 228
c9112da2
JB
229%description python-devel
230Header files for Python VTK binding.
52d6c353 231
c9112da2
JB
232%description python-devel -l pl.UTF-8
233Pliki nagłówkowe wiązania Pythona do VTK.
52d6c353 234
c9112da2
JB
235%package tcl
236Summary: Tcl bindings for VTK
237Summary(pl.UTF-8): Wiązania języka Tcl do VTK
238Group: Libraries
239Requires: %{name} = %{version}-%{release}
c3b50c93
JB
240# or separate qt parts?
241Requires: %{name}-qt = %{version}-%{release}
c9112da2
JB
242
243%description tcl
244This package contains Tcl bindings for VTK.
245
246%description tcl -l pl.UTF-8
247Ten pakiet zawiera wiązania języka Tcl do VTK.
248
249%package tcl-devel
250Summary: Header files for Tcl VTK bindings
251Summary(pl.UTF-8): Pliki nagłówkowe wiązania języka Tcl do VTK
252Group: Development/Libraries
253Requires: %{name}-devel = %{version}-%{release}
254Requires: %{name}-tcl = %{version}-%{release}
255Requires: tcl-devel
256Requires: tk-devel
257
258%description tcl-devel
259Header files for Tcl VTK bindings.
260
261%description tcl-devel -l pl.UTF-8
262Pliki nagłówkowe wiązania języka Tcl do VTK.
263
52d6c353 264%package examples
3b8bf081 265Summary: C++, Tcl and Python example programs/scripts for VTK
06b6c677 266Summary(pl.UTF-8): Przykładowe programy/skrypty w C++, Tcl-u i Pythonie dla VTK
0b356dc9 267Group: Development/Libraries
c8393523
JB
268Requires: %{name} = %{version}-%{release}
269Requires: %{name}-data = %{version}-%{release}
52d6c353
AG
270
271%description examples
0b356dc9
AG
272This package contains all the examples from the VTK source. To compile
273the C++ examples you will need to install the vtk-devel package as
274well. The Python and Tcl examples can be run with the corresponding
275packages (vtk-python, vtk-tcl).
52d6c353 276
eb1fe26e
JR
277%description examples -l pl.UTF-8
278Ten pakiet zawiera wszystkie przykłady ze źródeł VTK. Do skompilowania
279przykładów w C++ trzeba doinstalować pakiet vtk-devel. Przykłady w
280Pythonie i Tcl-u można uruchamiać przy użyciu odpowiednich pakietów
c8393523
JB
281(vtk-python, vtk-tcl).
282
52d6c353 283%package test-suite
3b8bf081 284Summary: Test programs for VTK
06b6c677 285Summary(pl.UTF-8): Programy testowe dla VTK
0b356dc9 286Group: Development/Libraries
c8393523
JB
287Requires: %{name} = %{version}-%{release}
288Requires: %{name}-data = %{version}-%{release}
52d6c353
AG
289
290%description test-suite
3b8bf081 291This package contains all testing programs from the VTK source. The
292source code of these programs can be found in the vtk-examples
293package.
52d6c353 294
eb1fe26e
JR
295%description test-suite -l pl.UTF-8
296Ten pakiet zawiera wszystkie programy testowe ze źródeł VTK. Kod
297źródłowy tych programów można znaleźć w pakiecie vtk-examples.
c8393523 298
52d6c353 299%package data
3b8bf081 300Summary: Data files for VTK
06b6c677 301Summary(pl.UTF-8): Pliki danych dla VTK
3b8bf081 302Group: Development/Libraries
f421933b 303%if "%{_rpmversion}" >= "5"
11477b92 304BuildArch: noarch
f421933b 305%endif
52d6c353 306
0b356dc9 307%description data
3b8bf081 308This package contains all the data from the VTKData repository. These
c8393523
JB
309data are required to run various examples from the vtk-examples
310package.
311
eb1fe26e
JR
312%description data -l pl.UTF-8
313Ten pakiet zawiera wszystkie dane z repozytorium VTKData. Dane te są
314potrzebne do uruchamiania różnych przykładów z pakietu vtk-examples.
52d6c353
AG
315
316%prep
1d4198f2 317%setup -q -n VTK-%{version} -b 1
bb64b81a 318%patch0 -p1
bb64b81a 319
1d4198f2
JB
320# Replace relative path ../../../VTKData with destination filesystem path
321grep -Erl '(\.\./)+VTKData' Examples | xargs \
fec843e6 322 perl -pi -e 's,(\.\./)+VTKData,%{_datadir}/vtk-8.1,g'
bb64b81a
JR
323
324# Save an unbuilt copy of the Example's sources for %doc
325mkdir vtk-examples
326cp -a Examples vtk-examples
327# Don't ship Win32 examples
328%{__rm} -r vtk-examples/Examples/GUI/Win32
329find vtk-examples -type f | xargs chmod -R a-x
52d6c353
AG
330
331%build
08c4611d
JR
332export CFLAGS="%{rpmcflags} -D_UNICODE -DHAVE_UINTPTR_T"
333export CXXFLAGS="%{rpmcxxflags} -D_UNICODE -DHAVE_UINTPTR_T"
bb64b81a 334%if %{with java}
ff176195 335export JAVA_HOME=%{java_home}
2ed4fbd4
JR
336%ifarch x32
337# getting "java.lang.OutOfMemoryError: Java heap space" during the build
338export JAVA_TOOL_OPTIONS=-Xmx2048m
339%endif
bb64b81a
JR
340%endif
341
e21de9ad
ER
342# handle cmake & ccache
343# http://stackoverflow.com/questions/1815688/how-to-use-ccache-with-cmake
344# ASM fix: http://lists.busybox.net/pipermail/buildroot/2013-March/069436.html
345if [[ "%{__cc}" = *ccache* ]]; then
346 cc="%{__cc}"
347 cxx="%{__cxx}"
348 ccache="
349 -DCMAKE_C_COMPILER="ccache" -DCMAKE_C_COMPILER_ARG1="${cc#ccache }" \
350 -DCMAKE_CXX_COMPILER="ccache" -DCMAKE_CXX_COMPILER_ARG1="${cxx#ccache }" \
351 -DCMAKE_ASM_COMPILER="${cc#ccache }" \
352 "
353else
354 ccache="
355 -DCMAKE_C_COMPILER="%{__cc}" \
356 -DCMAKE_CXX_COMPILER="%{__cxx}" \
357 -DCMAKE_ASM_COMPILER="%{__cc}" \
358 "
359fi
360
df99c936 361mkdir -p build
bb64b81a 362cd build
e33b075c 363%cmake .. \
e21de9ad 364 $ccache \
9cf01b51 365 -Wno-dev \
e33b075c 366 -DBUILD_DOCUMENTATION:BOOL=ON \
ed317954 367 -DBUILD_EXAMPLES:BOOL=ON \
52d6c353 368 -DBUILD_SHARED_LIBS:BOOL=ON \
52d6c353 369 -DBUILD_TESTING:BOOL=ON \
e33b075c 370 -DCMAKE_SKIP_RPATH:BOOL=ON \
bb64b81a 371 -DOPENGL_INCLUDE_PATH:PATH=%{_includedir}/GL \
280d7190 372 -DPYTHON_INCLUDE_PATH:PATH=%{py_incdir} \
7a081b91 373 -DPYTHON_LIBRARY:FILEPATH=%{_libdir}/libpython%{py_ver}.so \
0b356dc9 374 -DPYTHON_UTIL_LIBRARY:PATH=%{_libdir}/libutil.so \
52d6c353
AG
375 -DTCL_INCLUDE_PATH:PATH=%{_includedir} \
376 -DTCL_LIBRARY:PATH=%{_libdir}/libtcl.so \
377 -DTK_INCLUDE_PATH:PATH=%{_includedir} \
378 -DTK_LIBRARY:PATH=%{_libdir}/libtk.so \
fec843e6 379 -DVTK_DATA_ROOT:PATH=%{_datadir}/vtk-8.1 \
ed317954
JR
380 -DVTK_CUSTOM_LIBRARY_SUFFIX="" \
381 -DVTK_INSTALL_ARCHIVE_DIR:PATH=%{_lib}/vtk \
382 -DVTK_INSTALL_INCLUDE_DIR:PATH=include/vtk \
383 -DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib}/vtk \
384 -DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/vtk \
385 -DVTK_INSTALL_TCL_DIR:PATH=share/tcl%{tcl_version}/vtk \
1d4198f2 386 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=%{py_sitedir} \
fec843e6 387 -DVTK_INSTALL_QT_DIR=/%{_lib}/qt5/plugins/designer \
58c51e05 388 -DVTK_FFMPEG_HAS_OLD_HEADER:BOOL=OFF \
e33b075c 389 %{?with_OSMesa:-DVTK_OPENGL_HAS_OSMESA:BOOL=ON} \
ed317954 390 -DVTK_WRAP_PYTHON:BOOL=ON \
e33b075c 391 -DVTK_PYTHON_SETUP_ARGS="--prefix=/usr --root=$RPM_BUILD_ROOT" \
bdd17b88 392 -DVTK_USE_SYSTEM_LIBRARIES:BOOL=ON \
bdd17b88 393 -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \
e33b075c 394 -DVTK_USE_RENDERING:BOOL=ON \
bf9cff64 395 -DVTK_USE_SYSTEM_HDF5:BOOL=ON \
921811aa 396 -DVTK_USE_SYSTEM_XDMF2:BOOL=OFF \
fec843e6 397 -DVTK_USE_SYSTEM_LIBHARU:BOOL=OFF \
bdd17b88 398 %{!?with_system_proj:-DVTK_USE_SYSTEM_LIBPROJ4:BOOL=OFF} \
ab87671a 399 %{!?with_system_gl2ps:-DVTK_USE_SYSTEM_GL2PS:BOOL=OFF} \
e33b075c
JB
400%if %{with java}
401 -DVTK_WRAP_JAVA:BOOL=ON \
402 -DJAVA_INCLUDE_PATH:PATH=$JAVA_HOME/include \
403 -DJAVA_INCLUDE_PATH2:PATH=$JAVA_HOME/include/linux \
404 -DJAVA_AWT_INCLUDE_PATH:PATH=$JAVA_HOME/include \
405%else
406 -DVTK_WRAP_JAVA:BOOL=OFF \
407%endif
52d6c353 408 -DVTK_WRAP_PYTHON:BOOL=ON \
e33b075c 409 %{?with_sip:-DVTK_WRAP_PYTHON_SIP:BOOL=ON} \
ed317954
JR
410 -DVTK_WRAP_TCL:BOOL=ON \
411 -DVTK_Group_Imaging:BOOL=ON \
412 -DVTK_Group_Qt:BOOL=ON \
413 -DVTK_Group_Rendering:BOOL=ON \
414 -DVTK_Group_StandAlone:BOOL=ON \
415 -DVTK_Group_Tk:BOOL=ON \
416 -DVTK_Group_Views:BOOL=ON \
58c51e05
JB
417 -DModule_vtkFiltersReebGraph:BOOL=ON \
418 -DModule_vtkFiltersStatisticsGnuR:BOOL=ON \
419 %{?with_ffmpeg:-DModule_vtkIOFFMPEG:BOOL=ON} \
420 -DModule_vtkIOGDAL:BOOL=ON \
421 -DModule_vtkIOGeoJSON:BOOL=ON \
422 -DModule_vtkIOMySQL:BOOL=ON \
423 -DModule_vtkIOODBC:BOOL=ON \
424 -DModule_vtkIOParallelExodus:BOOL=ON \
425 -DModule_vtkIOParallelLSDyna:BOOL=ON \
426 -DModule_vtkIOPostgreSQL:BOOL=ON \
427 -DModule_vtkIOVPIC:BOOL=ON \
921811aa 428 -DModule_vtkIOXdmf2:BOOL=ON \
58c51e05
JB
429 -DModule_vtkInfovisBoost:BOOL=ON \
430 -DModule_vtkInfovisBoostGraphAlgorithms:BOOL=ON \
431 -DModule_vtkRenderingFreeTypeFontConfig:BOOL=ON \
432 -DModule_vtkRenderingMatplotlib:BOOL=ON \
433 -DModule_vtkRenderingParallel:BOOL=ON
434# TODO: -DModule_vtkAcceleratorsDax:BOOL=ON (BR: FindDax.cmake, maybe http://www.daxtoolkit.org/ ?)
435# TODO: -DModule_vtkAcceleratorsPiston:BOOL=ON (on bcond, BR: CUDA)
436# TODO: -DModule_vtkFiltersParallelFlowPaths:BOOL=ON (BR: MPI)
437# TODO: -DModule_vtkFiltersParallelStatistics:BOOL=ON (BR: MPI)
58c51e05
JB
438# TODO: -DModule_vtkInfovisParallel:BOOL=ON (BR: MPI)
439# TODO: -DModule_vtkRenderingParallelLIC:BOOL=ON (BR: MPI)
52d6c353 440
52d6c353 441%{__make}
fec843e6 442%{__make} DoxygenDoc
52d6c353
AG
443
444%install
445rm -rf $RPM_BUILD_ROOT
1d4198f2 446install -d $RPM_BUILD_ROOT{%{_sysconfdir}/ld.so.conf.d,%{_examplesdir}/%{name}-%{version}}
52d6c353 447
bb64b81a 448%{__make} -C build install \
52d6c353
AG
449 DESTDIR=$RPM_BUILD_ROOT
450
bb64b81a
JR
451# ld config
452echo %{_libdir}/vtk > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf
453
1d4198f2 454for f in $(cd build/ExternalData/Testing ; find Data -type l); do
fec843e6 455 install -Dp build/ExternalData/Testing/$f $RPM_BUILD_ROOT%{_datadir}/vtk-8.1/$f
1d4198f2 456done
bb64b81a 457
bb64b81a
JR
458# Install examples
459for f in \
bb64b81a 460AmbientSpheres \
ed317954
JR
461Arrays \
462BalloonWidget \
463BandedContours \
bb64b81a
JR
464Cone \
465Cone2 \
466Cone3 \
467Cone4 \
468Cone5 \
ed317954
JR
469Cone6 \
470Cube \
471Cylinder \
472Delaunay3D \
473Delaunay3DAlpha \
474DiffuseSpheres \
475DumpXMLFile \
476FilledContours \
477FixedPointVolumeRayCastMapperCT \
478GPURenderDemo \
479Generate2DAMRDataSetWithPulse \
480Generate3DAMRDataSetWithPulse \
481GenerateCubesFromLabels \
482GenerateModelsFromLabels \
483HierarchicalBoxPipeline \
ed317954
JR
484ImageSlicing \
485LabeledMesh \
ed317954
JR
486Medical1 \
487Medical2 \
488Medical3 \
1d4198f2 489Medical4 \
ed317954
JR
490MultiBlock \
491ParticleReader \
492RGrid \
493SGrid \
1d4198f2 494SimpleView \
ed317954
JR
495Slider \
496Slider2D \
497SpecularSpheres \
ed317954
JR
498TubesWithVaryingRadiusAndColors \
499finance ; do
bb64b81a 500 install build/bin/$f $RPM_BUILD_ROOT%{_bindir}
52d6c353
AG
501done
502
bb64b81a 503# Install test binaries
ab87671a 504for f in build/bin/*Tests build/bin/Test*; do
ed317954 505 install $f $RPM_BUILD_ROOT%{_bindir}
bb64b81a 506done
52d6c353 507
98c8aeec
ER
508%if %{with java}
509install -p build/bin/VTKJavaExecutable $RPM_BUILD_ROOT%{_bindir}
510%endif
511install -p build/bin/vtkpython $RPM_BUILD_ROOT%{_bindir}
52d6c353 512
3c34ea90 513# unwanted doxygen files and misplaced verdict docs
fec843e6 514%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/vtk-*/{doxygen,verdict}
52d6c353 515
c3b50c93
JB
516# only *.pyc are built by default, add *.pyo
517%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/vtk
24d31977
JB
518%py_postclean
519
0b356dc9
AG
520%clean
521rm -rf $RPM_BUILD_ROOT
522
c8393523 523%post -p /sbin/ldconfig
52d6c353 524%postun -p /sbin/ldconfig
c8393523 525
c3b50c93
JB
526%post qt -p /sbin/ldconfig
527%postun qt -p /sbin/ldconfig
528
e33b075c
JB
529%post java -p /sbin/ldconfig
530%postun java -p /sbin/ldconfig
c8393523
JB
531
532%post python -p /sbin/ldconfig
533%postun python -p /sbin/ldconfig
534
e33b075c
JB
535%post tcl -p /sbin/ldconfig
536%postun tcl -p /sbin/ldconfig
bb64b81a 537
52d6c353 538%files
0b356dc9 539%defattr(644,root,root,755)
ec0cb404 540%doc README.md vtkLogo.jpg vtkBanner.gif Wrapping/Tools/README*
bb64b81a 541%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf
52d6c353 542%dir %{_libdir}/vtk
c3b50c93
JB
543%attr(755,root,root) %{_libdir}/vtk/libvtkChartsCore.so.1
544%attr(755,root,root) %{_libdir}/vtk/libvtkCommon*.so.1
545%attr(755,root,root) %{_libdir}/vtk/libvtkDICOMParser.so.1
ab87671a 546%attr(755,root,root) %{_libdir}/vtk/libvtkDomainsChemistryOpenGL2.so.1
c3b50c93
JB
547%attr(755,root,root) %{_libdir}/vtk/libvtkDomainsChemistry.so.1
548%attr(755,root,root) %{_libdir}/vtk/libvtkFilters*.so.1
549%attr(755,root,root) %{_libdir}/vtk/libvtkGeovisCore.so.1
c3b50c93
JB
550%attr(755,root,root) %{_libdir}/vtk/libvtkImaging*.so.1
551%attr(755,root,root) %{_libdir}/vtk/libvtkInfovis*.so.1
552%attr(755,root,root) %{_libdir}/vtk/libvtkInteraction*.so.1
ab87671a 553%attr(755,root,root) %{_libdir}/vtk/libvtkIO*.so.1
c3b50c93 554%attr(755,root,root) %{_libdir}/vtk/libvtkLocalExample.so.1
c3b50c93
JB
555%attr(755,root,root) %{_libdir}/vtk/libvtkParallelCore.so.1
556%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingAnnotation.so.1
557%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingContext2D.so.1
ab87671a 558%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingContextOpenGL2.so.1
c3b50c93 559%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingCore.so.1
58c51e05 560%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingFreeTypeFontConfig.so.1
ab87671a
JR
561%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingFreeType.so.1
562%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingGL2PSOpenGL2.so.1
c3b50c93 563%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingImage.so.1
c3b50c93 564%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingLabel.so.1
ab87671a
JR
565%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingLOD.so.1
566%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingOpenGL2.so.1
58c51e05 567%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingParallel.so.1
ab87671a 568%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingVolumeOpenGL2.so.1
c3b50c93 569%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingVolume.so.1
c3b50c93
JB
570%attr(755,root,root) %{_libdir}/vtk/libvtkTesting*.so.1
571%attr(755,root,root) %{_libdir}/vtk/libvtkViewsContext2D.so.1
572%attr(755,root,root) %{_libdir}/vtk/libvtkViewsCore.so.1
573%attr(755,root,root) %{_libdir}/vtk/libvtkViewsGeovis.so.1
574%attr(755,root,root) %{_libdir}/vtk/libvtkViewsInfovis.so.1
ab87671a 575%attr(755,root,root) %{_libdir}/vtk/libvtkVPIC.so.1
c3b50c93
JB
576%attr(755,root,root) %{_libdir}/vtk/libvtkalglib.so.1
577%attr(755,root,root) %{_libdir}/vtk/libvtkexoIIc.so.1
ab87671a
JR
578%attr(755,root,root) %{_libdir}/vtk/libvtkgl2ps.so.1
579%attr(755,root,root) %{_libdir}/vtk/libvtkglew.so.1
fec843e6 580%attr(755,root,root) %{_libdir}/vtk/libvtklibharu.so.1
c3b50c93
JB
581%attr(755,root,root) %{_libdir}/vtk/libvtkmetaio.so.1
582%attr(755,root,root) %{_libdir}/vtk/libvtkproj4.so.1
583%attr(755,root,root) %{_libdir}/vtk/libvtksqlite.so.1
584%attr(755,root,root) %{_libdir}/vtk/libvtksys.so.1
585%attr(755,root,root) %{_libdir}/vtk/libvtkverdict.so.1
921811aa 586%attr(755,root,root) %{_libdir}/vtk/libvtkxdmf2.so.1
7585f75f 587%if %{with java}
ed317954 588%exclude %{_libdir}/vtk/libvtk*Java.so.1
7585f75f 589%endif
c3b50c93
JB
590%exclude %{_libdir}/vtk/libvtk*Python2?D.so.1
591%exclude %{_libdir}/vtk/libvtkWrappingPython2?Core.so.1
ed317954 592%exclude %{_libdir}/vtk/libvtk*TCL.so.1
52d6c353
AG
593
594%files devel
0b356dc9 595%defattr(644,root,root,755)
0b356dc9 596%doc Utilities/Upgrading/*
bb64b81a 597%attr(755,root,root) %{_bindir}/vtkEncodeString
ed317954 598%attr(755,root,root) %{_bindir}/vtkHashSource
24d31977 599%attr(755,root,root) %{_bindir}/vtkWrapHierarchy
c3b50c93
JB
600%attr(755,root,root) %{_libdir}/vtk/libvtkChartsCore.so
601%attr(755,root,root) %{_libdir}/vtk/libvtkCommon*.so
602%attr(755,root,root) %{_libdir}/vtk/libvtkDICOMParser.so
ab87671a 603%attr(755,root,root) %{_libdir}/vtk/libvtkDomainsChemistryOpenGL2.so
c3b50c93
JB
604%attr(755,root,root) %{_libdir}/vtk/libvtkDomainsChemistry.so
605%attr(755,root,root) %{_libdir}/vtk/libvtkFilters*.so
606%attr(755,root,root) %{_libdir}/vtk/libvtkGeovisCore.so
c3b50c93
JB
607%attr(755,root,root) %{_libdir}/vtk/libvtkImaging*.so
608%attr(755,root,root) %{_libdir}/vtk/libvtkInfovis*.so
609%attr(755,root,root) %{_libdir}/vtk/libvtkInteraction*.so
ab87671a 610%attr(755,root,root) %{_libdir}/vtk/libvtkIO*.so
c3b50c93 611%attr(755,root,root) %{_libdir}/vtk/libvtkLocalExample.so
c3b50c93
JB
612%attr(755,root,root) %{_libdir}/vtk/libvtkParallelCore.so
613%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingAnnotation.so
614%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingContext2D.so
ab87671a 615%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingContextOpenGL2.so
c3b50c93 616%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingCore.so
58c51e05 617%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingFreeTypeFontConfig.so
ab87671a
JR
618%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingFreeType.so
619%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingGL2PSOpenGL2.so
c3b50c93 620%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingImage.so
c3b50c93 621%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingLabel.so
ab87671a
JR
622%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingLOD.so
623%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingOpenGL2.so
58c51e05 624%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingParallel.so
ab87671a 625%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingVolumeOpenGL2.so
c3b50c93 626%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingVolume.so
c3b50c93
JB
627%attr(755,root,root) %{_libdir}/vtk/libvtkTesting*.so
628%attr(755,root,root) %{_libdir}/vtk/libvtkViewsContext2D.so
629%attr(755,root,root) %{_libdir}/vtk/libvtkViewsCore.so
630%attr(755,root,root) %{_libdir}/vtk/libvtkViewsGeovis.so
631%attr(755,root,root) %{_libdir}/vtk/libvtkViewsInfovis.so
ab87671a 632%attr(755,root,root) %{_libdir}/vtk/libvtkVPIC.so
c3b50c93
JB
633%attr(755,root,root) %{_libdir}/vtk/libvtkalglib.so
634%attr(755,root,root) %{_libdir}/vtk/libvtkexoIIc.so
ab87671a
JR
635%attr(755,root,root) %{_libdir}/vtk/libvtkgl2ps.so
636%attr(755,root,root) %{_libdir}/vtk/libvtkglew.so
fec843e6 637%attr(755,root,root) %{_libdir}/vtk/libvtklibharu.so
c3b50c93
JB
638%attr(755,root,root) %{_libdir}/vtk/libvtkmetaio.so
639%attr(755,root,root) %{_libdir}/vtk/libvtkproj4.so
640%attr(755,root,root) %{_libdir}/vtk/libvtksqlite.so
641%attr(755,root,root) %{_libdir}/vtk/libvtksys.so
642%attr(755,root,root) %{_libdir}/vtk/libvtkverdict.so
921811aa 643%attr(755,root,root) %{_libdir}/vtk/libvtkxdmf2.so
7585f75f 644%if %{with java}
ed317954 645%exclude %{_libdir}/vtk/libvtk*Java.so
7585f75f 646%endif
c3b50c93
JB
647%exclude %{_libdir}/vtk/libvtk*Python2?D.so
648%exclude %{_libdir}/vtk/libvtkWrappingPython2?Core.so
ed317954 649%exclude %{_libdir}/vtk/libvtk*TCL.so
c3b50c93 650%{_libdir}/vtk/libvtkWrappingTools.a
c9112da2 651%dir %{_includedir}/vtk
58c51e05 652%{_includedir}/vtk/VPIC
ed317954
JR
653%{_includedir}/vtk/DICOM*.h
654%{_includedir}/vtk/DatabaseSchemaWith2Tables.h
c9112da2 655%{_includedir}/vtk/alglib
fec843e6
JR
656%{_includedir}/vtk/vtkgl2ps
657%{_includedir}/vtk/vtkglew
658%{_includedir}/vtk/vtkkwiml
659%{_includedir}/vtk/vtklibharu
c9112da2 660%{_includedir}/vtk/vtkmetaio
c9112da2 661%{_includedir}/vtk/vtksqlite
c9112da2 662%{_includedir}/vtk/vtksys
fec843e6 663%{_includedir}/vtk/vtkverdict
921811aa 664%{_includedir}/vtk/vtkxdmf2
c9112da2
JB
665%{_includedir}/vtk/vtk*.h
666%{_includedir}/vtk/vtk*.txx
c3b50c93
JB
667%exclude %{_includedir}/vtk/vtkEventQtSlotConnect.h
668%exclude %{_includedir}/vtk/vtkGUISupportQt*.h
7585f75f 669%if %{with java}
ed317954
JR
670%exclude %{_includedir}/vtk/vtkJavaUtil.h
671%exclude %{_includedir}/vtk/vtkWrappingJavaModule.h
7585f75f 672%endif
c9112da2 673%exclude %{_includedir}/vtk/vtkPython*.h
c3b50c93
JB
674%exclude %{_includedir}/vtk/vtkQImageToImageSource.h
675%exclude %{_includedir}/vtk/vtkQt*.h
676%exclude %{_includedir}/vtk/vtkRenderingQtModule.h
c9112da2
JB
677%exclude %{_includedir}/vtk/vtkTcl*.h
678%exclude %{_includedir}/vtk/vtkTk*.h
c3b50c93 679%exclude %{_includedir}/vtk/vtkViewsQtModule.h
ed317954 680%{_libdir}/cmake/vtk
52d6c353 681
e33b075c
JB
682%files qt
683%defattr(644,root,root,755)
c3b50c93 684%attr(755,root,root) %{_libdir}/vtk/libvtkGUISupportQt.so.1
c3b50c93 685%attr(755,root,root) %{_libdir}/vtk/libvtkGUISupportQtSQL.so.1
c3b50c93
JB
686%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingQt.so.1
687%attr(755,root,root) %{_libdir}/vtk/libvtkViewsQt.so.1
fec843e6 688%attr(755,root,root) %{_libdir}/qt5/plugins/designer/libQVTKWidgetPlugin.so
e33b075c 689
c3b50c93
JB
690%files qt-devel
691%defattr(644,root,root,755)
692%attr(755,root,root) %{_libdir}/vtk/libvtkGUISupportQt.so
c3b50c93 693%attr(755,root,root) %{_libdir}/vtk/libvtkGUISupportQtSQL.so
c3b50c93
JB
694%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingQt.so
695%attr(755,root,root) %{_libdir}/vtk/libvtkViewsQt.so
696%{_includedir}/vtk/QFilterTreeProxyModel.h
697%{_includedir}/vtk/QVTK*.h
698%{_includedir}/vtk/vtkEventQtSlotConnect.h
699%{_includedir}/vtk/vtkGUISupportQt*.h
700%{_includedir}/vtk/vtkQImageToImageSource.h
701%{_includedir}/vtk/vtkQt*.h
702%{_includedir}/vtk/vtkRenderingQtModule.h
703%{_includedir}/vtk/vtkViewsQtModule.h
704
c9112da2
JB
705%if %{with java}
706%files java
0b356dc9 707%defattr(644,root,root,755)
ed317954 708%attr(755,root,root) %{_bindir}/VTKJavaExecutable
c9112da2
JB
709%attr(755,root,root) %{_bindir}/vtkParseJava
710%attr(755,root,root) %{_bindir}/vtkWrapJava
c3b50c93
JB
711# common library
712%attr(755,root,root) %{_libdir}/vtk/libvtkWrappingJava.so.1
713# java modules
714%attr(755,root,root) %{_libdir}/vtk/libvtkChartsCoreJava.so
715%attr(755,root,root) %{_libdir}/vtk/libvtkCommon*Java.so
716%attr(755,root,root) %{_libdir}/vtk/libvtkDomainsChemistryJava.so
ab87671a 717%attr(755,root,root) %{_libdir}/vtk/libvtkDomainsChemistryOpenGL2Java.so
c3b50c93
JB
718%attr(755,root,root) %{_libdir}/vtk/libvtkFilters*Java.so
719%attr(755,root,root) %{_libdir}/vtk/libvtkGeovisCoreJava.so
720%attr(755,root,root) %{_libdir}/vtk/libvtkIO*Java.so
721%attr(755,root,root) %{_libdir}/vtk/libvtkImaging*Java.so
722%attr(755,root,root) %{_libdir}/vtk/libvtkInfovis*Java.so
723%attr(755,root,root) %{_libdir}/vtk/libvtkInteraction*Java.so
724%attr(755,root,root) %{_libdir}/vtk/libvtkLocalExampleJava.so
725%attr(755,root,root) %{_libdir}/vtk/libvtkParallelCoreJava.so
58c51e05 726%attr(755,root,root) %{_libdir}/vtk/libvtkPythonInterpreterJava.so
c3b50c93
JB
727%attr(755,root,root) %{_libdir}/vtk/libvtkRendering*Java.so
728%attr(755,root,root) %{_libdir}/vtk/libvtkTestingRenderingJava.so
729%attr(755,root,root) %{_libdir}/vtk/libvtkViews*Java.so
ed317954 730%{_libdir}/vtk/vtk.jar
c9112da2
JB
731
732%files java-devel
733%defattr(644,root,root,755)
c3b50c93 734%attr(755,root,root) %{_libdir}/vtk/libvtkWrappingJava.so
ed317954
JR
735%{_includedir}/vtk/vtkJavaUtil.h
736%{_includedir}/vtk/vtkWrappingJavaModule.h
c9112da2 737%endif
52d6c353
AG
738
739%files python
0b356dc9 740%defattr(644,root,root,755)
ed317954 741%doc Wrapping/Python/README*
0b356dc9 742%attr(755,root,root) %{_bindir}/vtkWrapPython
bb64b81a 743%attr(755,root,root) %{_bindir}/vtkWrapPythonInit
0b356dc9 744%attr(755,root,root) %{_bindir}/vtkpython
c3b50c93 745%attr(755,root,root) %{_libdir}/vtk/libvtk*Python2?D.so.1
58c51e05
JB
746%attr(755,root,root) %{_libdir}/vtk/libvtkPythonInterpreter.so.1
747# RenderingMatplotlib requires PythonInterpreter
748%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingMatplotlib.so.1
fec843e6 749%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingPythonTkWidgets-8.1.so
c3b50c93 750%attr(755,root,root) %{_libdir}/vtk/libvtkWrappingPython2?Core.so.1
bb64b81a 751%dir %{py_sitedir}/vtk
24d31977 752%{py_sitedir}/vtk/*.py[co]
bb64b81a 753%dir %{py_sitedir}/vtk/gtk
24d31977 754%{py_sitedir}/vtk/gtk/*.py[co]
911add35
JB
755%dir %{py_sitedir}/vtk/numpy_interface
756%{py_sitedir}/vtk/numpy_interface/*.py[co]
ab87671a
JR
757%dir %{py_sitedir}/vtk/qt
758%{py_sitedir}/vtk/qt/*.py[co]
bb64b81a 759%dir %{py_sitedir}/vtk/qt4
ed317954 760%{py_sitedir}/vtk/qt4/*.py[co]
bb64b81a 761%dir %{py_sitedir}/vtk/test
24d31977 762%{py_sitedir}/vtk/test/*.py[co]
bb64b81a 763%dir %{py_sitedir}/vtk/tk
24d31977 764%{py_sitedir}/vtk/tk/*.py[co]
bb64b81a 765%dir %{py_sitedir}/vtk/util
24d31977 766%{py_sitedir}/vtk/util/*.py[co]
bb64b81a 767%dir %{py_sitedir}/vtk/wx
24d31977 768%{py_sitedir}/vtk/wx/*.py[co]
ed317954 769%attr(755,root,root) %{py_sitedir}/vtk/vtk*Python.so
52d6c353 770
c9112da2 771%files python-devel
0b356dc9 772%defattr(644,root,root,755)
c3b50c93 773%attr(755,root,root) %{_libdir}/vtk/libvtk*Python2?D.so
58c51e05
JB
774%attr(755,root,root) %{_libdir}/vtk/libvtkPythonInterpreter.so
775%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingMatplotlib.so
c3b50c93 776%attr(755,root,root) %{_libdir}/vtk/libvtkWrappingPython2?Core.so
c9112da2
JB
777%{_includedir}/vtk/PyVTK*.h
778%{_includedir}/vtk/vtkPython*.h
52d6c353 779
c9112da2
JB
780%files tcl
781%defattr(644,root,root,755)
ed317954 782%doc Wrapping/Tcl/README*
c9112da2
JB
783%attr(755,root,root) %{_bindir}/vtkWrapTcl
784%attr(755,root,root) %{_bindir}/vtkWrapTclInit
785%attr(755,root,root) %{_bindir}/vtk
3c0e51b3 786%{_datadir}/tcl%{tcl_version}/vtk
ed317954 787%attr(755,root,root) %{_libdir}/vtk/libvtk*TCL.so.1
c9112da2
JB
788
789%files tcl-devel
790%defattr(644,root,root,755)
ed317954 791%attr(755,root,root) %{_libdir}/vtk/libvtk*TCL.so
c9112da2
JB
792%{_includedir}/vtk/vtkTcl*.h
793%{_includedir}/vtk/vtkTk*.h
794
bb64b81a
JR
795%files test-suite
796%defattr(644,root,root,755)
ed317954
JR
797%attr(755,root,root) %{_bindir}/*Tests
798%attr(755,root,root) %{_bindir}/Test*
bb64b81a 799
52d6c353 800%files examples
0b356dc9 801%defattr(644,root,root,755)
bb64b81a 802%attr(755,root,root) %{_bindir}/AmbientSpheres
24d31977 803%attr(755,root,root) %{_bindir}/Arrays
bb64b81a
JR
804%attr(755,root,root) %{_bindir}/Cone
805%attr(755,root,root) %{_bindir}/Cone2
806%attr(755,root,root) %{_bindir}/Cone3
807%attr(755,root,root) %{_bindir}/Cone4
808%attr(755,root,root) %{_bindir}/Cone5
809%attr(755,root,root) %{_bindir}/Cone6
24d31977
JB
810%attr(755,root,root) %{_bindir}/Cube
811%attr(755,root,root) %{_bindir}/Cylinder
812%attr(755,root,root) %{_bindir}/DiffuseSpheres
813%attr(755,root,root) %{_bindir}/HierarchicalBoxPipeline
814%attr(755,root,root) %{_bindir}/Medical1
815%attr(755,root,root) %{_bindir}/Medical2
816%attr(755,root,root) %{_bindir}/Medical3
1d4198f2 817%attr(755,root,root) %{_bindir}/Medical4
24d31977
JB
818%attr(755,root,root) %{_bindir}/MultiBlock
819%attr(755,root,root) %{_bindir}/RGrid
820%attr(755,root,root) %{_bindir}/SGrid
1d4198f2 821%attr(755,root,root) %{_bindir}/SimpleView
24d31977
JB
822%attr(755,root,root) %{_bindir}/SpecularSpheres
823%attr(755,root,root) %{_bindir}/finance
ed317954
JR
824%attr(755,root,root) %{_bindir}/BalloonWidget
825%attr(755,root,root) %{_bindir}/BandedContours
826%attr(755,root,root) %{_bindir}/Delaunay3D
827%attr(755,root,root) %{_bindir}/Delaunay3DAlpha
828%attr(755,root,root) %{_bindir}/DumpXMLFile
829%attr(755,root,root) %{_bindir}/FilledContours
830%attr(755,root,root) %{_bindir}/FixedPointVolumeRayCastMapperCT
831%attr(755,root,root) %{_bindir}/GPURenderDemo
832%attr(755,root,root) %{_bindir}/Generate2DAMRDataSetWithPulse
833%attr(755,root,root) %{_bindir}/Generate3DAMRDataSetWithPulse
834%attr(755,root,root) %{_bindir}/GenerateCubesFromLabels
835%attr(755,root,root) %{_bindir}/GenerateModelsFromLabels
ed317954
JR
836%attr(755,root,root) %{_bindir}/ImageSlicing
837%attr(755,root,root) %{_bindir}/LabeledMesh
ed317954
JR
838%attr(755,root,root) %{_bindir}/ParticleReader
839%attr(755,root,root) %{_bindir}/Slider
840%attr(755,root,root) %{_bindir}/Slider2D
ed317954 841%attr(755,root,root) %{_bindir}/TubesWithVaryingRadiusAndColors
bb64b81a 842%{_examplesdir}/%{name}-%{version}
52d6c353
AG
843
844%files data
0b356dc9 845%defattr(644,root,root,755)
fec843e6
JR
846%dir %{_datadir}/vtk-8.1
847%{_datadir}/vtk-8.1/Data
This page took 0.517415 seconds and 4 git commands to generate.