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