From c660d662ccf80514c4161664965e2ac478520fdb Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 22 Sep 2023 19:38:27 +0300 Subject: [PATCH] import python-pyqt5-sip-12.11.1-1.el9 --- .gitignore | 1 + .python-pyqt5-sip.metadata | 1 + SPECS/python-pyqt5-sip.spec | 59 +++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 .gitignore create mode 100644 .python-pyqt5-sip.metadata create mode 100644 SPECS/python-pyqt5-sip.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1af4a93 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/PyQt5_sip-12.11.1.tar.gz diff --git a/.python-pyqt5-sip.metadata b/.python-pyqt5-sip.metadata new file mode 100644 index 0000000..a82de72 --- /dev/null +++ b/.python-pyqt5-sip.metadata @@ -0,0 +1 @@ +b60d188655fd161762623c39481a1c0bbaa615f2 SOURCES/PyQt5_sip-12.11.1.tar.gz diff --git a/SPECS/python-pyqt5-sip.spec b/SPECS/python-pyqt5-sip.spec new file mode 100644 index 0000000..975d273 --- /dev/null +++ b/SPECS/python-pyqt5-sip.spec @@ -0,0 +1,59 @@ +%global pkg_name pyqt5-sip +%global pypi_name PyQt5_sip +%global _sip_api_major 12 +%global _sip_api_minor 11 +%global _sip_api %{_sip_api_major}.%{_sip_api_minor} + +Name: python-%{pkg_name} +Version: 12.11.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 +BuildRequires: %{py3_dist setuptools} >= 30.3 +BuildRequires: %{py3_dist wheel} + +%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} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pkg_name} +%doc README +%{python3_sitearch}/PyQt5_sip* +%{python3_sitearch}/PyQt5/ + +%changelog +* Fri Sep 22 2023 MSVSphere Packaging Team - 12.11.1-1 +- Rebuilt for MSVSphere 9.3 beta + +* Fri Apr 21 2023 Jan Grulich - 12.11.1-1 +- 12.11.1 + Resolves: bz#2188589 + +* Thu May 26 2022 Jan Grulich - 12.9.1-1 +- Initial package + Resolves: bz#2090327