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