Accepting request 745573 from home:StefanBruens:branches:science
- Adapt to openmpi -> openmpi1 rename on Tumbleweed. - Spec file cleanup, remove conditionals for Leap 42.x. - Apply proj4 compatibility patch also on Leap. OBS-URL: https://build.opensuse.org/request/show/745573 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=144
This commit is contained in:
parent
dfa8946ad0
commit
7d1f680b6a
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 4 17:59:29 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Adapt to openmpi -> openmpi1 rename on Tumbleweed.
|
||||||
|
- Spec file cleanup, remove conditionals for Leap 42.x.
|
||||||
|
- Apply proj4 compatibility patch also on Leap.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 10 20:00:01 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
Tue Sep 10 20:00:01 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
19
vtk.spec
19
vtk.spec
@ -39,8 +39,13 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if "%{flavor}" == "openmpi"
|
%if "%{flavor}" == "openmpi"
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
%define my_suffix -openmpi1
|
||||||
|
%define mpi_flavor openmpi1
|
||||||
|
%else
|
||||||
%define my_suffix -openmpi
|
%define my_suffix -openmpi
|
||||||
%define mpi_flavor openmpi
|
%define mpi_flavor openmpi
|
||||||
|
%endif
|
||||||
%define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor}
|
%define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -136,16 +141,10 @@ BuildRequires: pkgconfig(freetype2)
|
|||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(glew)
|
BuildRequires: pkgconfig(glew)
|
||||||
BuildRequires: pkgconfig(jsoncpp)
|
BuildRequires: pkgconfig(jsoncpp)
|
||||||
%if 0%{?suse_version} < 1500
|
|
||||||
# libav pulls in a conflicting libnetcdf version
|
|
||||||
BuildConflicts: libnetcdf7
|
|
||||||
BuildConflicts: libavfilter6
|
|
||||||
%else
|
|
||||||
BuildRequires: pkgconfig(libavcodec)
|
BuildRequires: pkgconfig(libavcodec)
|
||||||
BuildRequires: pkgconfig(libavdevice)
|
BuildRequires: pkgconfig(libavdevice)
|
||||||
BuildRequires: pkgconfig(libavformat)
|
BuildRequires: pkgconfig(libavformat)
|
||||||
BuildRequires: pkgconfig(libavutil)
|
BuildRequires: pkgconfig(libavutil)
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(libiodbc)
|
BuildRequires: pkgconfig(libiodbc)
|
||||||
BuildRequires: pkgconfig(liblz4) >= 1.7.3
|
BuildRequires: pkgconfig(liblz4) >= 1.7.3
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
@ -155,7 +154,7 @@ BuildRequires: pkgconfig(netcdf)
|
|||||||
%if %{with mpi}
|
%if %{with mpi}
|
||||||
BuildRequires: netcdf-%{mpi_flavor}-devel
|
BuildRequires: netcdf-%{mpi_flavor}-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(proj)
|
BuildRequires: pkgconfig(proj) >= 5.0.0
|
||||||
%if %{with pugixml}
|
%if %{with pugixml}
|
||||||
BuildRequires: pkgconfig(pugixml)
|
BuildRequires: pkgconfig(pugixml)
|
||||||
%endif
|
%endif
|
||||||
@ -165,16 +164,12 @@ BuildRequires: pkgconfig(theora)
|
|||||||
BuildRequires: pkgconfig(tk)
|
BuildRequires: pkgconfig(tk)
|
||||||
BuildRequires: pkgconfig(xt)
|
BuildRequires: pkgconfig(xt)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
%if 0%{?suse_version} >= 1500
|
|
||||||
BuildRequires: libboost_graph-devel
|
BuildRequires: libboost_graph-devel
|
||||||
BuildRequires: libboost_graph_parallel-devel
|
BuildRequires: libboost_graph_parallel-devel
|
||||||
%if %{with mpi}
|
%if %{with mpi}
|
||||||
BuildRequires: libboost_mpi-devel
|
BuildRequires: libboost_mpi-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libboost_serialization-devel
|
BuildRequires: libboost_serialization-devel
|
||||||
%else
|
|
||||||
BuildRequires: boost-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
VTK is a software system for image processing, 3D graphics, volume
|
VTK is a software system for image processing, 3D graphics, volume
|
||||||
@ -342,9 +337,7 @@ languages.
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%endif
|
|
||||||
|
|
||||||
# Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
|
# Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
|
||||||
# otherwise it will break on symlinks.
|
# otherwise it will break on symlinks.
|
||||||
|
Loading…
Reference in New Issue
Block a user