PyQt-builder/PyQt-builder.spec

117 lines
3.8 KiB
RPMSpec
Raw Normal View History

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: PyQt-builder
Version: 1.16.4
Release: 1mamba
Summary: PEP 517 Compliant PyQt Build System
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.riverbankcomputing.com/software/pyqt/
Source: https://pypi.debian.net/PyQt-builder/pyqt_builder-%{version}.tar.gz
License: SIP
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(packaging)
BuildRequires: python3.11dist(sip)
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11.5
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n pyqt_builder-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend}
%defattr(-,root,root)
%{_bindir}/pyqt-bundle*
%{_bindir}/pyqt-qt-wheel*
%dir %{python3_sitelib}/PyQt_builder-%{version}.dist-info
%{python3_sitelib}/PyQt_builder-%{version}.dist-info/*
%dir %{python3_sitelib}/pyqtbuild
%{python3_sitelib}/pyqtbuild/*
%doc LICENSE
%changelog
* Sun Aug 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.4-1mamba
- update to 1.16.4
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 1.15.4-1mamba
- automatic version update by autodist
* Sat Oct 14 2023 Automatic Build System <autodist@mambasoft.it> 1.15.3-1mamba
- automatic version update by autodist
* Sun Sep 24 2023 Automatic Build System <autodist@mambasoft.it> 1.15.2-2mamba
- rebuilt with python3 = 3.11.5
* Tue Jul 25 2023 Automatic Build System <autodist@mambasoft.it> 1.15.2-1mamba
- automatic version update by autodist
* Fri May 26 2023 Automatic Build System <autodist@mambasoft.it> 1.15.1-1mamba
- automatic version update by autodist
* Mon Apr 10 2023 Automatic Build System <autodist@mambasoft.it> 1.15.0-1mamba
- automatic version update by autodist
* Sat Jan 28 2023 Automatic Build System <autodist@mambasoft.it> 1.14.1-1mamba
- automatic version update by autodist
* Mon Oct 03 2022 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
- automatic version update by autodist
* Sat Jun 18 2022 Automatic Build System <autodist@mambasoft.it> 1.13.0-1mamba
- automatic version update by autodist
* Thu Apr 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.2-2mamba
- rebuilt with python 3.10
* Thu Oct 28 2021 Automatic Build System <autodist@mambasoft.it> 1.12.2-1mamba
- automatic version update by autodist
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 1.12.1-1mamba
- automatic version update by autodist
* Sun Oct 03 2021 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
- automatic version update by autodist
* Sun Jul 04 2021 Automatic Build System <autodist@mambasoft.it> 1.10.3-1mamba
- automatic version update by autodist
* Sun Jul 04 2021 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
- automatic version update by autodist
* Wed Jun 16 2021 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
- automatic version update by autodist
* Wed May 12 2021 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* Thu Mar 11 2021 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
- automatic version update by autodist
* Wed Feb 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-1mamba
- package created using the webbuild interface