%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: PyQt6-sip Version: 13.4.0 Release: 2mamba Summary: The sip extension module provides support for the PyQt6 package Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.riverbankcomputing.com/software/sip/ Source: https://pypi.debian.net/PyQt6-sip/PyQt6_sip-%{version}.tar.gz License: SIP ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpython310-devel ## AUTOBUILDREQ-END %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n PyQt6_sip-%{version} %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 %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/PyQt6_sip-%{version}-py*.egg-info %{python_sitearch}/PyQt6_sip-%{version}-py*.egg-info/* %doc LICENSE %changelog * Sun Aug 07 2022 Silvan Calarco 13.4.0-2mamba - rebuilt * Sun Jul 24 2022 Silvan Calarco 13.4.0-1mamba - package created using the webbuild interface