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