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