diff --git a/PyQt5-5.15.7.tar.gz b/PyQt5-5.15.8.tar.gz similarity index 33% rename from PyQt5-5.15.7.tar.gz rename to PyQt5-5.15.8.tar.gz index 1e8943caa80eb1c9e25e745f18f5f9dfc3180515..6f16fa1097b0fefb189ce7c2107a207ef8c64676 100644 Binary files a/PyQt5-5.15.7.tar.gz and b/PyQt5-5.15.8.tar.gz differ diff --git a/python-qt5.spec b/python-qt5.spec index 6406195a708ba5653701dd2cea8d45548604bfbb..516ea1546d7ca841a5d021cbcb7d3f8e418e1714 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 1 %global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python3_sitearch}/dbus/mainloop") %global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) @@ -8,7 +8,7 @@ Summary: PyQt5 is Python bindings for Qt5 Name: python-qt5 -Version: 5.15.7 +Version: 5.15.8 Release: %{anolis_release}%{?dist} License: GPLv3 @@ -22,7 +22,6 @@ BuildRequires: chrpath BuildRequires: findutils BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-python) -BuildRequires: pkgconfig(phonon4qt5) BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5} = %{_qt5_version}} BuildRequires: pkgconfig(Qt5Core) >= 5.5 @@ -36,6 +35,8 @@ BuildRequires: pkgconfig(Qt5Nfc) BuildRequires: pkgconfig(Qt5Network) pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Positioning) BuildRequires: pkgconfig(Qt5Quick) pkgconfig(Qt5QuickWidgets) +BuildRequires: pkgconfig(Qt5Quick3D) +BuildRequires: pkgconfig(Qt5RemoteObjects) BuildRequires: pkgconfig(Qt5Sensors) BuildRequires: pkgconfig(Qt5SerialPort) BuildRequires: pkgconfig(Qt5Sql) pkgconfig(Qt5Svg) pkgconfig(Qt5Test) @@ -45,8 +46,8 @@ BuildRequires: pkgconfig(Qt5WebChannel) BuildRequires: pkgconfig(Qt5WebSockets) BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion} BuildRequires: python%{python3_pkgversion}-dbus -BuildRequires: %{py3_dist PyQt-builder} >= 1.1.0 -BuildRequires: %{py3_dist sip} >= 5.3 +BuildRequires: %{py3_dist PyQt-builder} >= 1.14.1 +BuildRequires: %{py3_dist sip} >= 6.6.2 %description %{summary}. @@ -84,6 +85,7 @@ Requires: python%{python3_pkgversion}-dbus %package -n python%{python3_pkgversion}-qt5-devel Summary: Development files for python3-qt5 Requires: python%{python3_pkgversion}-qt5 = %{version}-%{release} +Requires: python%{python3_pkgversion}-qt5-webkit = %{version}-%{release} Requires: qt5-qtbase-devel Provides: python%{python3_pkgversion}-PyQt5-devel = %{version}-%{release} %{?python_provide:%python_provide python%{python3_pkgversion}-qt5-devel} @@ -91,6 +93,15 @@ Provides: python%{python3_pkgversion}-PyQt5-devel = %{version}-%{release} Files needed to build other bindings for C++ classes that inherit from any of the Qt5 classes +%package -n python%{python3_pkgversion}-qt5-webkit +Summary: Python3 bindings for Qt5 Webkit +BuildRequires: pkgconfig(Qt5WebKit) +BuildRequires: pkgconfig(Qt5WebKitWidgets) +Requires: python%{python3_pkgversion}-qt5 = %{version}-%{release} +%{?python_provide:%python_provide python%{python3_pkgversion}-qt5-webkit} +%description -n python%{python3_pkgversion}-qt5-webkit +%{summary}. + %package doc Summary: Developer documentation for %{name} Provides: PyQt5-doc = %{version}-%{release} @@ -165,7 +176,9 @@ sed -i \ %{python3_sitearch}/PyQt5/QtPositioning.* %{python3_sitearch}/PyQt5/QtQml.* %{python3_sitearch}/PyQt5/QtQuick.* +%{python3_sitearch}/PyQt5/QtQuick3D.* %{python3_sitearch}/PyQt5/QtQuickWidgets.* +%{python3_sitearch}/PyQt5/QtRemoteObjects.* %{python3_sitearch}/PyQt5/QtSensors.* %{python3_sitearch}/PyQt5/QtSerialPort.* %{python3_sitearch}/PyQt5/QtSvg.* @@ -216,6 +229,10 @@ sed -i \ %files -n python%{python3_pkgversion}-qt5-devel %{python3_sitearch}/PyQt5/bindings/ +%files -n python%{python3_pkgversion}-qt5-webkit +%{python3_sitearch}/PyQt5/QtWebKit.* +%{python3_sitearch}/PyQt5/QtWebKitWidgets.* + %files doc #doc doc/* %doc examples/ @@ -227,6 +244,10 @@ sed -i \ %changelog +* Sun Jan 29 2023 Funda Wang - 5.15.8-1 +- New version 5.15.8 +- Enable quick3d, qtremoteobjects and qtwebkit modules + * Thu Jan 19 2023 Funda Wang - 5.15.7-2 - Rebuild for qt5 5.15.8