X-Git-Url: http://git.pld-linux.org/?p=packages%2Fvtk.git;a=blobdiff_plain;f=vtk.spec;h=b3e5a515ca2c523c1a6885cac5a887ac0d60ea3b;hp=488a9064b4c6e6a2f5c759464e7de7076030e87a;hb=eea186efb9d9f82e56d9119c07688714235af09e;hpb=fa99cd24472554210e5cb41a77a7b24529082123 diff --git a/vtk.spec b/vtk.spec index 488a906..b3e5a51 100644 --- a/vtk.spec +++ b/vtk.spec @@ -10,22 +10,28 @@ # Conditional build %bcond_without java # Java wrappers %bcond_without ffmpeg # FFMPEG .avi saving support +%bcond_with doc # do not build and package doxygen documentation %bcond_with OSMesa # build with OSMesa (https://bugzilla.redhat.com/show_bug.cgi?id=744434) -%bcond_with system_proj # use system PROJ.4 (needs 4.3 with exposed internals, not ready for 4.4+) %bcond_with system_gl2ps # use system gl2ps (VTK currently is carrying local modifications to gl2ps) Summary: Toolkit for 3D computer graphics, image processing, and visualization Summary(pl.UTF-8): Zestaw narzędzi do trójwymiarowej grafiki, przetwarzania obrazu i wizualizacji Name: vtk -Version: 8.1.1 -Release: 4 +Version: 8.2.0 +Release: 0.1 License: BSD Group: Libraries -Source0: http://www.vtk.org/files/release/8.1/VTK-%{version}.tar.gz -# Source0-md5: cf078a71c298c76b13707c7c27704248 -Source1: http://www.vtk.org/files/release/8.1/VTKData-%{version}.tar.gz -# Source1-md5: 6de8c1e3884b805c47dca02e7b049301 +Source0: http://www.vtk.org/files/release/8.2/VTK-%{version}.tar.gz +# Source0-md5: 8af3307da0fc2ef8cafe4a312b821111 +Source1: http://www.vtk.org/files/release/8.2/VTKData-%{version}.tar.gz +# Source1-md5: a6eab7bc02cee1376ee69243dde373ce Patch0: vtk-abi.patch +Patch1: gcc10.patch +Patch2: proj6_compat.patch +Patch3: qt-5.15.patch +Patch4: python-3.8.patch +Patch5: link.patch +Patch6: system-pugixml.patch URL: http://www.vtk.org/ %{?with_OSMesa:BuildRequires: Mesa-libOSMesa-devel} BuildRequires: OpenGL-GLX-devel @@ -37,18 +43,22 @@ BuildRequires: Qt5Network-devel BuildRequires: Qt5OpenGL-devel BuildRequires: Qt5Sql-devel BuildRequires: Qt5WebKit-devel +BuildRequires: Qt5X11Extras-devel BuildRequires: Qt5XmlPatterns-devel BuildRequires: Qt5UiTools-devel BuildRequires: R BuildRequires: boost-devel >= 1.39 -BuildRequires: cmake >= 2.8.8 -BuildRequires: doxygen +BuildRequires: cmake >= 3.3 +BuildRequires: double-conversion-devel +%{?with_doc:BuildRequires: doxygen} +BuildRequires: eigen3 >= 2.91.0 BuildRequires: expat-devel %{?with_ffmpeg:BuildRequires: ffmpeg-devel} BuildRequires: fontconfig-devel BuildRequires: freetype-devel >= 2 BuildRequires: gdal-devel %{?with_system_gl2ps:BuildRequires: gl2ps-devel >= 1.3.8} +BuildRequires: glew-devel BuildRequires: gnuplot BuildRequires: graphviz BuildRequires: hdf5-devel @@ -56,7 +66,8 @@ BuildRequires: hdf5-devel BuildRequires: jdk >= 1.5 BuildRequires: jpackage-utils %endif -BuildRequires: jsoncpp-devel +BuildRequires: jsoncpp-devel >= 0.7.0 +BuildRequires: libharu-devel BuildRequires: libjpeg-devel BuildRequires: libogg-devel BuildRequires: libpng-devel @@ -72,14 +83,16 @@ BuildRequires: netcdf-cxx-devel >= 4 #BuildRequires: openqube-devel BuildRequires: perl-base BuildRequires: postgresql-devel -%{?with_system_proj:BuildRequires: proj-devel >= 4.3, proj-devel < 4.4} -BuildRequires: python-devel >= 2 -BuildRequires: python-sip-devel +BuildRequires: proj-devel >= 6.0 +BuildRequires: pugixml-devel +BuildRequires: python3-devel +BuildRequires: python3-sip-devel BuildRequires: qt5-build >= 4.5.0 BuildRequires: qt5-qmake >= 4.5.0 BuildRequires: rpmbuild(macros) >= 1.605 BuildRequires: sip BuildRequires: sip-PyQt5 +BuildRequires: sqlite3-devel BuildRequires: tcl-devel BuildRequires: tk-devel BuildRequires: unixODBC-devel @@ -91,8 +104,11 @@ BuildRequires: xorg-lib-libXScrnSaver-devel BuildRequires: xorg-lib-libXext-devel BuildRequires: xorg-lib-libXft-devel BuildRequires: xorg-lib-libXt-devel +BuildRequires: xz-devel BuildRequires: zlib-devel BuildConflicts: libXNVCtrl-devel +Obsoletes: vtk-tcl < 8.2.0-1 +Obsoletes: vtk-tcl-devel < 8.2.0-1 %{?with_system_gl2ps:Requires: gl2ps >= 1.3.8} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -102,7 +118,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) The Visualization ToolKit (VTK) is an object oriented software system for 3D computer graphics, image processing, and visualization. VTK includes a textbook, a C++ class library, and several interpreted -interface layers including Tcl/Tk, Java, and Python. VTK supports a +interface layers including Java, and Python. VTK supports a wide variety of visualization algorithms including scalar, vector, tensor, texture, and volumetric methods. It also supports advanced modeling techniques like implicit modeling, polygon reduction, mesh @@ -114,7 +130,7 @@ This allows mixing 2D imaging / 3D graphics algorithms and data. Visualization TookKit (VTK) to obiektowo zorientowany system oprogramowania do trójwymiarowej grafiki komputerowej, przetwarzania obrazu i wizualizacji. VTK zawiera książkę, bibliotekę klas C++ oraz -kilka interpretowanych warstw interfejsów, w tym dla Tcl/Tk, Javy i +kilka interpretowanych warstw interfejsów, w tym dla Javy i Pythona. VTK obsługuje szeroki zakres algorytmów wizualizacji, w tym metody skalarne, wektorowe, tensorowe, teksturowe i wolumetryczne. Obsługuje także zaawansowane techniki modelowania, takie jak @@ -202,68 +218,41 @@ Header files for Java VTK binding. %description java-devel -l pl.UTF-8 Pliki nagłówkowe wiązania Javy do VTK. -%package python -Summary: Python bindings for VTK -Summary(pl.UTF-8): Wiązania Pythona do VTK +%package python3 +Summary: Python 3 bindings for VTK +Summary(pl.UTF-8): Wiązania Pythona 3 do VTK Group: Libraries Requires: %{name} = %{version}-%{release} # or separate qt parts again? Requires: %{name}-qt = %{version}-%{release} Obsoletes: vtk-python-qt < 6.0.0-1 Obsoletes: vtk-python-sip < 6.0.0-1 +Obsoletes: vtk-python < 8.2.0-1 -%description python -This package contains Python bindings for VTK. +%description python3 +This package contains Python 3 bindings for VTK. -%description python -l pl.UTF-8 -Ten pakiet zawiera wiązania Pythona do VTK. +%description python3 -l pl.UTF-8 +Ten pakiet zawiera wiązania Pythona 3 do VTK. -%package python-devel -Summary: Header files for Python VTK binding -Summary(pl.UTF-8): Pliki nagłówkowe wiązania Pythona do VTK +%package python3-devel +Summary: Header files for Python 3 VTK binding +Summary(pl.UTF-8): Pliki nagłówkowe wiązania Pythona 3 do VTK Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} -Requires: %{name}-python = %{version}-%{release} -Requires: python-devel +Requires: %{name}-python3 = %{version}-%{release} +Requires: python3-devel +Obsoletes: vtk-python-devel < 8.2.0-1 -%description python-devel -Header files for Python VTK binding. +%description python3-devel +Header files for Python 3 VTK binding. -%description python-devel -l pl.UTF-8 -Pliki nagłówkowe wiązania Pythona do VTK. - -%package tcl -Summary: Tcl bindings for VTK -Summary(pl.UTF-8): Wiązania języka Tcl do VTK -Group: Libraries -Requires: %{name} = %{version}-%{release} -# or separate qt parts? -Requires: %{name}-qt = %{version}-%{release} - -%description tcl -This package contains Tcl bindings for VTK. - -%description tcl -l pl.UTF-8 -Ten pakiet zawiera wiązania języka Tcl do VTK. - -%package tcl-devel -Summary: Header files for Tcl VTK bindings -Summary(pl.UTF-8): Pliki nagłówkowe wiązania języka Tcl do VTK -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} -Requires: %{name}-tcl = %{version}-%{release} -Requires: tcl-devel -Requires: tk-devel - -%description tcl-devel -Header files for Tcl VTK bindings. - -%description tcl-devel -l pl.UTF-8 -Pliki nagłówkowe wiązania języka Tcl do VTK. +%description python3-devel -l pl.UTF-8 +Pliki nagłówkowe wiązania Pythona 3 do VTK. %package examples -Summary: C++, Tcl and Python example programs/scripts for VTK -Summary(pl.UTF-8): Przykładowe programy/skrypty w C++, Tcl-u i Pythonie dla VTK +Summary: C++ and Python example programs/scripts for VTK +Summary(pl.UTF-8): Przykładowe programy/skrypty w C++ i Pythonie dla VTK Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: %{name}-data = %{version}-%{release} @@ -271,14 +260,14 @@ Requires: %{name}-data = %{version}-%{release} %description examples This package contains all the examples from the VTK source. To compile the C++ examples you will need to install the vtk-devel package as -well. The Python and Tcl examples can be run with the corresponding -packages (vtk-python, vtk-tcl). +well. The Python examples can be run with the corresponding +packages (vtk-python3). %description examples -l pl.UTF-8 Ten pakiet zawiera wszystkie przykłady ze źródeł VTK. Do skompilowania przykładów w C++ trzeba doinstalować pakiet vtk-devel. Przykłady w -Pythonie i Tcl-u można uruchamiać przy użyciu odpowiednich pakietów -(vtk-python, vtk-tcl). +Pythonie można uruchamiać przy użyciu odpowiednich pakietów +(vtk-python3). %package test-suite Summary: Test programs for VTK @@ -316,6 +305,12 @@ potrzebne do uruchamiania różnych przykładów z pakietu vtk-examples. %prep %setup -q -n VTK-%{version} -b 1 %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 # Replace relative path ../../../VTKData with destination filesystem path grep -Erl '(\.\./)+VTKData' Examples | xargs \ @@ -328,6 +323,10 @@ cp -a Examples vtk-examples %{__rm} -r vtk-examples/Examples/GUI/Win32 find vtk-examples -type f | xargs chmod -R a-x +for x in doubleconversion eigen expat freetype %{?with_system_gl2ps:gl2ps }glew hdf5 jpeg jsoncpp libproj libxml2 lz4 lzma netcdf ogg png pugixml sqlite theora tiff zfp zlib; do +%{__rm} -r ThirdParty/*/vtk$x +done + %build export CFLAGS="%{rpmcflags} -D_UNICODE -DHAVE_UINTPTR_T" export CXXFLAGS="%{rpmcxxflags} -D_UNICODE -DHAVE_UINTPTR_T" @@ -363,39 +362,34 @@ cd build %cmake .. \ $ccache \ -Wno-dev \ - -DBUILD_DOCUMENTATION:BOOL=ON \ + %{cmake_on_off doc DBUILD_DOCUMENTATION} \ -DBUILD_EXAMPLES:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DBUILD_TESTING:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DOPENGL_INCLUDE_PATH:PATH=%{_includedir}/GL \ - -DPYTHON_INCLUDE_PATH:PATH=%{py_incdir} \ - -DPYTHON_LIBRARY:FILEPATH=%{_libdir}/libpython%{py_ver}.so \ + -DPYTHON_INCLUDE_PATH:PATH=%{py3_incdir} \ + -DPYTHON_LIBRARY:FILEPATH=%{_libdir}/libpython%{py3_ver}.so \ -DPYTHON_UTIL_LIBRARY:PATH=%{_libdir}/libutil.so \ -DTCL_INCLUDE_PATH:PATH=%{_includedir} \ -DTCL_LIBRARY:PATH=%{_libdir}/libtcl.so \ -DTK_INCLUDE_PATH:PATH=%{_includedir} \ -DTK_LIBRARY:PATH=%{_libdir}/libtk.so \ - -DVTK_DATA_ROOT:PATH=%{_datadir}/vtk-8.1 \ -DVTK_CUSTOM_LIBRARY_SUFFIX="" \ -DVTK_INSTALL_ARCHIVE_DIR:PATH=%{_lib}/vtk \ -DVTK_INSTALL_INCLUDE_DIR:PATH=include/vtk \ -DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib}/vtk \ -DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/vtk \ -DVTK_INSTALL_TCL_DIR:PATH=share/tcl%{tcl_version}/vtk \ - -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=%{py_sitedir} \ -DVTK_INSTALL_QT_DIR=/%{_lib}/qt5/plugins/designer \ + -DVTK_INSTALL_PYTHON_MODULES_DIR:PATH=%{py3_sitedir} \ -DVTK_FFMPEG_HAS_OLD_HEADER:BOOL=OFF \ %{?with_OSMesa:-DVTK_OPENGL_HAS_OSMESA:BOOL=ON} \ - -DVTK_WRAP_PYTHON:BOOL=ON \ - -DVTK_PYTHON_SETUP_ARGS="--prefix=/usr --root=$RPM_BUILD_ROOT" \ -DVTK_USE_SYSTEM_LIBRARIES:BOOL=ON \ -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \ - -DVTK_USE_RENDERING:BOOL=ON \ -DVTK_USE_SYSTEM_HDF5:BOOL=ON \ -DVTK_USE_SYSTEM_XDMF2:BOOL=OFF \ -DVTK_USE_SYSTEM_LIBHARU:BOOL=OFF \ - %{!?with_system_proj:-DVTK_USE_SYSTEM_LIBPROJ4:BOOL=OFF} \ %{!?with_system_gl2ps:-DVTK_USE_SYSTEM_GL2PS:BOOL=OFF} \ %if %{with java} -DVTK_WRAP_JAVA:BOOL=ON \ @@ -406,8 +400,8 @@ cd build -DVTK_WRAP_JAVA:BOOL=OFF \ %endif -DVTK_WRAP_PYTHON:BOOL=ON \ + -DVTK_PYTHON_VERSION=3 \ %{?with_sip:-DVTK_WRAP_PYTHON_SIP:BOOL=ON} \ - -DVTK_WRAP_TCL:BOOL=ON \ -DVTK_Group_Imaging:BOOL=ON \ -DVTK_Group_Qt:BOOL=ON \ -DVTK_Group_Rendering:BOOL=ON \ @@ -415,7 +409,6 @@ cd build -DVTK_Group_Tk:BOOL=ON \ -DVTK_Group_Views:BOOL=ON \ -DModule_vtkFiltersReebGraph:BOOL=ON \ - -DModule_vtkFiltersStatisticsGnuR:BOOL=ON \ %{?with_ffmpeg:-DModule_vtkIOFFMPEG:BOOL=ON} \ -DModule_vtkIOGDAL:BOOL=ON \ -DModule_vtkIOGeoJSON:BOOL=ON \ @@ -439,7 +432,7 @@ cd build # TODO: -DModule_vtkRenderingParallelLIC:BOOL=ON (BR: MPI) %{__make} -%{__make} DoxygenDoc +%{?with_doc:%{__make} DoxygenDoc} %install rm -rf $RPM_BUILD_ROOT @@ -511,11 +504,7 @@ install -p build/bin/VTKJavaExecutable $RPM_BUILD_ROOT%{_bindir} install -p build/bin/vtkpython $RPM_BUILD_ROOT%{_bindir} # unwanted doxygen files and misplaced verdict docs -%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/vtk-*/{doxygen,verdict} - -# only *.pyc are built by default, add *.pyo -%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/vtk -%py_postclean +%{?with_doc:%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/vtk-*/{doxygen,verdict}} %clean rm -rf $RPM_BUILD_ROOT @@ -529,15 +518,12 @@ rm -rf $RPM_BUILD_ROOT %post java -p /sbin/ldconfig %postun java -p /sbin/ldconfig -%post python -p /sbin/ldconfig -%postun python -p /sbin/ldconfig - -%post tcl -p /sbin/ldconfig -%postun tcl -p /sbin/ldconfig +%post python3 -p /sbin/ldconfig +%postun python3 -p /sbin/ldconfig %files %defattr(644,root,root,755) -%doc README.md vtkLogo.jpg vtkBanner.gif Wrapping/Tools/README* +%doc README.md vtkBanner.gif vtkLogo.ico Wrapping/Tools/README* %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf %dir %{_libdir}/vtk %attr(755,root,root) %{_libdir}/vtk/libvtkChartsCore.so.1 @@ -573,29 +559,22 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/vtk/libvtkViewsGeovis.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtkViewsInfovis.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtkVPIC.so.1 -%attr(755,root,root) %{_libdir}/vtk/libvtkalglib.so.1 -%attr(755,root,root) %{_libdir}/vtk/libvtkexoIIc.so.1 +%attr(755,root,root) %{_libdir}/vtk/libvtkexodusII.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtkgl2ps.so.1 -%attr(755,root,root) %{_libdir}/vtk/libvtkglew.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtklibharu.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtkmetaio.so.1 -%attr(755,root,root) %{_libdir}/vtk/libvtkproj4.so.1 -%attr(755,root,root) %{_libdir}/vtk/libvtksqlite.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtksys.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtkverdict.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtkxdmf2.so.1 %if %{with java} %exclude %{_libdir}/vtk/libvtk*Java.so.1 %endif -%exclude %{_libdir}/vtk/libvtk*Python2?D.so.1 -%exclude %{_libdir}/vtk/libvtkWrappingPython2?Core.so.1 -%exclude %{_libdir}/vtk/libvtk*TCL.so.1 +%exclude %{_libdir}/vtk/libvtk*Python3?D.so.1 +%exclude %{_libdir}/vtk/libvtkWrappingPython3?Core.so.1 %files devel %defattr(644,root,root,755) %doc Utilities/Upgrading/* -%attr(755,root,root) %{_bindir}/vtkEncodeString -%attr(755,root,root) %{_bindir}/vtkHashSource %attr(755,root,root) %{_bindir}/vtkWrapHierarchy %attr(755,root,root) %{_libdir}/vtk/libvtkChartsCore.so %attr(755,root,root) %{_libdir}/vtk/libvtkCommon*.so @@ -630,35 +609,29 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/vtk/libvtkViewsGeovis.so %attr(755,root,root) %{_libdir}/vtk/libvtkViewsInfovis.so %attr(755,root,root) %{_libdir}/vtk/libvtkVPIC.so -%attr(755,root,root) %{_libdir}/vtk/libvtkalglib.so -%attr(755,root,root) %{_libdir}/vtk/libvtkexoIIc.so +%attr(755,root,root) %{_libdir}/vtk/libvtkexodusII.so %attr(755,root,root) %{_libdir}/vtk/libvtkgl2ps.so -%attr(755,root,root) %{_libdir}/vtk/libvtkglew.so %attr(755,root,root) %{_libdir}/vtk/libvtklibharu.so %attr(755,root,root) %{_libdir}/vtk/libvtkmetaio.so -%attr(755,root,root) %{_libdir}/vtk/libvtkproj4.so -%attr(755,root,root) %{_libdir}/vtk/libvtksqlite.so %attr(755,root,root) %{_libdir}/vtk/libvtksys.so %attr(755,root,root) %{_libdir}/vtk/libvtkverdict.so %attr(755,root,root) %{_libdir}/vtk/libvtkxdmf2.so %if %{with java} %exclude %{_libdir}/vtk/libvtk*Java.so %endif -%exclude %{_libdir}/vtk/libvtk*Python2?D.so -%exclude %{_libdir}/vtk/libvtkWrappingPython2?Core.so -%exclude %{_libdir}/vtk/libvtk*TCL.so +%exclude %{_libdir}/vtk/libvtk*Python3?D.so +%exclude %{_libdir}/vtk/libvtkWrappingPython3?Core.so %{_libdir}/vtk/libvtkWrappingTools.a %dir %{_includedir}/vtk %{_includedir}/vtk/VPIC %{_includedir}/vtk/DICOM*.h %{_includedir}/vtk/DatabaseSchemaWith2Tables.h -%{_includedir}/vtk/alglib +%{_includedir}/vtk/LSDyna*.h +%{_includedir}/vtk/vtkexodusII %{_includedir}/vtk/vtkgl2ps -%{_includedir}/vtk/vtkglew %{_includedir}/vtk/vtkkwiml %{_includedir}/vtk/vtklibharu %{_includedir}/vtk/vtkmetaio -%{_includedir}/vtk/vtksqlite %{_includedir}/vtk/vtksys %{_includedir}/vtk/vtkverdict %{_includedir}/vtk/vtkxdmf2 @@ -674,7 +647,6 @@ rm -rf $RPM_BUILD_ROOT %exclude %{_includedir}/vtk/vtkQImageToImageSource.h %exclude %{_includedir}/vtk/vtkQt*.h %exclude %{_includedir}/vtk/vtkRenderingQtModule.h -%exclude %{_includedir}/vtk/vtkTcl*.h %exclude %{_includedir}/vtk/vtkTk*.h %exclude %{_includedir}/vtk/vtkViewsQtModule.h %{_libdir}/cmake/vtk @@ -723,7 +695,6 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/vtk/libvtkInteraction*Java.so %attr(755,root,root) %{_libdir}/vtk/libvtkLocalExampleJava.so %attr(755,root,root) %{_libdir}/vtk/libvtkParallelCoreJava.so -%attr(755,root,root) %{_libdir}/vtk/libvtkPythonInterpreterJava.so %attr(755,root,root) %{_libdir}/vtk/libvtkRendering*Java.so %attr(755,root,root) %{_libdir}/vtk/libvtkTestingRenderingJava.so %attr(755,root,root) %{_libdir}/vtk/libvtkViews*Java.so @@ -736,62 +707,60 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/vtk/vtkWrappingJavaModule.h %endif -%files python +%files python3 %defattr(644,root,root,755) %doc Wrapping/Python/README* %attr(755,root,root) %{_bindir}/vtkWrapPython %attr(755,root,root) %{_bindir}/vtkWrapPythonInit %attr(755,root,root) %{_bindir}/vtkpython -%attr(755,root,root) %{_libdir}/vtk/libvtk*Python2?D.so.1 +%attr(755,root,root) %{_libdir}/vtk/libvtk*Python3?D.so.1 +%attr(755,root,root) %{_libdir}/vtk/libvtkPythonContext2D.so.1 %attr(755,root,root) %{_libdir}/vtk/libvtkPythonInterpreter.so.1 # RenderingMatplotlib requires PythonInterpreter %attr(755,root,root) %{_libdir}/vtk/libvtkRenderingMatplotlib.so.1 -%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingPythonTkWidgets-8.1.so -%attr(755,root,root) %{_libdir}/vtk/libvtkWrappingPython2?Core.so.1 -%dir %{py_sitedir}/vtk -%{py_sitedir}/vtk/*.py[co] -%dir %{py_sitedir}/vtk/gtk -%{py_sitedir}/vtk/gtk/*.py[co] -%dir %{py_sitedir}/vtk/numpy_interface -%{py_sitedir}/vtk/numpy_interface/*.py[co] -%dir %{py_sitedir}/vtk/qt -%{py_sitedir}/vtk/qt/*.py[co] -%dir %{py_sitedir}/vtk/qt4 -%{py_sitedir}/vtk/qt4/*.py[co] -%dir %{py_sitedir}/vtk/test -%{py_sitedir}/vtk/test/*.py[co] -%dir %{py_sitedir}/vtk/tk -%{py_sitedir}/vtk/tk/*.py[co] -%dir %{py_sitedir}/vtk/util -%{py_sitedir}/vtk/util/*.py[co] -%dir %{py_sitedir}/vtk/wx -%{py_sitedir}/vtk/wx/*.py[co] -%attr(755,root,root) %{py_sitedir}/vtk/vtk*Python.so - -%files python-devel +%attr(755,root,root) %{_libdir}/vtk/libvtkRenderingPythonTkWidgets-8.2.so +%attr(755,root,root) %{_libdir}/vtk/libvtkWrappingPython3?Core.so.1 +%dir %{py3_sitedir}/vtk.py +%dir %{py3_sitedir}/__pycache__/* +%dir %{py3_sitedir}/vtkmodules +%{py3_sitedir}/vtkmodules/*.py +%{py3_sitedir}/vtkmodules/__pycache__ +%dir %{py3_sitedir}/vtkmodules/gtk +%{py3_sitedir}/vtkmodules/gtk/*.py +%{py3_sitedir}/vtkmodules/gtk/__pycache__ +%dir %{py3_sitedir}/vtkmodules/numpy_interface +%{py3_sitedir}/vtkmodules/numpy_interface/*.py +%{py3_sitedir}/vtkmodules/numpy_interface/__pycache__ +%dir %{py3_sitedir}/vtkmodules/qt +%{py3_sitedir}/vtkmodules/qt/*.py +%{py3_sitedir}/vtkmodules/qt/__pycache__ +%dir %{py3_sitedir}/vtkmodules/qt4 +%{py3_sitedir}/vtkmodules/qt4/*.py +%{py3_sitedir}/vtkmodules/qt4/__pycache__ +%dir %{py3_sitedir}/vtkmodules/test +%{py3_sitedir}/vtkmodules/test/*.py +%{py3_sitedir}/vtkmodules/test/__pycache__ +%dir %{py3_sitedir}/vtkmodules/tk +%{py3_sitedir}/vtkmodules/tk/__pycache__ +%{py3_sitedir}/vtkmodules/tk/*.py +%dir %{py3_sitedir}/vtkmodules/util +%{py3_sitedir}/vtkmodules/util/*.py +%{py3_sitedir}/vtkmodules/util/__pycache__ +%dir %{py3_sitedir}/vtkmodules/wx +%{py3_sitedir}/vtkmodules/wx/*.py +%{py3_sitedir}/vtkmodules/wx/__pycache__ +%attr(755,root,root) %{py3_sitedir}/vtkmodules/vtk*Python.so + +%files python3-devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/vtk/libvtk*Python2?D.so +%attr(755,root,root) %{_libdir}/vtk/libvtk*Python3?D.so +%attr(755,root,root) %{_libdir}/vtk/libvtkPythonContext2D.so %attr(755,root,root) %{_libdir}/vtk/libvtkPythonInterpreter.so %attr(755,root,root) %{_libdir}/vtk/libvtkRenderingMatplotlib.so -%attr(755,root,root) %{_libdir}/vtk/libvtkWrappingPython2?Core.so +%attr(755,root,root) %{_libdir}/vtk/libvtkWrappingPython3?Core.so %{_includedir}/vtk/PyVTK*.h %{_includedir}/vtk/vtkPython*.h -%files tcl -%defattr(644,root,root,755) -%doc Wrapping/Tcl/README* -%attr(755,root,root) %{_bindir}/vtkWrapTcl -%attr(755,root,root) %{_bindir}/vtkWrapTclInit -%attr(755,root,root) %{_bindir}/vtk -%{_datadir}/tcl%{tcl_version}/vtk -%attr(755,root,root) %{_libdir}/vtk/libvtk*TCL.so.1 - -%files tcl-devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/vtk/libvtk*TCL.so -%{_includedir}/vtk/vtkTcl*.h -%{_includedir}/vtk/vtkTk*.h - %files test-suite %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/*Tests