- Merge -sip and -api package into -devel

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-qtdatavis3d-qt5?expand=0&rev=4
This commit is contained in:
Benjamin Greiner 2023-01-11 14:59:38 +00:00 committed by Git OBS Bridge
parent 37eec643b7
commit cfcbed89bf
2 changed files with 25 additions and 22 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 11 14:57:31 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Merge -sip and -api package into -devel
-------------------------------------------------------------------
Wed Jan 11 09:24:08 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -16,7 +16,7 @@
#
%define oldpython python
%define plainpython python
%define mname qtdatavis3d-qt5
%define skip_python2 1
@ -45,25 +45,26 @@ Provides: python-PyQtDataVisualization = %{version}-%{release}
PyQtDataVisualization is a set of Python bindings for the Qt5 Data
Visualization library.
%package api
Summary: Eric API files for %{name}
Group: Development/Libraries/C and C++
Supplements: packageand(eric:python-%{mname})
%description api
This package provides Qt5 Data Visualization library API files for the
Eric IDE.
%package sip
Summary: Sip files for %{name}
%package devel
Summary: Sip and eric API files for %{name}
Group: Development/Libraries/Python
Provides: %{oldpython}-%{mname}-sip = %{version}-%{release}
Obsoletes: %{oldpython}-%{mname}-sip < %{version}-%{release}
Provides: python-%{mname}-sip = %{version}-%{release}
Obsoletes: python-%{mname}-sip < %{version}-%{release}
Provides: python-%{mname}-api = %{version}-%{release}
Obsoletes: python-%{mname}-api < %{version}-%{release}
Provides: %{plainpython}-%{mname}-sip = %{version}-%{release}
Obsoletes: %{plainpython}-%{mname}-sip < %{version}-%{release}
Provides: %{plainpython}-%{mname}-api = %{version}-%{release}
Obsoletes: %{plainpython}-%{mname}-api < %{version}-%{release}
Requires: python-qt5-devel
Requires: %{plainpython}(abi) = %{python_version}
Supplements: (eric and python-%{mname})
Supplements: (python-qt5-devel and python-%{mname})
%description sip
This package provides the SIP files used to generate the Python bindings for
%{name}
%description devel
This package provides the SIP files used to generate the Python bindings
and Qt5 Data Visualization library API files for the Eric IDE for %{name}.
%package doc
Summary: Examples for %{name}
@ -91,14 +92,11 @@ This package provides %{name} examples.
%{python_sitearch}/PyQt5/QtDataVisualization.*
%{python_sitearch}/PyQtDataVisualization-%{version}.dist-info/
%files %{python_files api}
%license LICENSE
%dir %{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/
%{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/PyQtDataVisualization.api
%files %{python_files sip}
%files %{python_files devel}
%license LICENSE
%{pyqt5_sipdir}/QtDataVisualization/
%dir %{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/
%{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/PyQtDataVisualization.api
%files %{python_files doc}
%license LICENSE