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