2024-01-05 17:53:10 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
|
|
Name: PyQt6-WebEngine
|
2024-04-28 10:36:43 +02:00
|
|
|
Version: 6.7.0
|
2024-01-05 17:53:10 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:53:10 +01:00
|
|
|
Summary: Python bindings for the WebEngine module of the Qt6 cross platform GUI toolkit
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.riverbankcomputing.com/software/pyqtwebengine/
|
|
|
|
Source: https://pypi.debian.net/PyQt6-WebEngine/PyQt6_WebEngine-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: python3.11dist(pyqt6)
|
|
|
|
BuildRequires: python3.11dist(pyqt6-sip)
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: qt6-qtbase-devel
|
|
|
|
BuildRequires: qt6-qtdeclarative-devel
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: qt6-qtpositioning-devel
|
|
|
|
BuildRequires: qt6-qtwebchannel-devel
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: qt6-qtwebengine-devel
|
2024-01-05 17:53:10 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: PyQt6-py3
|
|
|
|
BuildRequires: python-sip-py3
|
2024-01-05 17:53:10 +01:00
|
|
|
BuildRequires: qt6-qtwebengine-devel
|
2024-01-05 17:53:10 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
2024-01-05 17:53:10 +01:00
|
|
|
%define py_requires_append \
|
|
|
|
Requires: qt6-qtwebengine \
|
2024-01-05 17:53:10 +01:00
|
|
|
Requires: qt6-qtwebchannel \
|
|
|
|
Obsoletes: PyQt6-WebEngine-py310 < 6.6.0
|
2024-01-05 17:53:10 +01:00
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 17:53:10 +01:00
|
|
|
%setup -q -n PyQt6_WebEngine-%{version}
|
2024-01-05 17:53:10 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
sip-build-py%{with_pyver} \
|
|
|
|
--no-make \
|
|
|
|
--api-dir %{_datadir}/qt6/qsci/api/python \
|
|
|
|
--qmake=%{_bindir}/qmake-qt6
|
|
|
|
|
|
|
|
cd build
|
|
|
|
# Workaround for qwebchannel.h: No such file or directory
|
|
|
|
make CXX="g++ -I/usr/include/qt6/QtWebChannel"
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
%files %{?pyappend}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python_sitearch}/PyQt6
|
|
|
|
%{python_sitearch}/PyQt6/QtWebEngine*.so
|
|
|
|
%dir %{python_sitearch}/PyQt6/bindings/QtWebEngineCore
|
|
|
|
%{python_sitearch}/PyQt6/bindings/QtWebEngineCore/*
|
|
|
|
%dir %{python_sitearch}/PyQt6/bindings/QtWebEngineQuick
|
|
|
|
%{python_sitearch}/PyQt6/bindings/QtWebEngineQuick/*
|
|
|
|
%dir %{python_sitearch}/PyQt6/bindings/QtWebEngineWidgets
|
|
|
|
%{python_sitearch}/PyQt6/bindings/QtWebEngineWidgets/*
|
|
|
|
%dir %{python_sitearch}/PyQt6_WebEngine-%{version}.dist-info
|
|
|
|
%{python_sitearch}/PyQt6_WebEngine-%{version}.dist-info/*
|
|
|
|
%{_datadir}/qt6/qsci/api/python/PyQt6-WebEngine.api
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-04-28 10:36:43 +02:00
|
|
|
* Sat Apr 27 2024 Automatic Build System <autodist@openmamba.org> 6.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:53:10 +01:00
|
|
|
* Tue Nov 07 2023 Automatic Build System <autodist@mambasoft.it> 6.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:53:10 +01:00
|
|
|
* Tue Apr 11 2023 Automatic Build System <autodist@mambasoft.it> 6.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:53:10 +01:00
|
|
|
* Wed Oct 05 2022 Automatic Build System <autodist@mambasoft.it> 6.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:53:10 +01:00
|
|
|
* Wed Aug 31 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.1-2mamba
|
|
|
|
- require qt6-qtwebengine and qt6-qtwebchannel
|
|
|
|
|
2024-01-05 17:53:10 +01:00
|
|
|
* Sun Aug 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.1-1mamba
|
|
|
|
- package created using the webbuild interface
|