diff --git a/PyQt6-sip.spec b/PyQt6-sip.spec new file mode 100644 index 0000000..6b01a41 --- /dev/null +++ b/PyQt6-sip.spec @@ -0,0 +1,53 @@ +%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 diff --git a/README.md b/README.md index cab29a4..126cd41 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # PyQt6-sip +The sip extension module provides support for the PyQt6 package. +