PyQt-builder/PyQt-builder.spec

111 lines
3.5 KiB
RPMSpec
Raw Normal View History

Name: PyQt-builder
Version: 1.15.2
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: libpython3-devel
BuildRequires: python3.7dist(packaging)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(sip)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "/^\/usr\/bin/d" %{name}.filelist
for f in bundle qt-wheel; do
mv %{buildroot}%{_bindir}/pyqt-${f} %{buildroot}%{_bindir}/pyqt-${f}-py%{with_pyver}
%if "0%{?with_pyver}" == "03"
ln -s pyqt-${f}-py%{with_pyver} %{buildroot}%{_bindir}/pyqt-${f}
%endif
done
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%{_bindir}/pyqt-bundle*
%{_bindir}/pyqt-qt-wheel*
%dir %{python_sitearch}/PyQt_builder-%{version}-py*.egg-info
%{python_sitearch}/PyQt_builder-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* 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