Accepting request 530507 from home:StefanBruens:branches:science
- Move the vtk binary to the tcl subpackage, it is an interactive TCL shell, and depends on the TCL bindings. It can be used standalone from the devel package. Dito for its MPI variant, i.e. the pvtk binary. - Move all libvtk*Java.so to the java subpackage. These are part of the Java bindings, i.e. runtime dependencies. Otherwise, the java subpacakge depends on the devel subpackage. - Add the tcl and java subpackage to the devel requires again. Although not stricly necessary until building java or tcl packages, the cmake files have a hard dependency on several build artifacts provided by the tcl and java subpackages. Split devel packages for the bindings would be preferred, but this is not supported by the upstream build system. - Remove the openmpi-devel requires in the python subpackage, the mpi runtime libraries are provided by openmpi-libs, which is picked up automatically. - Split the API documentation from the development subpackage. The documentation amounts to almost 1 GByte of data, not necessary when just building packages. - Move the vtk binary to the tcl subpackage, it is an interactive TCL shell, and depends on the TCL bindings. It can be used standalone from the devel package. Dito for its MPI variant, i.e. the pvtk binary. - Move all libvtk*Java.so to the java subpackage. These are part of the Java bindings, i.e. runtime dependencies. Otherwise, the java subpacakge depends on the devel subpackage. - Add the tcl and java subpackage to the devel requires again. Although not stricly necessary until building java or tcl packages, the cmake files have a hard dependency on several build artifacts provided by the tcl and java subpackages. Split devel packages for the bindings would be preferred, but this is not supported by the upstream build system. - Remove the openmpi-devel requires in the python subpackage, the mpi runtime libraries are provided by openmpi-libs, which is picked up automatically. - Split the API documentation from the development subpackage. The documentation amounts to almost 1 GByte of data, not necessary when just building packages. OBS-URL: https://build.opensuse.org/request/show/530507 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=102
This commit is contained in:
parent
5a0ed0f332
commit
895aefe388
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 1 20:36:49 UTC 2017 - stefan.bruens@rwth-aachen.de
|
||||||
|
|
||||||
|
- Move the vtk binary to the tcl subpackage, it is an interactive
|
||||||
|
TCL shell, and depends on the TCL bindings. It can be used
|
||||||
|
standalone from the devel package. Dito for its MPI variant, i.e.
|
||||||
|
the pvtk binary.
|
||||||
|
- Move all libvtk*Java.so to the java subpackage. These are part of
|
||||||
|
the Java bindings, i.e. runtime dependencies. Otherwise, the java
|
||||||
|
subpacakge depends on the devel subpackage.
|
||||||
|
- Add the tcl and java subpackage to the devel requires again.
|
||||||
|
Although not stricly necessary until building java or tcl packages,
|
||||||
|
the cmake files have a hard dependency on several build artifacts
|
||||||
|
provided by the tcl and java subpackages. Split devel packages
|
||||||
|
for the bindings would be preferred, but this is not supported by
|
||||||
|
the upstream build system.
|
||||||
|
- Remove the openmpi-devel requires in the python subpackage, the
|
||||||
|
mpi runtime libraries are provided by openmpi-libs, which is
|
||||||
|
picked up automatically.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 01 17:04:57 UTC 2017 - stefan.bruens@rwth-aachen.de
|
||||||
|
|
||||||
|
- Split the API documentation from the development subpackage. The
|
||||||
|
documentation amounts to almost 1 GByte of data, not necessary
|
||||||
|
when just building packages.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 28 10:43:27 UTC 2017 - badshah400@gmail.com
|
Thu Sep 28 10:43:27 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -139,7 +139,10 @@ This package provides the shared libraries for VTK.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: VTK header files for building C++ code
|
Summary: VTK header files for building C++ code
|
||||||
|
# not strictly necessary, but required by VTKs cmake files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{name}-java = %{version}
|
||||||
|
Requires: %{name}-tcl = %{version}
|
||||||
Requires: %{shlib} = %{version}
|
Requires: %{shlib} = %{version}
|
||||||
Requires: Mesa-libGL-devel
|
Requires: Mesa-libGL-devel
|
||||||
Requires: R-base-devel
|
Requires: R-base-devel
|
||||||
@ -177,6 +180,17 @@ rendering and visualization.
|
|||||||
This provides the VTK header files required to compile C++ programs that
|
This provides the VTK header files required to compile C++ programs that
|
||||||
use VTK to do 3D visualisation.
|
use VTK to do 3D visualisation.
|
||||||
|
|
||||||
|
%package devel-doc
|
||||||
|
Summary: VTK API documentation
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description devel-doc
|
||||||
|
VTK is a software system for image processing, 3D graphics, volume
|
||||||
|
rendering and visualization.
|
||||||
|
|
||||||
|
This provides the VTK API documentation useful for developing programs that
|
||||||
|
use VTK to do 3D visualisation.
|
||||||
|
|
||||||
%package java
|
%package java
|
||||||
Summary: Java bindings for VTK
|
Summary: Java bindings for VTK
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
@ -198,8 +212,6 @@ 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}
|
||||||
# DESPITE NOT BEING A DEVEL PACKAGE, THIS REQUIRES OPENMPI-DEVEL TO RUN
|
|
||||||
Requires: openmpi-devel
|
|
||||||
%if %{compat_gl}
|
%if %{compat_gl}
|
||||||
Conflicts: python3-vtk
|
Conflicts: python3-vtk
|
||||||
Provides: python3-vtk
|
Provides: python3-vtk
|
||||||
@ -431,7 +443,6 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Copyright.txt
|
%doc Copyright.txt
|
||||||
%{_bindir}/%{pkgname}
|
|
||||||
%{_bindir}/%{pkgname}EncodeString
|
%{_bindir}/%{pkgname}EncodeString
|
||||||
%{_bindir}/%{pkgname}HashSource
|
%{_bindir}/%{pkgname}HashSource
|
||||||
%{_bindir}/%{pkgname}WrapHierarchy
|
%{_bindir}/%{pkgname}WrapHierarchy
|
||||||
@ -444,11 +455,9 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
%if %{compat_gl}
|
%if %{compat_gl}
|
||||||
%{_bindir}/%{pkgname}ParseOGLExt
|
%{_bindir}/%{pkgname}ParseOGLExt
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/pvtk
|
|
||||||
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
||||||
%{_bindir}/%{pkgname}mkg3states
|
%{_bindir}/%{pkgname}mkg3states
|
||||||
%endif
|
%endif
|
||||||
%{_datadir}/doc/%{pkgname}-%{series}/
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
||||||
%{_libdir}/libvtktiff.so
|
%{_libdir}/libvtktiff.so
|
||||||
@ -456,11 +465,18 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
%{_libdir}/cmake/%{pkgname}/
|
%{_libdir}/cmake/%{pkgname}/
|
||||||
%{_libdir}/libvtkWrappingTools.a
|
%{_libdir}/libvtkWrappingTools.a
|
||||||
%{_includedir}/%{pkgname}-%{series}/
|
%{_includedir}/%{pkgname}-%{series}/
|
||||||
|
# VTK JNI bindings
|
||||||
|
%exclude %{_libdir}/libvtk*Java.so
|
||||||
%exclude %{_datadir}/tcl/vtk/vtktcl.c
|
%exclude %{_datadir}/tcl/vtk/vtktcl.c
|
||||||
|
|
||||||
|
%files devel-doc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_datadir}/doc/%{pkgname}-%{series}/
|
||||||
|
|
||||||
%files java
|
%files java
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/%{pkgname}.jar
|
%{_libdir}/%{pkgname}.jar
|
||||||
|
%{_libdir}/libvtk*Java.so
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -470,6 +486,8 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
|
|
||||||
%files tcl
|
%files tcl
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/%{pkgname}
|
||||||
|
%{_bindir}/p%{pkgname}
|
||||||
%{_datadir}/tcl/%{pkgname}/
|
%{_datadir}/tcl/%{pkgname}/
|
||||||
|
|
||||||
%files qt
|
%files qt
|
||||||
|
27
vtk.changes
27
vtk.changes
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 1 20:36:49 UTC 2017 - stefan.bruens@rwth-aachen.de
|
||||||
|
|
||||||
|
- Move the vtk binary to the tcl subpackage, it is an interactive
|
||||||
|
TCL shell, and depends on the TCL bindings. It can be used
|
||||||
|
standalone from the devel package. Dito for its MPI variant, i.e.
|
||||||
|
the pvtk binary.
|
||||||
|
- Move all libvtk*Java.so to the java subpackage. These are part of
|
||||||
|
the Java bindings, i.e. runtime dependencies. Otherwise, the java
|
||||||
|
subpacakge depends on the devel subpackage.
|
||||||
|
- Add the tcl and java subpackage to the devel requires again.
|
||||||
|
Although not stricly necessary until building java or tcl packages,
|
||||||
|
the cmake files have a hard dependency on several build artifacts
|
||||||
|
provided by the tcl and java subpackages. Split devel packages
|
||||||
|
for the bindings would be preferred, but this is not supported by
|
||||||
|
the upstream build system.
|
||||||
|
- Remove the openmpi-devel requires in the python subpackage, the
|
||||||
|
mpi runtime libraries are provided by openmpi-libs, which is
|
||||||
|
picked up automatically.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 01 17:04:57 UTC 2017 - stefan.bruens@rwth-aachen.de
|
||||||
|
|
||||||
|
- Split the API documentation from the development subpackage. The
|
||||||
|
documentation amounts to almost 1 GByte of data, not necessary
|
||||||
|
when just building packages.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 28 10:43:27 UTC 2017 - badshah400@gmail.com
|
Thu Sep 28 10:43:27 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
28
vtk.spec
28
vtk.spec
@ -139,7 +139,10 @@ This package provides the shared libraries for VTK.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: VTK header files for building C++ code
|
Summary: VTK header files for building C++ code
|
||||||
|
# not strictly necessary, but required by VTKs cmake files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{name}-java = %{version}
|
||||||
|
Requires: %{name}-tcl = %{version}
|
||||||
Requires: %{shlib} = %{version}
|
Requires: %{shlib} = %{version}
|
||||||
Requires: Mesa-libGL-devel
|
Requires: Mesa-libGL-devel
|
||||||
Requires: R-base-devel
|
Requires: R-base-devel
|
||||||
@ -177,6 +180,17 @@ rendering and visualization.
|
|||||||
This provides the VTK header files required to compile C++ programs that
|
This provides the VTK header files required to compile C++ programs that
|
||||||
use VTK to do 3D visualisation.
|
use VTK to do 3D visualisation.
|
||||||
|
|
||||||
|
%package devel-doc
|
||||||
|
Summary: VTK API documentation
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description devel-doc
|
||||||
|
VTK is a software system for image processing, 3D graphics, volume
|
||||||
|
rendering and visualization.
|
||||||
|
|
||||||
|
This provides the VTK API documentation useful for developing programs that
|
||||||
|
use VTK to do 3D visualisation.
|
||||||
|
|
||||||
%package java
|
%package java
|
||||||
Summary: Java bindings for VTK
|
Summary: Java bindings for VTK
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
@ -198,8 +212,6 @@ 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}
|
||||||
# DESPITE NOT BEING A DEVEL PACKAGE, THIS REQUIRES OPENMPI-DEVEL TO RUN
|
|
||||||
Requires: openmpi-devel
|
|
||||||
%if %{compat_gl}
|
%if %{compat_gl}
|
||||||
Conflicts: python3-vtk
|
Conflicts: python3-vtk
|
||||||
Provides: python3-vtk
|
Provides: python3-vtk
|
||||||
@ -431,7 +443,6 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Copyright.txt
|
%doc Copyright.txt
|
||||||
%{_bindir}/%{pkgname}
|
|
||||||
%{_bindir}/%{pkgname}EncodeString
|
%{_bindir}/%{pkgname}EncodeString
|
||||||
%{_bindir}/%{pkgname}HashSource
|
%{_bindir}/%{pkgname}HashSource
|
||||||
%{_bindir}/%{pkgname}WrapHierarchy
|
%{_bindir}/%{pkgname}WrapHierarchy
|
||||||
@ -444,11 +455,9 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
%if %{compat_gl}
|
%if %{compat_gl}
|
||||||
%{_bindir}/%{pkgname}ParseOGLExt
|
%{_bindir}/%{pkgname}ParseOGLExt
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/pvtk
|
|
||||||
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
||||||
%{_bindir}/%{pkgname}mkg3states
|
%{_bindir}/%{pkgname}mkg3states
|
||||||
%endif
|
%endif
|
||||||
%{_datadir}/doc/%{pkgname}-%{series}/
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
||||||
%{_libdir}/libvtktiff.so
|
%{_libdir}/libvtktiff.so
|
||||||
@ -456,11 +465,18 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
%{_libdir}/cmake/%{pkgname}/
|
%{_libdir}/cmake/%{pkgname}/
|
||||||
%{_libdir}/libvtkWrappingTools.a
|
%{_libdir}/libvtkWrappingTools.a
|
||||||
%{_includedir}/%{pkgname}-%{series}/
|
%{_includedir}/%{pkgname}-%{series}/
|
||||||
|
# VTK JNI bindings
|
||||||
|
%exclude %{_libdir}/libvtk*Java.so
|
||||||
%exclude %{_datadir}/tcl/vtk/vtktcl.c
|
%exclude %{_datadir}/tcl/vtk/vtktcl.c
|
||||||
|
|
||||||
|
%files devel-doc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_datadir}/doc/%{pkgname}-%{series}/
|
||||||
|
|
||||||
%files java
|
%files java
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/%{pkgname}.jar
|
%{_libdir}/%{pkgname}.jar
|
||||||
|
%{_libdir}/libvtk*Java.so
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -470,6 +486,8 @@ chrpath -d %{buildroot}%{_bindir}/*
|
|||||||
|
|
||||||
%files tcl
|
%files tcl
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/%{pkgname}
|
||||||
|
%{_bindir}/p%{pkgname}
|
||||||
%{_datadir}/tcl/%{pkgname}/
|
%{_datadir}/tcl/%{pkgname}/
|
||||||
|
|
||||||
%files qt
|
%files qt
|
||||||
|
Loading…
Reference in New Issue
Block a user