Initial package

Resolves: bz#2081238
This commit is contained in:
Jan Grulich 2022-05-16 08:35:28 +02:00
parent 98fe44de9e
commit d9f27227df
4 changed files with 58 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/PyQt-builder-1.12.2.tar.gz

50
PyQt-builder.spec Normal file
View File

@ -0,0 +1,50 @@
%global pypi_name PyQt-builder
%global srcname PyQt-builder
Name: %{srcname}
Version: 1.12.2
Release: 1%{?dist}
Summary: The PEP 517 compliant PyQt build system
License: GPLv2 or GPLv3
URL: https://www.riverbankcomputing.com/software/pyqt/
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
PyQt-builder is the PEP 517 compliant build system for PyQt and projects that
extend PyQt. It extends the sip build system and uses Qt's qmake to perform the
actual compilation and installation of extension modules.Projects that use
PyQt- builder provide an appropriate pyproject.toml file and an optional
project.py.
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
# These dll files are from openssl and microsoft visiual studio
# While we can redistribute them, we don't have source and it's
# unlikely anyone will want to bundle a windows executable from linux.
rm -rf %{buildroot}/%{python3_sitelib}/pyqtbuild/bundle/dlls
%files
%license LICENSE-GPL2
%license LICENSE-GPL3
%{_bindir}/pyqt-bundle
%{_bindir}/pyqt-qt-wheel
%{python3_sitelib}/pyqtbuild
%{python3_sitelib}/PyQt_builder-%{version}-py%{python3_version}.egg-info
%changelog
* Mon May 09 2022 Jan Grulich <jgrulich@redhat.com> - 1.12.2-1
- Initial package
Resolves: bz#2081238

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (PyQt-builder-1.12.2.tar.gz) = 022f2cd40c100543c4b442fc5b27bbf2ec853d94b531f8f6dc1d7f92b07bcc20e8f0a4eb64feb96d094ba0d5f01fddcc8aed23ddf67a61417e07983a73918230