%define majver %(echo %version | cut -d. -f1-2) Name: PyQtChart Version: 5.15.6 Release: 2mamba Summary: A set of Python bindings for The Qt Company’s Qt Charts library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.org/project/PyQtChart/ Source: https://pypi.debian.net/PyQtChart/PyQtChart-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libQt5Charts-devel BuildRequires: libgcc BuildRequires: libglvnd-devel BuildRequires: libpython311-devel BuildRequires: libstdc++6-devel BuildRequires: python3.11dist(pyqt5) BuildRequires: python3.11dist(pyqt5-sip) BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba BuildRequires: PyQt5-py3 >= %{majver} BuildRequires: python-sip-py3 %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n PyQtChart-%{version} %build sip-build%{?pyappend:-%pyappend} \ --no-make \ --api-dir %{_datadir}/qt/qsci/api/python cd build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build INSTALL_ROOT=%{buildroot} %files %{?pyappend} %defattr(-,root,root) %{python_sitearch}/PyQt5/QtChart.abi*.so %dir %{python_sitearch}/PyQt5/bindings/QtChart %{python_sitearch}/PyQt5/bindings/QtChart/*.sip %{python_sitearch}/PyQt5/bindings/QtChart/QtChart.toml %dir %{python_sitearch}/PyQtChart-%{version}.dist-info %{python_sitearch}/PyQtChart-%{version}.dist-info/* %{_datadir}/qt/qsci/api/python/PyQtChart.api %doc LICENSE %changelog * Fri Sep 29 2023 Automatic Build System 5.15.6-2mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Mon Mar 13 2023 Automatic Build System 5.15.6-1mamba - automatic update by autodist * Sat Mar 13 2021 Silvan Calarco 5.15.4-1mamba - update to 5.15.4 * Sat Apr 25 2020 Silvan Calarco 5.14.0-2mamba - fix installation path of QtChart.so * Tue Apr 14 2020 Silvan Calarco 5.14.0-1mamba - package created using the webbuild interface