pyqtwebengine/pyqtwebengine.spec

92 lines
2.6 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: pyqtwebengine
Version: 5.15.6
Release: 1mamba
Summary: A set of Python bindings for The Qt Companys Qt WebEngine framework
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.riverbankcomputing.com/software/pyqtwebengine/intro
Source: https://pypi.debian.net/PyQtWebEngine/PyQtWebEngine-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(pyqt5)
BuildRequires: python3.7dist(pyqt5-sip)
## AUTOBUILDREQ-END
BuildRequires: libQt5WebEngine-devel >= %{version}
BuildRequires: PyQt5-py3
BuildRequires: PyQt5-sip-py3
BuildRequires: PyQt5-py310
BuildRequires: PyQt5-sip-py310
%description
%{summary}.
%package sip
Summary: Sip interfaces for %{name}
Group: System/Libraries
%description sip
%{summary}.
This package contains the Sip interfaces for %{name}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n PyQtWebEngine-%{version}
%build
sip-build-py%{with_pyver} \
--no-make \
--api-dir %{_datadir}/qt5/qsci/api/python
cd build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build INSTALL_ROOT=%{buildroot}
%files %{?pyappend}
%defattr(-,root,root)
%{python_sitearch}/PyQt5/QtWebEngine.abi3.so
%{python_sitearch}/PyQt5/QtWebEngineCore.abi3.so
%{python_sitearch}/PyQt5/QtWebEngineWidgets.abi3.so
%dir %{python_sitearch}/PyQtWebEngine-%{version}.dist-info
%{python_sitearch}/PyQtWebEngine-%{version}.dist-info/*
%files sip
%defattr(-,root,root)
%{_datadir}/qt5/qsci/api/python/PyQtWebEngine.api
%dir %{python_sitearch}/PyQt5/bindings/QtWebEngine
%{python_sitearch}/PyQt5/bindings/QtWebEngine/*
%dir %{python_sitearch}/PyQt5/bindings/QtWebEngineCore
%{python_sitearch}/PyQt5/bindings/QtWebEngineCore/*
%dir %{python_sitearch}/PyQt5/bindings/QtWebEngineWidgets
%{python_sitearch}/PyQt5/bindings/QtWebEngineWidgets/*
%doc LICENSE
%changelog
* Tue Jul 05 2022 Automatic Build System <autodist@mambasoft.it> 5.15.6-1mamba
- automatic version update by autodist
* Tue Apr 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.5-1mamba
- update to 5.15.5
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- update to 5.15.2
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.14.0-1mamba
- update to 5.14.0
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.13.1-1mamba
- update to 5.13.1
* Wed Oct 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.13.0-1mamba
- package created using the webbuild interface