]> git.pld-linux.org Git - packages/vtk.git/blobdiff - vtk.spec
package more files
[packages/vtk.git] / vtk.spec
index 9fee929aaeac4c4ea1b03eac7ecefe7737b18ae1..b3e5a515ca2c523c1a6885cac5a887ac0d60ea3b 100644 (file)
--- a/vtk.spec
+++ b/vtk.spec
@@ -31,6 +31,7 @@ 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
@@ -47,14 +48,17 @@ BuildRequires:      Qt5XmlPatterns-devel
 BuildRequires: Qt5UiTools-devel
 BuildRequires: R
 BuildRequires: boost-devel >= 1.39
-BuildRequires: cmake >= 2.8.8
+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
@@ -62,7 +66,7 @@ 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
@@ -80,6 +84,7 @@ BuildRequires:        netcdf-cxx-devel >= 4
 BuildRequires: perl-base
 BuildRequires: postgresql-devel
 BuildRequires: proj-devel >= 6.0
+BuildRequires: pugixml-devel
 BuildRequires: python3-devel
 BuildRequires: python3-sip-devel
 BuildRequires: qt5-build >= 4.5.0
@@ -87,6 +92,7 @@ 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
@@ -98,6 +104,7 @@ 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
@@ -303,6 +310,7 @@ potrzebne do uruchamiania różnych przykładów z pakietu vtk-examples.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 # Replace relative path ../../../VTKData with destination filesystem path
 grep -Erl '(\.\./)+VTKData' Examples | xargs \
@@ -315,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"
@@ -547,6 +559,7 @@ 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/libvtkexodusII.so.1
 %attr(755,root,root) %{_libdir}/vtk/libvtkgl2ps.so.1
 %attr(755,root,root) %{_libdir}/vtk/libvtklibharu.so.1
 %attr(755,root,root) %{_libdir}/vtk/libvtkmetaio.so.1
@@ -596,6 +609,7 @@ 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/libvtkexodusII.so
 %attr(755,root,root) %{_libdir}/vtk/libvtkgl2ps.so
 %attr(755,root,root) %{_libdir}/vtk/libvtklibharu.so
 %attr(755,root,root) %{_libdir}/vtk/libvtkmetaio.so
@@ -612,6 +626,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/vtk/VPIC
 %{_includedir}/vtk/DICOM*.h
 %{_includedir}/vtk/DatabaseSchemaWith2Tables.h
+%{_includedir}/vtk/LSDyna*.h
+%{_includedir}/vtk/vtkexodusII
 %{_includedir}/vtk/vtkgl2ps
 %{_includedir}/vtk/vtkkwiml
 %{_includedir}/vtk/vtklibharu
@@ -698,6 +714,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/vtkWrapPythonInit
 %attr(755,root,root) %{_bindir}/vtkpython
 %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
@@ -737,6 +754,7 @@ rm -rf $RPM_BUILD_ROOT
 %files python3-devel
 %defattr(644,root,root,755)
 %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/libvtkWrappingPython3?Core.so
This page took 0.045654 seconds and 4 git commands to generate.