This commit is contained in:
parent
c973343cfc
commit
1dd6e8c79b
8
vtk.spec
8
vtk.spec
@ -81,6 +81,7 @@ BuildRequires: netcdf-devel
|
|||||||
BuildRequires: openmpi-devel
|
BuildRequires: openmpi-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-mpi4py-devel
|
BuildRequires: python3-mpi4py-devel
|
||||||
|
BuildRequires: python3-numpy-devel
|
||||||
BuildRequires: python3-qt5-devel
|
BuildRequires: python3-qt5-devel
|
||||||
BuildRequires: tcl-devel
|
BuildRequires: tcl-devel
|
||||||
BuildRequires: tk-devel
|
BuildRequires: tk-devel
|
||||||
@ -179,6 +180,9 @@ This package provides java bindings for VTK.
|
|||||||
Summary: Python bindings for VTK
|
Summary: Python bindings for VTK
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{shlib} = %{version}
|
Requires: %{shlib} = %{version}
|
||||||
|
Requires: python3-mpi4py
|
||||||
|
Requires: python3-numpy
|
||||||
|
Requires: python3-qt5
|
||||||
Conflicts: python3-vtk-compat_gl
|
Conflicts: python3-vtk-compat_gl
|
||||||
|
|
||||||
%description -n python3-%{name}
|
%description -n python3-%{name}
|
||||||
@ -366,6 +370,10 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
||||||
|
python3 -c "import python3"
|
||||||
|
|
||||||
%post -n %{shlib} -p /sbin/ldconfig
|
%post -n %{shlib} -p /sbin/ldconfig
|
||||||
%postun -n %{shlib} -p /sbin/ldconfig
|
%postun -n %{shlib} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user