%global pkg_name pyqt5-sip %global pypi_name PyQt5_sip %global _sip_api_major 12 %global _sip_api_minor 12 %global _sip_api %{_sip_api_major}.%{_sip_api_minor} Name: python-%{pkg_name} Version: 12.12.1 Release: 1%{?dist} Summary: The sip module support for PyQt5 License: GPLv2 or GPLv3 URL: https://www.riverbankcomputing.com/software/sip/ Source0: %{pypi_source} BuildRequires: gcc BuildRequires: python3-devel %global _description %{expand: The sip extension module provides support for the PyQt5 package. } %description %_description %package -n python3-%{pkg_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pkg_name}} Provides: python3-pyqt5-sip-api(%{_sip_api_major}) = %{_sip_api} Provides: python3-pyqt5-sip-api(%{_sip_api_major})%{?_isa} = %{_sip_api} %description -n python3-%{pkg_name} %_description %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %check %py3_check_import PyQt5.sip %files -n python3-%{pkg_name} %doc README %{python3_sitearch}/PyQt5_sip* %{python3_sitearch}/PyQt5/ %changelog * Wed Apr 26 2023 Scott Talbert - 12.12.1-1 - Update to new upstream release 12.12.1 (#2185558) * Tue Jan 31 2023 Scott Talbert - 12.11.1-1 - Update to new upstream release 12.11.1 (#2165212) - Modernize python packaging * Fri Jan 20 2023 Fedora Release Engineering - 12.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 12.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 20 2022 Scott Talbert - 12.11.0-1 - Update to new upstream release 12.11.0 (#2074708) * Mon Jun 13 2022 Python Maint - 12.9.1-3 - Rebuilt for Python 3.11 * Sat Mar 12 2022 Scott Talbert - 12.9.1-2 - Fix FTBFS with Python 3.11.0a6 (#2062145) * Fri Feb 18 2022 Scott Talbert - 12.9.1-1 - Update to new upstream release 12.9.1 (#2049165) * Fri Jan 21 2022 Fedora Release Engineering - 12.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 12.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jul 10 2021 Scott Talbert - 12.9.0-1 - Update to latest upstream release for sip 6 * Tue Jul 06 2021 Scott Talbert - 12.8.1-2 - Correct sip-api provides (#1979409) * Mon May 24 2021 Scott Talbert - 12.8.1-1 - Initial package