PyQt6-sip/PyQt6-sip.spec

75 lines
2.2 KiB
RPMSpec

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: PyQt6-sip
Version: 13.9.0
Release: 1mamba
Summary: The sip extension module provides support for the PyQt6 package
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/Python-SIP/sip
Source: https://pypi.debian.net/PyQt6-sip/PyQt6_sip-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython311-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
* Fri Dec 06 2024 Automatic Build System <autodist@openmamba.org> 13.9.0-1mamba
- automatic version update by autodist
* Sun Jul 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 13.8.0-1mamba
- update to 13.8.0
* Wed Oct 18 2023 Automatic Build System <autodist@mambasoft.it> 13.6.0-1mamba
- automatic version update by autodist
* Tue Jul 25 2023 Automatic Build System <autodist@mambasoft.it> 13.5.2-1mamba
- automatic version update by autodist
* Sun Apr 23 2023 Automatic Build System <autodist@mambasoft.it> 13.5.1-1mamba
- automatic version update by autodist
* Wed Apr 12 2023 Automatic Build System <autodist@mambasoft.it> 13.5.0-1mamba
- automatic version update by autodist
* Sun Jan 29 2023 Automatic Build System <autodist@mambasoft.it> 13.4.1-1mamba
- automatic version update by autodist
* Sun Aug 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 13.4.0-2mamba
- rebuilt
* Sun Jul 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 13.4.0-1mamba
- package created using the webbuild interface