]>
Commit | Line | Data |
---|---|---|
b4f8e64d JR |
1 | # |
2 | # TODO: package lib*(Python|Tk|Java|TCL).so somewhere? | |
3 | # | |
4 | ||
e3358d84 | 5 | # Conditional build |
bb64b81a JR |
6 | %bcond_without java # build without Java support |
7 | %bcond_with OSMesa # build with OSMesa (https://bugzilla.redhat.com/show_bug.cgi?id=744434) | |
52d6c353 | 8 | # |
3b8bf081 | 9 | Summary: Toolkit for 3D computer graphics, image processing, and visualization |
06b6c677 | 10 | Summary(pl.UTF-8): Zestaw narzędzi do trójwymiarowej grafiki, przetwarzania obrazu i wizualizacji |
3b8bf081 | 11 | Name: vtk |
bb64b81a | 12 | Version: 5.10.1 |
b4f8e64d | 13 | Release: 1 |
3b8bf081 | 14 | License: BSD |
0b356dc9 | 15 | Group: Libraries |
bb64b81a JR |
16 | Source0: http://www.vtk.org/files/release/5.10/%{name}-%{version}.tar.gz |
17 | # Source0-md5: 264b0052e65bd6571a84727113508789 | |
18 | Source1: http://www.vtk.org/files/release/5.10/%{name}data-%{version}.tar.gz | |
19 | # Source1-md5: b6355063264cd56bcd1396c92f6ca59a | |
20 | Patch0: vtk-system-libs.patch | |
21 | Patch1: vtk-vtkNetCDF_cxx-soname.patch | |
22 | Patch2: vtk-vtknetcdf-lm.patch | |
280d7190 | 23 | URL: http://www.vtk.org/ |
bb64b81a JR |
24 | %{?with_OSMesa:BuildRequires: Mesa-libOSMesa-devel} |
25 | BuildRequires: OpenGL-devel | |
26 | BuildRequires: QtWebKit-devel | |
27 | BuildRequires: boost-devel | |
0b356dc9 | 28 | BuildRequires: cmake |
c8393523 | 29 | BuildRequires: doxygen |
bb64b81a JR |
30 | BuildRequires: expat-devel |
31 | BuildRequires: freetype-devel | |
32 | BuildRequires: gl2ps-devel | |
33 | BuildRequires: gnuplot | |
34 | BuildRequires: graphviz | |
35 | BuildRequires: hdf5-devel | |
ff176195 JR |
36 | %if %{with java} |
37 | BuildRequires: jdk | |
38 | BuildRequires: jpackage-utils | |
39 | %endif | |
bb64b81a JR |
40 | BuildRequires: libjpeg-devel |
41 | BuildRequires: libpng-devel | |
42 | BuildRequires: libtheora-devel | |
43 | BuildRequires: libtiff-devel | |
44 | BuildRequires: libxml2-devel | |
45 | BuildRequires: mysql-devel | |
46 | BuildRequires: openmotif-devel | |
47 | BuildRequires: postgresql-devel | |
0b356dc9 | 48 | BuildRequires: python-devel |
bb64b81a JR |
49 | BuildRequires: qt4-build |
50 | BuildRequires: tcl-devel | |
51 | BuildRequires: tk-devel | |
52 | BuildRequires: wget | |
53 | BuildRequires: xorg-lib-libICE-devel | |
54 | BuildRequires: xorg-lib-libX11-devel | |
55 | BuildRequires: xorg-lib-libXext-devel | |
56 | BuildRequires: xorg-lib-libXt-devel | |
57 | BuildRequires: zlib-devel | |
0b356dc9 | 58 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52d6c353 | 59 | |
bb64b81a JR |
60 | %define skip_post_check_so lib.*Python.*\.so.* |
61 | ||
52d6c353 | 62 | %description |
3b8bf081 | 63 | The Visualization ToolKit (VTK) is an object oriented software system |
64 | for 3D computer graphics, image processing, and visualization. VTK | |
65 | includes a textbook, a C++ class library, and several interpreted | |
66 | interface layers including Tcl/Tk, Java, and Python. VTK supports a | |
67 | wide variety of visualization algorithms including scalar, vector, | |
68 | tensor, texture, and volumetric methods. It also supports advanced | |
69 | modeling techniques like implicit modeling, polygon reduction, mesh | |
0b356dc9 | 70 | smoothing, cutting, contouring, and Delaunay triangulation. Moreover, |
3b8bf081 | 71 | dozens of imaging algorithms have been integrated into the system. |
72 | This allows mixing 2D imaging / 3D graphics algorithms and data. | |
73 | ||
aec3ea31 | 74 | NOTE: The Java wrapper is not included by default. You may rebuild |
3b8bf081 | 75 | the srpm using "--with java" with JDK installed. |
76 | ||
77 | NOTE: All patented routines which are part of the package have been | |
78 | removed in this version. | |
52d6c353 | 79 | |
eb1fe26e | 80 | %description -l pl.UTF-8 |
c8393523 | 81 | Visualization TookKit (VTK) to obiektowo zorientowany system |
eb1fe26e JR |
82 | oprogramowania do trójwymiarowej grafiki komputerowej, przetwarzania |
83 | obrazu i wizualizacji. VTK zawiera książkę, bibliotekę klas C++ oraz | |
84 | kilka interpretowanych warstw interfejsów, w tym dla Tcl/Tk, Javy i | |
85 | Pythona. VTK obsługuje szeroki zakres algorytmów wizualizacji, w tym | |
c8393523 | 86 | metody skalarne, wektorowe, tensorowe, teksturowe i wolumetryczne. |
eb1fe26e JR |
87 | Obsługuje także zaawansowane techniki modelowania, takie jak |
88 | modelowanie implicite, redukcja wielokątów, wygładzanie siatki, | |
89 | przycinanie, konturowanie i triangulacja Delaunaya. Co więcej, wiele | |
90 | algorytmów obrazowania zostało zintegrowanych z systemem. Pozwala to | |
91 | na mieszanie algorytmów obrazowania 2D i grafiki 3D. | |
c8393523 | 92 | |
eb1fe26e JR |
93 | UWAGA: wrapper Javy nie został włączony domyślnie. Można przebudować |
94 | srpm-a z opcją "--with java" przy zainstalowanym JDK. | |
c8393523 | 95 | |
eb1fe26e JR |
96 | UWAGA: wszystkie opatentowane procedury będące częścią tego pakietu |
97 | zostały usunięte w tej wersji. | |
c8393523 | 98 | |
52d6c353 | 99 | %package devel |
3b8bf081 | 100 | Summary: VTK header files for building C++ code |
06b6c677 | 101 | Summary(pl.UTF-8): Pliki nagłówkowe VTK dla C++ |
0b356dc9 | 102 | Group: Development |
c8393523 | 103 | Requires: %{name} = %{version}-%{release} |
52d6c353 | 104 | |
0b356dc9 AG |
105 | %description devel |
106 | This provides the VTK header files required to compile C++ programs | |
107 | that use VTK to do 3D visualisation. | |
52d6c353 | 108 | |
eb1fe26e JR |
109 | %description devel -l pl.UTF-8 |
110 | Ten pakiet dostarcza pliki nagłówkowe VTK do kompilowania programów | |
111 | C++ używających VTK do wizualizacji 3D. | |
c8393523 | 112 | |
52d6c353 | 113 | %package tcl |
3b8bf081 | 114 | Summary: Tcl bindings for VTK |
52118dd8 | 115 | Summary(pl.UTF-8): Wiązania Tcl do VTK |
0b356dc9 | 116 | Group: Libraries |
c8393523 | 117 | Requires: %{name} = %{version}-%{release} |
52d6c353 AG |
118 | |
119 | %description tcl | |
c8393523 | 120 | This package contains Tcl bindings for VTK. |
52d6c353 | 121 | |
eb1fe26e | 122 | %description tcl -l pl.UTF-8 |
52118dd8 | 123 | Ten pakiet zawiera wiązania Tcl do VTK. |
52d6c353 AG |
124 | |
125 | %package python | |
3b8bf081 | 126 | Summary: Python bindings for VTK |
52118dd8 | 127 | Summary(pl.UTF-8): Wiązania Pythona do VTK |
0b356dc9 | 128 | Group: Libraries |
c8393523 | 129 | Requires: %{name} = %{version}-%{release} |
52d6c353 | 130 | |
0b356dc9 | 131 | %description python |
c8393523 | 132 | This package contains Python bindings for VTK. |
52d6c353 | 133 | |
eb1fe26e | 134 | %description python -l pl.UTF-8 |
52118dd8 | 135 | Ten pakiet zawiera wiązania Pythona do VTK. |
52d6c353 | 136 | |
52d6c353 | 137 | %package java |
3b8bf081 | 138 | Summary: Java bindings for VTK |
52118dd8 | 139 | Summary(pl.UTF-8): Wiązania Javy do VTK |
0b356dc9 | 140 | Group: Development/Languages/Java |
c8393523 | 141 | Requires: %{name} = %{version}-%{release} |
52d6c353 AG |
142 | |
143 | %description java | |
c8393523 | 144 | This package contains Java bindings for VTK. |
52d6c353 | 145 | |
eb1fe26e | 146 | %description java -l pl.UTF-8 |
52118dd8 | 147 | Ten pakiet zawiera wiązania Javy do VTK. |
52d6c353 | 148 | |
bb64b81a JR |
149 | %package qt |
150 | Summary: Qt bindings for VTK | |
52118dd8 | 151 | Summary(pl.UTF-8): Wiązania Qt do VTK |
bb64b81a JR |
152 | Requires: vtk = %{version}-%{release} |
153 | Group: System Environment/Libraries | |
154 | ||
155 | %description qt | |
52118dd8 JB |
156 | This package contains Qt bindings for VTK. |
157 | ||
158 | %description qt -l pl.UTF-8 | |
159 | Ten pakiet zawiera wiązania Qt do VTK. | |
bb64b81a | 160 | |
52d6c353 | 161 | %package examples |
3b8bf081 | 162 | Summary: C++, Tcl and Python example programs/scripts for VTK |
06b6c677 | 163 | Summary(pl.UTF-8): Przykładowe programy/skrypty w C++, Tcl-u i Pythonie dla VTK |
0b356dc9 | 164 | Group: Development/Libraries |
c8393523 JB |
165 | Requires: %{name} = %{version}-%{release} |
166 | Requires: %{name}-data = %{version}-%{release} | |
52d6c353 AG |
167 | |
168 | %description examples | |
0b356dc9 AG |
169 | This package contains all the examples from the VTK source. To compile |
170 | the C++ examples you will need to install the vtk-devel package as | |
171 | well. The Python and Tcl examples can be run with the corresponding | |
172 | packages (vtk-python, vtk-tcl). | |
52d6c353 | 173 | |
eb1fe26e JR |
174 | %description examples -l pl.UTF-8 |
175 | Ten pakiet zawiera wszystkie przykłady ze źródeł VTK. Do skompilowania | |
176 | przykładów w C++ trzeba doinstalować pakiet vtk-devel. Przykłady w | |
177 | Pythonie i Tcl-u można uruchamiać przy użyciu odpowiednich pakietów | |
c8393523 JB |
178 | (vtk-python, vtk-tcl). |
179 | ||
52d6c353 | 180 | %package test-suite |
3b8bf081 | 181 | Summary: Test programs for VTK |
06b6c677 | 182 | Summary(pl.UTF-8): Programy testowe dla VTK |
0b356dc9 | 183 | Group: Development/Libraries |
c8393523 JB |
184 | Requires: %{name} = %{version}-%{release} |
185 | Requires: %{name}-data = %{version}-%{release} | |
52d6c353 AG |
186 | |
187 | %description test-suite | |
3b8bf081 | 188 | This package contains all testing programs from the VTK source. The |
189 | source code of these programs can be found in the vtk-examples | |
190 | package. | |
52d6c353 | 191 | |
eb1fe26e JR |
192 | %description test-suite -l pl.UTF-8 |
193 | Ten pakiet zawiera wszystkie programy testowe ze źródeł VTK. Kod | |
194 | źródłowy tych programów można znaleźć w pakiecie vtk-examples. | |
c8393523 | 195 | |
52d6c353 | 196 | %package data |
3b8bf081 | 197 | Summary: Data files for VTK |
06b6c677 | 198 | Summary(pl.UTF-8): Pliki danych dla VTK |
3b8bf081 | 199 | Group: Development/Libraries |
f421933b | 200 | %if "%{_rpmversion}" >= "5" |
11477b92 | 201 | BuildArch: noarch |
f421933b | 202 | %endif |
52d6c353 | 203 | |
0b356dc9 | 204 | %description data |
3b8bf081 | 205 | This package contains all the data from the VTKData repository. These |
c8393523 JB |
206 | data are required to run various examples from the vtk-examples |
207 | package. | |
208 | ||
eb1fe26e JR |
209 | %description data -l pl.UTF-8 |
210 | Ten pakiet zawiera wszystkie dane z repozytorium VTKData. Dane te są | |
211 | potrzebne do uruchamiania różnych przykładów z pakietu vtk-examples. | |
52d6c353 AG |
212 | |
213 | %prep | |
bb64b81a JR |
214 | %setup -q -n VTK%{version} -a 1 |
215 | %patch0 -p1 | |
216 | %patch1 -p1 | |
217 | %patch2 -p1 | |
218 | ||
219 | # Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version} | |
220 | # otherwise it will break on symlinks. | |
221 | grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs \ | |
222 | perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/vtkdata-%{version},g' | |
223 | ||
224 | # Save an unbuilt copy of the Example's sources for %doc | |
225 | mkdir vtk-examples | |
226 | cp -a Examples vtk-examples | |
227 | # Don't ship Win32 examples | |
228 | %{__rm} -r vtk-examples/Examples/GUI/Win32 | |
229 | find vtk-examples -type f | xargs chmod -R a-x | |
52d6c353 AG |
230 | |
231 | %build | |
bb64b81a JR |
232 | export CFLAGS="%{optflags} -D_UNICODE" |
233 | export CXXFLAGS="%{optflags} -D_UNICODE" | |
234 | %if %{with java} | |
ff176195 | 235 | export JAVA_HOME=%{java_home} |
bb64b81a JR |
236 | %endif |
237 | ||
238 | mkdir build | |
239 | cd build | |
240 | %{cmake} .. \ | |
52d6c353 | 241 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
bb64b81a JR |
242 | -DVTK_INSTALL_INCLUDE_DIR:PATH=/include/vtk \ |
243 | -DVTK_INSTALL_LIB_DIR:PATH=/%{_lib}/vtk \ | |
244 | -DVTK_INSTALL_QT_DIR=/%{_lib}/qt4/plugins/designer \ | |
52d6c353 AG |
245 | -DCMAKE_SKIP_RPATH:BOOL=ON \ |
246 | -DBUILD_EXAMPLES:BOOL=ON \ | |
247 | -DBUILD_SHARED_LIBS:BOOL=ON \ | |
248 | -DBUILD_DOCUMENTATION:BOOL=ON \ | |
249 | -DBUILD_TESTING:BOOL=ON \ | |
bb64b81a JR |
250 | %if %{with OSMesa} |
251 | -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ | |
252 | %endif | |
280d7190 | 253 | %if %{with java} |
bb64b81a | 254 | -DVTK_WRAP_JAVA:BOOL=ON \ |
280d7190 JB |
255 | -DJAVA_INCLUDE_PATH:PATH=$JAVA_HOME/include \ |
256 | -DJAVA_INCLUDE_PATH2:PATH=$JAVA_HOME/include/linux \ | |
bb64b81a JR |
257 | -DJAVA_AWT_INCLUDE_PATH:PATH=$JAVA_HOME/include \ |
258 | %else | |
259 | -DVTK_WRAP_JAVA:BOOL=OFF \ | |
280d7190 | 260 | %endif |
bb64b81a | 261 | -DOPENGL_INCLUDE_PATH:PATH=%{_includedir}/GL \ |
280d7190 | 262 | -DPYTHON_INCLUDE_PATH:PATH=%{py_incdir} \ |
7a081b91 | 263 | -DPYTHON_LIBRARY:FILEPATH=%{_libdir}/libpython%{py_ver}.so \ |
0b356dc9 | 264 | -DPYTHON_UTIL_LIBRARY:PATH=%{_libdir}/libutil.so \ |
52d6c353 AG |
265 | -DTCL_INCLUDE_PATH:PATH=%{_includedir} \ |
266 | -DTCL_LIBRARY:PATH=%{_libdir}/libtcl.so \ | |
267 | -DTK_INCLUDE_PATH:PATH=%{_includedir} \ | |
268 | -DTK_LIBRARY:PATH=%{_libdir}/libtk.so \ | |
269 | -DVTK_DATA_ROOT:PATH=%{_datadir}/vtk \ | |
bb64b81a JR |
270 | -DVTK_USE_SYSTEM_LIBRARIES=ON \ |
271 | -DVTK_USE_BOOST:BOOL=ON \ | |
272 | -DVTK_USE_GL2PS:BOOL=ON \ | |
273 | -DVTK_USE_GUISUPPORT:BOOL=ON \ | |
274 | -DVTK_USE_MYSQL=ON \ | |
275 | -DVTK_USE_OGGTHEORA_ENCODER=ON \ | |
276 | -DVTK_USE_POSTGRES=ON \ | |
277 | -DVTK_USE_SYSTEM_LIBPROJ4=OFF \ | |
278 | -DVTK_USE_QVTK=ON \ | |
279 | -DVTK_USE_QT=ON \ | |
52d6c353 AG |
280 | -DVTK_USE_HYBRID:BOOL=ON \ |
281 | -DVTK_USE_PARALLEL:BOOL=ON \ | |
282 | -DVTK_USE_PATENTED:BOOL=off \ | |
283 | -DVTK_USE_RENDERING:BOOL=ON \ | |
280d7190 | 284 | -DVTK_WRAP_JAVA:BOOL=%{?with_java:ON}%{!?with_java:OFF} \ |
bb64b81a | 285 | -DVTK_PYTHON_SETUP_ARGS="--prefix=/usr --root=$RPM_BUILD_ROOT" \ |
52d6c353 AG |
286 | -DVTK_WRAP_PYTHON:BOOL=ON \ |
287 | -DVTK_WRAP_TCL:BOOL=ON \ | |
288 | -DBUILD_SHARED_LIBS:BOOL=ON \ | |
289 | -DCMAKE_CXX_COMPILER:PATH="%{__cxx}" \ | |
290 | -DCMAKE_C_COMPILER:PATH="%{__cc}" \ | |
291 | -DCMAKE_LINKER_FLAGS:STRING="%{rpmldflags}" \ | |
280d7190 | 292 | -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON |
52d6c353 | 293 | |
52d6c353 AG |
294 | %{__make} |
295 | ||
296 | %install | |
297 | rm -rf $RPM_BUILD_ROOT | |
bb64b81a JR |
298 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/ld.so.conf.d,%{_examplesdir}/%{name}-%{version},%{_datadir}/vtk-data} \ |
299 | $RPM_BUILD_ROOT%{py_sitedir} | |
52d6c353 | 300 | |
bb64b81a | 301 | %{__make} -C build install \ |
52d6c353 AG |
302 | DESTDIR=$RPM_BUILD_ROOT |
303 | ||
bb64b81a JR |
304 | # ld config |
305 | echo %{_libdir}/vtk > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf | |
306 | ||
307 | # fix python install path | |
308 | mv $RPM_BUILD_ROOT%{py_sitescriptdir}/* $RPM_BUILD_ROOT%{py_sitedir} | |
309 | ||
310 | cp -a VTKData%{version}/* $RPM_BUILD_ROOT%{_datadir}/vtk-data | |
311 | cp -a vtk-examples/Examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
312 | ||
313 | # Install utilities | |
314 | install build/bin/lproj $RPM_BUILD_ROOT%{_bindir} | |
315 | ||
316 | # Install examples | |
317 | for f in \ | |
318 | HierarchicalBoxPipeline \ | |
319 | MultiBlock \ | |
320 | Arrays \ | |
321 | Cube \ | |
322 | RGrid \ | |
323 | SGrid \ | |
324 | Medical1 \ | |
325 | Medical2 \ | |
326 | Medical3 \ | |
327 | finance \ | |
328 | AmbientSpheres \ | |
329 | Cylinder \ | |
330 | DiffuseSpheres \ | |
331 | SpecularSpheres \ | |
332 | Cone \ | |
333 | Cone2 \ | |
334 | Cone3 \ | |
335 | Cone4 \ | |
336 | Cone5 \ | |
337 | Cone6 ; do | |
338 | install build/bin/$f $RPM_BUILD_ROOT%{_bindir} | |
52d6c353 AG |
339 | done |
340 | ||
bb64b81a JR |
341 | # Install test binaries |
342 | for f in \ | |
343 | CommonCxxTests \ | |
344 | TestCxxFeatures \ | |
345 | TestInstantiator \ | |
346 | FilteringCxxTests \ | |
347 | GraphicsCxxTests \ | |
348 | GenericFilteringCxxTests \ | |
349 | ImagingCxxTests \ | |
350 | IOCxxTests \ | |
351 | RenderingCxxTests \ | |
352 | VTKBenchMark \ | |
353 | VolumeRenderingCxxTests \ | |
354 | WidgetsCxxTests \ | |
355 | SocketClient \ | |
356 | SocketServer ; do | |
357 | install build/bin/$f $RPM_BUILD_ROOT%{_bindir} | |
358 | done | |
52d6c353 | 359 | |
bb64b81a JR |
360 | # Add exec bits to shared libs ... |
361 | #chmod 0755 %{buildroot}%{_libdir}/python*/site-packages/vtk/*.so | |
52d6c353 | 362 | |
bb64b81a JR |
363 | # Verdict places the docs in the false folder |
364 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/vtk/doc | |
52d6c353 | 365 | |
0b356dc9 AG |
366 | %clean |
367 | rm -rf $RPM_BUILD_ROOT | |
368 | ||
c8393523 | 369 | %post -p /sbin/ldconfig |
52d6c353 | 370 | %postun -p /sbin/ldconfig |
c8393523 JB |
371 | |
372 | %post tcl -p /sbin/ldconfig | |
373 | %postun tcl -p /sbin/ldconfig | |
374 | ||
375 | %post python -p /sbin/ldconfig | |
376 | %postun python -p /sbin/ldconfig | |
377 | ||
378 | %post java -p /sbin/ldconfig | |
379 | %postun java -p /sbin/ldconfig | |
52d6c353 | 380 | |
bb64b81a JR |
381 | %post qt -p /sbin/ldconfig |
382 | %postun qt -p /sbin/ldconfig | |
383 | ||
52d6c353 | 384 | %files |
0b356dc9 | 385 | %defattr(644,root,root,755) |
bb64b81a JR |
386 | %doc README.html vtkLogo.jpg vtkBanner.gif Wrapping/*/README* |
387 | %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf | |
52d6c353 | 388 | %dir %{_libdir}/vtk |
bb64b81a JR |
389 | %attr(755,root,root) %ghost %{_libdir}/vtk/libCosmo.so.5.10 |
390 | %attr(755,root,root) %{_libdir}/vtk/libCosmo.so.*.*.* | |
391 | %attr(755,root,root) %ghost %{_libdir}/vtk/libLSDyna.so.5.10 | |
392 | %attr(755,root,root) %{_libdir}/vtk/libLSDyna.so.*.*.* | |
393 | %attr(755,root,root) %ghost %{_libdir}/vtk/libMapReduceMPI.so.5.10 | |
394 | %attr(755,root,root) %{_libdir}/vtk/libMapReduceMPI.so.*.*.* | |
395 | %attr(755,root,root) %ghost %{_libdir}/vtk/libmpistubs.so.5.10 | |
396 | %attr(755,root,root) %{_libdir}/vtk/libmpistubs.so.*.*.* | |
397 | %attr(755,root,root) %ghost %{_libdir}/vtk/libVPIC.so.5.10 | |
398 | %attr(755,root,root) %{_libdir}/vtk/libVPIC.so.*.*.* | |
399 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkalglib.so.5.10 | |
400 | %attr(755,root,root) %{_libdir}/vtk/libvtkalglib.so.*.*.* | |
401 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkCharts.so.5.10 | |
402 | %attr(755,root,root) %{_libdir}/vtk/libvtkCharts.so.*.*.* | |
403 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkCommon.so.5.10 | |
404 | %attr(755,root,root) %{_libdir}/vtk/libvtkCommon.so.*.*.* | |
405 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkDICOMParser.so.5.10 | |
406 | %attr(755,root,root) %{_libdir}/vtk/libvtkDICOMParser.so.*.*.* | |
407 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkexoIIc.so.5.10 | |
408 | %attr(755,root,root) %{_libdir}/vtk/libvtkexoIIc.so.*.*.* | |
409 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkFiltering.so.5.10 | |
410 | %attr(755,root,root) %{_libdir}/vtk/libvtkFiltering.so.*.*.* | |
411 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkftgl.so.5.10 | |
412 | %attr(755,root,root) %{_libdir}/vtk/libvtkftgl.so.*.*.* | |
413 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkGenericFiltering.so.5.10 | |
414 | %attr(755,root,root) %{_libdir}/vtk/libvtkGenericFiltering.so.*.*.* | |
415 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkGeovis.so.5.10 | |
416 | %attr(755,root,root) %{_libdir}/vtk/libvtkGeovis.so.*.*.* | |
417 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkGraphics.so.5.10 | |
418 | %attr(755,root,root) %{_libdir}/vtk/libvtkGraphics.so.*.*.* | |
419 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkHybrid.so.5.10 | |
420 | %attr(755,root,root) %{_libdir}/vtk/libvtkHybrid.so.*.*.* | |
421 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkImaging.so.5.10 | |
422 | %attr(755,root,root) %{_libdir}/vtk/libvtkImaging.so.*.*.* | |
423 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkInfovis.so.5.10 | |
424 | %attr(755,root,root) %{_libdir}/vtk/libvtkInfovis.so.*.*.* | |
425 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkIO.so.5.10 | |
426 | %attr(755,root,root) %{_libdir}/vtk/libvtkIO.so.*.*.* | |
427 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkmetaio.so.5.10 | |
428 | %attr(755,root,root) %{_libdir}/vtk/libvtkmetaio.so.*.*.* | |
429 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkNetCDF_cxx.so.5.10 | |
430 | %attr(755,root,root) %{_libdir}/vtk/libvtkNetCDF_cxx.so.*.*.* | |
431 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkNetCDF.so.5.10 | |
432 | %attr(755,root,root) %{_libdir}/vtk/libvtkNetCDF.so.*.*.* | |
433 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkParallel.so.5.10 | |
434 | %attr(755,root,root) %{_libdir}/vtk/libvtkParallel.so.*.*.* | |
435 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkproj4.so.5.10 | |
436 | %attr(755,root,root) %{_libdir}/vtk/libvtkproj4.so.*.*.* | |
437 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkRendering.so.5.10 | |
438 | %attr(755,root,root) %{_libdir}/vtk/libvtkRendering.so.*.*.* | |
439 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtksqlite.so.5.10 | |
440 | %attr(755,root,root) %{_libdir}/vtk/libvtksqlite.so.*.*.* | |
441 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtksys.so.5.10 | |
442 | %attr(755,root,root) %{_libdir}/vtk/libvtksys.so.*.*.* | |
443 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkverdict.so.5.10 | |
444 | %attr(755,root,root) %{_libdir}/vtk/libvtkverdict.so.*.*.* | |
445 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkViews.so.5.10 | |
446 | %attr(755,root,root) %{_libdir}/vtk/libvtkViews.so.*.*.* | |
447 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkVolumeRendering.so.5.10 | |
448 | %attr(755,root,root) %{_libdir}/vtk/libvtkVolumeRendering.so.*.*.* | |
449 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtkWidgets.so.5.10 | |
450 | %attr(755,root,root) %{_libdir}/vtk/libvtkWidgets.so.*.*.* | |
52d6c353 AG |
451 | |
452 | %files devel | |
0b356dc9 | 453 | %defattr(644,root,root,755) |
52d6c353 | 454 | %doc %{_libdir}/vtk/doxygen |
0b356dc9 | 455 | %doc Utilities/Upgrading/* |
bb64b81a JR |
456 | %attr(755,root,root) %{_bindir}/vtkWrapHierarchy |
457 | %attr(755,root,root) %{_bindir}/lproj | |
458 | %attr(755,root,root) %{_bindir}/vtkEncodeString | |
52d6c353 AG |
459 | %{_includedir}/vtk |
460 | %{_libdir}/vtk/CMake | |
461 | %{_libdir}/vtk/*.cmake | |
bb64b81a JR |
462 | %{_libdir}/vtk/hints |
463 | %attr(755,root,root) %{_libdir}/vtk/libCosmo.so | |
464 | %attr(755,root,root) %{_libdir}/vtk/libLSDyna.so | |
465 | %attr(755,root,root) %{_libdir}/vtk/libMapReduceMPI.so | |
466 | %attr(755,root,root) %{_libdir}/vtk/libmpistubs.so | |
467 | %attr(755,root,root) %{_libdir}/vtk/libVPIC.so | |
468 | %attr(755,root,root) %{_libdir}/vtk/libvtkalglib.so | |
469 | %attr(755,root,root) %{_libdir}/vtk/libvtkCharts.so | |
470 | %attr(755,root,root) %{_libdir}/vtk/libvtkCommon.so | |
471 | %attr(755,root,root) %{_libdir}/vtk/libvtkDICOMParser.so | |
472 | %attr(755,root,root) %{_libdir}/vtk/libvtkexoIIc.so | |
473 | %attr(755,root,root) %{_libdir}/vtk/libvtkFiltering.so | |
474 | %attr(755,root,root) %{_libdir}/vtk/libvtkftgl.so | |
475 | %attr(755,root,root) %{_libdir}/vtk/libvtkGenericFiltering.so | |
476 | %attr(755,root,root) %{_libdir}/vtk/libvtkGeovis.so | |
477 | %attr(755,root,root) %{_libdir}/vtk/libvtkGraphics.so | |
478 | %attr(755,root,root) %{_libdir}/vtk/libvtkHybrid.so | |
479 | %attr(755,root,root) %{_libdir}/vtk/libvtkImaging.so | |
480 | %attr(755,root,root) %{_libdir}/vtk/libvtkInfovis.so | |
481 | %attr(755,root,root) %{_libdir}/vtk/libvtkIO.so | |
482 | %attr(755,root,root) %{_libdir}/vtk/libvtkmetaio.so | |
483 | %attr(755,root,root) %{_libdir}/vtk/libvtkNetCDF_cxx.so | |
484 | %attr(755,root,root) %{_libdir}/vtk/libvtkNetCDF.so | |
485 | %attr(755,root,root) %{_libdir}/vtk/libvtkParallel.so | |
486 | %attr(755,root,root) %{_libdir}/vtk/libvtkproj4.so | |
487 | %attr(755,root,root) %{_libdir}/vtk/libvtkRendering.so | |
488 | %attr(755,root,root) %{_libdir}/vtk/libvtksqlite.so | |
489 | %attr(755,root,root) %{_libdir}/vtk/libvtksys.so | |
490 | %attr(755,root,root) %{_libdir}/vtk/libvtkverdict.so | |
491 | %attr(755,root,root) %{_libdir}/vtk/libvtkViews.so | |
492 | %attr(755,root,root) %{_libdir}/vtk/libvtkVolumeRendering.so | |
493 | %attr(755,root,root) %{_libdir}/vtk/libvtkWidgets.so | |
52d6c353 AG |
494 | |
495 | %files tcl | |
0b356dc9 | 496 | %defattr(644,root,root,755) |
c8393523 | 497 | %doc README.html vtkLogo.jpg |
0b356dc9 | 498 | %attr(755,root,root) %{_bindir}/vtkWrapTcl |
bb64b81a | 499 | %attr(755,root,root) %{_bindir}/vtkWrapTclInit |
0b356dc9 | 500 | %attr(755,root,root) %{_bindir}/vtk |
0b356dc9 | 501 | %{_libdir}/vtk/tcl |
bb64b81a JR |
502 | %{_libdir}/vtk/pkgIndex.tcl |
503 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtk*TCL.so.5.10 | |
504 | %attr(755,root,root) %{_libdir}/vtk/libvtk*TCL.so.*.*.* | |
52d6c353 AG |
505 | |
506 | %files python | |
0b356dc9 | 507 | %defattr(644,root,root,755) |
0b356dc9 | 508 | %attr(755,root,root) %{_bindir}/vtkWrapPython |
bb64b81a | 509 | %attr(755,root,root) %{_bindir}/vtkWrapPythonInit |
0b356dc9 | 510 | %attr(755,root,root) %{_bindir}/vtkpython |
bb64b81a JR |
511 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtk*Python*.so.5.10 |
512 | %attr(755,root,root) %{_libdir}/vtk/libvtk*Python*.so.*.*.* | |
513 | ||
514 | %dir %{py_sitedir}/vtk | |
515 | %{py_sitedir}/vtk/*.py* | |
516 | %dir %{py_sitedir}/vtk/gtk | |
517 | %{py_sitedir}/vtk/gtk/*.py* | |
518 | %dir %{py_sitedir}/vtk/qt | |
519 | %dir %{py_sitedir}/vtk/qt4 | |
520 | %{py_sitedir}/vtk/qt*/*.py* | |
521 | %dir %{py_sitedir}/vtk/test | |
522 | %{py_sitedir}/vtk/test/*.py* | |
523 | %dir %{py_sitedir}/vtk/tk | |
524 | %{py_sitedir}/vtk/tk/*.py* | |
525 | %dir %{py_sitedir}/vtk/util | |
526 | %{py_sitedir}/vtk/util/*.py* | |
527 | %dir %{py_sitedir}/vtk/wx | |
528 | %{py_sitedir}/vtk/wx/*.py* | |
529 | %attr(755,root,root) %{py_sitedir}/vtk/vtk*.so | |
530 | %{py_sitedir}/VTK-%{version}-*.egg-info | |
52d6c353 | 531 | |
280d7190 | 532 | %if %{with java} |
52d6c353 | 533 | %files java |
0b356dc9 AG |
534 | %defattr(644,root,root,755) |
535 | %attr(755,root,root) %{_bindir}/vtkParseJava | |
536 | %attr(755,root,root) %{_bindir}/vtkWrapJava | |
bb64b81a JR |
537 | %attr(755,root,root) %ghost %{_libdir}/vtk/libvtk*Java.so.5.10 |
538 | %attr(755,root,root) %{_libdir}/vtk/libvtk*Java.so.*.*.* | |
52d6c353 AG |
539 | %{_libdir}/vtk/java |
540 | %endif | |
541 | ||
bb64b81a JR |
542 | %files qt |
543 | %defattr(644,root,root,755) | |
544 | %attr(755,root,root) %ghost %{_libdir}/vtk/libQVTK.so.5.10 | |
545 | %attr(755,root,root) %{_libdir}/vtk/libQVTK.so.*.*.* | |
546 | %attr(755,root,root) %{_libdir}/qt4/plugins/designer/libQVTKWidgetPlugin.so | |
547 | ||
548 | %files test-suite | |
549 | %defattr(644,root,root,755) | |
550 | %{_libdir}/vtk/testing | |
551 | %attr(755,root,root) %{_bindir}/CommonCxxTests | |
552 | %attr(755,root,root) %{_bindir}/TestCxxFeatures | |
553 | %attr(755,root,root) %{_bindir}/TestInstantiator | |
554 | %attr(755,root,root) %{_bindir}/FilteringCxxTests | |
555 | %attr(755,root,root) %{_bindir}/GraphicsCxxTests | |
556 | %attr(755,root,root) %{_bindir}/GenericFilteringCxxTests | |
557 | %attr(755,root,root) %{_bindir}/ImagingCxxTests | |
558 | %attr(755,root,root) %{_bindir}/IOCxxTests | |
559 | %attr(755,root,root) %{_bindir}/RenderingCxxTests | |
560 | %attr(755,root,root) %{_bindir}/VTKBenchMark | |
561 | %attr(755,root,root) %{_bindir}/VolumeRenderingCxxTests | |
562 | %attr(755,root,root) %{_bindir}/WidgetsCxxTests | |
563 | %attr(755,root,root) %{_bindir}/SocketClient | |
564 | %attr(755,root,root) %{_bindir}/SocketServer | |
565 | ||
52d6c353 | 566 | %files examples |
0b356dc9 | 567 | %defattr(644,root,root,755) |
bb64b81a JR |
568 | %attr(755,root,root) %{_bindir}/HierarchicalBoxPipeline |
569 | %attr(755,root,root) %{_bindir}/MultiBlock | |
570 | %attr(755,root,root) %{_bindir}/Arrays | |
571 | %attr(755,root,root) %{_bindir}/Cube | |
572 | %attr(755,root,root) %{_bindir}/RGrid | |
573 | %attr(755,root,root) %{_bindir}/SGrid | |
574 | %attr(755,root,root) %{_bindir}/Medical1 | |
575 | %attr(755,root,root) %{_bindir}/Medical2 | |
576 | %attr(755,root,root) %{_bindir}/Medical3 | |
577 | %attr(755,root,root) %{_bindir}/finance | |
578 | %attr(755,root,root) %{_bindir}/AmbientSpheres | |
579 | %attr(755,root,root) %{_bindir}/Cylinder | |
580 | %attr(755,root,root) %{_bindir}/DiffuseSpheres | |
581 | %attr(755,root,root) %{_bindir}/SpecularSpheres | |
582 | %attr(755,root,root) %{_bindir}/Cone | |
583 | %attr(755,root,root) %{_bindir}/Cone2 | |
584 | %attr(755,root,root) %{_bindir}/Cone3 | |
585 | %attr(755,root,root) %{_bindir}/Cone4 | |
586 | %attr(755,root,root) %{_bindir}/Cone5 | |
587 | %attr(755,root,root) %{_bindir}/Cone6 | |
588 | %{_examplesdir}/%{name}-%{version} | |
52d6c353 AG |
589 | |
590 | %files data | |
0b356dc9 AG |
591 | %defattr(644,root,root,755) |
592 | %dir %{_datadir}/vtk-data | |
593 | %{_datadir}/vtk-data/Baseline | |
594 | %{_datadir}/vtk-data/Data | |
595 | %{_datadir}/vtk-data/VTKData.readme |