## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 17; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name PyQtChart Name: python-pyqtchart Version: 5.15.5 Release: %autorelease Summary: Set of Python bindings for The Qt Charts library # Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only URL: https://www.riverbankcomputing.com/software/pyqtchart/ Source0: %pypi_source BuildRequires: make BuildRequires: python3-devel BuildRequires: python3-qt5-devel BuildRequires: python3dist(sip) >= 5.3 BuildRequires: python3dist(pyqt-builder) >= 1.6 BuildRequires: qt5-qtcharts-devel # as of 2020-04-18, depends on libQt5Charts.so.5(Qt_5.14.2_PRIVATE_API)(64bit) BuildRequires: qt5-qtbase-private-devel %global distinfo %{python3_sitearch}/PyQtChart-%{version}.dist-info %description PyQtChart is a set of Python bindings for The Qt Company's Qt Charts library. The bindings sit on top of PyQt5 and are implemented as a single module. %package -n python3-pyqtchart Summary: %{summary} %{?python_provide:%python_provide python3-pyqtchart} Requires: python3-qt5 %description -n python3-pyqtchart PyQtChart is a set of Python 3 bindings for The Qt Company's Qt Charts library. The bindings sit on top of PyQt5 and are implemented as a single module. %package -n python3-pyqtchart-devel Summary: Development files for PyQtChart %{?python_provide:%python_provide python3-pyqtchart-devel} Requires: python3-pyqtchart%{_isa} == %{version}-%{release} # For the directories: Requires: python3-qt5-devel Requires: python3-qscintilla-qt5 %description -n python3-pyqtchart-devel Development files for PyQtChart, such as sip files. %prep %autosetup -p1 -n PyQtChart-%{version} %build %set_build_flags sip-build \ --no-make \ --qmake="%{_qt5_qmake}" \ --api-dir=%{_qt5_datadir}/qsci/api/python \ --verbose %make_build CXXFLAGS="%{optflags} -fPIC \$(DEFINES)" -C build %install %make_install INSTALL_ROOT=%{buildroot} -C build # Make sure all modules are executable for RPM to get their dependencies, debuginfo, etc. chmod a+rx %{buildroot}%{python3_sitearch}/PyQt5/*.so %check # Make sure we don't leak buildroot to dist-info grep %{buildroot} %{buildroot}%{distinfo}/* && exit 1 || true %files -n python3-pyqtchart %license LICENSE %doc ChangeLog NEWS README %{python3_sitearch}/PyQt5/QtChart.* %{distinfo}/ %files -n python3-pyqtchart-devel %{_datadir}/qt5/qsci/api/python/PyQtChart.api %{python3_sitearch}/PyQt5/bindings/QtChart/ %changelog ## START: Generated by rpmautospec * Mon Jul 29 2024 Miroslav Suchý - 5.15.5-17 - convert GPLv3 license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 5.15.5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 5.15.5-15 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 5.15.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 5.15.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 5.15.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Python Maint - 5.15.5-9 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 5.15.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 5.15.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Jan Grulich - 5.15.5-6 - Rebuild (qt5) * Mon Jun 13 2022 Python Maint - 5.15.5-5 - Rebuilt for Python 3.11 * Tue May 17 2022 Jan Grulich - 5.15.5-4 - Rebuild (qt5) * Tue Mar 08 2022 Jan Grulich - 5.15.5-3 - Rebuild (qt5) * Fri Jan 21 2022 Fedora Release Engineering - 5.15.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Nov 30 2021 Tomáš Hrnčiar - 5.15.5-1 - Update to 5.15.5 * Mon Oct 04 2021 Tomas Hrnciar - 5.15.4-1 - Update to 5.15.4 * Fri Jul 23 2021 Fedora Release Engineering - 5.15.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 10 2021 Scott Talbert - 5.15.2-4 - Update to build with sip 5 * Fri Jun 04 2021 Python Maint - 5.15.2-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 5.15.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Dec 10 2020 Lumír Balhar - 5.15.2-1 - Update to 5.15.2 * Mon Nov 23 07:56:07 CET 2020 Jan Grulich - 5.15.1-2 - rebuild (qt5) * Thu Oct 15 2020 Tomas Hrnciar - 5.15.1-1 - Update to 5.15.1 (#1878361) * Fri Sep 11 2020 Jan Grulich - 5.15.0-3 - rebuild (qt5) * Wed Jul 29 2020 Fedora Release Engineering - 5.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 01 2020 Charalampos Stratakis - 5.15.0-1 - Update to 5.15.0 (#1825487) * Tue May 26 2020 Miro Hrončok - 5.13.1-2 - Rebuilt for Python 3.9 * Sat Apr 18 2020 Miro Hrončok - 5.13.1-1 - Update to 5.13.1 * Mon Apr 06 2020 Rex Dieter - 5.12-8 - rebuild (qt5) * Thu Jan 30 2020 Fedora Release Engineering - 5.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 27 2020 Rex Dieter - 5.12-6 - drop BR: qt5-devel (convenience virtual dep only, packages should not use) - BR: qt5-qtbase-private-devel (track private api usage) - add explicit versioned dep on python3-pyqt5-sip-api - drop explicit Requires: qt5-qtbase (rely on rpm autodeps) * Mon Aug 19 2019 Miro Hrončok - 5.12-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 5.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 20 2019 Miro Hrončok - 5.12-3 - Fix Python modules permissions to properly fix (#1731656) * Sat Jul 20 2019 Miro Hrončok - 5.12-2 - Add explicit runtime dependency on qt5-qtcharts (#1731656) * Mon Jul 15 2019 Miro Hrončok - 5.12-1 - Update to 5.12 * Sat Feb 02 2019 Fedora Release Engineering - 5.11.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 5.11.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 Miro Hrončok - 5.11.1-2 - Rebuilt for Python 3.7 * Fri Jun 29 2018 Miro Hrončok - 5.11.1-1 - Initial package ## END: Generated by rpmautospec