initial package

Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
This commit is contained in:
Onuralp SEZER 2022-04-19 20:55:15 +03:00
parent dd5fe8d768
commit 672f72dc26
No known key found for this signature in database
GPG Key ID: 44887BE9A1D41395
3 changed files with 57 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/PyQt6_sip-13.3.0.tar.gz

55
python-pyqt6-sip.spec Normal file
View File

@ -0,0 +1,55 @@
%global pkg_name pyqt6-sip
%global pypi_name PyQt6_sip
%global _sip_api_major 13
%global _sip_api_minor 3
%global _sip_api %{_sip_api_major}.%{_sip_api_minor}
Name: python-%{pkg_name}
Version: 13.3.0
Release: 1%{?dist}
Summary: The sip module support for PyQt6
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 PyQt6 package.
}
%description %_description
%package -n python3-%{pkg_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pkg_name}}
Provides: python3-pyqt6-sip-api(%{_sip_api_major}) = %{_sip_api}
Provides: python3-pyqt6-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
%license LICENSE LICENSE-GPL3
%{python3_sitearch}/PyQt6_sip*
%{python3_sitearch}/PyQt6/
%changelog
* Wed Apr 13 2022 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 13.3.0-1
- Initial Package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (PyQt6_sip-13.3.0.tar.gz) = 82dd79d596ba904010d0b39ead9c0426c4d0f4a71146bb878250872a4b7d0d66c463efe79ba4b895de6f4b84b6d3c90a5ae7ad4dbba6b329a0018bff8e702520