57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
Name: PyQt6-sip
|
|
Version: 13.4.1
|
|
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://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 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
|