|
|
@ -1,4 +1,4 @@
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
|
|
|
%global with_python3 1
|
|
|
|
%global with_python3 1
|
|
|
|
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python3_sitearch}/dbus/mainloop")
|
|
|
|
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python3_sitearch}/dbus/mainloop")
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
Summary: PyQt5 is Python bindings for Qt5
|
|
|
|
Summary: PyQt5 is Python bindings for Qt5
|
|
|
|
Name: python-qt5
|
|
|
|
Name: python-qt5
|
|
|
|
Version: 5.10
|
|
|
|
Version: 5.10
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv3
|
|
|
|
License: GPLv3
|
|
|
|
Url: http://www.riverbankcomputing.com/software/pyqt/
|
|
|
|
Url: http://www.riverbankcomputing.com/software/pyqt/
|
|
|
@ -78,9 +78,9 @@ BuildRequires: python2-devel python2
|
|
|
|
BuildRequires: %{python2_dbus}
|
|
|
|
BuildRequires: %{python2_dbus}
|
|
|
|
BuildRequires: python2-sip-devel >= 4.19.7
|
|
|
|
BuildRequires: python2-sip-devel >= 4.19.7
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
BuildRequires: python3-devel python3
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}
|
|
|
|
BuildRequires: python3-sip-devel >= 4.19.7
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sip-devel >= 4.19.7
|
|
|
|
BuildRequires: python3-dbus
|
|
|
|
BuildRequires: python%{python3_pkgversion}-dbus
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
# when split out
|
|
|
|
# when split out
|
|
|
@ -132,38 +132,38 @@ BuildArch: noarch
|
|
|
|
%description rpm-macros
|
|
|
|
%description rpm-macros
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-qt5
|
|
|
|
%package -n python%{python3_pkgversion}-qt5
|
|
|
|
Summary: Python 3 bindings for Qt5
|
|
|
|
Summary: Python 3 bindings for Qt5
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
%{?_sip_api:Requires: python3-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
|
%{?_sip_api:Requires: python%{python3_pkgversion}-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
|
# when split out
|
|
|
|
# when split out
|
|
|
|
%if 0%{?webengine} || 0%{?webkit}
|
|
|
|
%if 0%{?webengine} || 0%{?webkit}
|
|
|
|
Obsoletes: python3-qt5 < 5.5.1-10
|
|
|
|
Obsoletes: python3-qt5 < 5.5.1-10
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Provides: python3-PyQt5 = %{version}-%{release}
|
|
|
|
Provides: python%{python3_pkgversion}-PyQt5 = %{version}-%{release}
|
|
|
|
Provides: python3-PyQt5%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: python%{python3_pkgversion}-PyQt5%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: python3-qt5-base%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-qt5-base%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n python3-qt5
|
|
|
|
%description -n python%{python3_pkgversion}-qt5
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-qt5-base
|
|
|
|
%package -n python%{python3_pkgversion}-qt5-base
|
|
|
|
Summary: Python 3 bindings for Qt5 base
|
|
|
|
Summary: Python 3 bindings for Qt5 base
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
%{?_sip_api:Requires: python3-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
|
%{?_sip_api:Requires: python%{python3_pkgversion}-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
|
Provides: python3-PyQt5-base = %{version}-%{release}
|
|
|
|
Provides: python%{python3_pkgversion}-PyQt5-base = %{version}-%{release}
|
|
|
|
Provides: python3-PyQt5-base%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: python%{python3_pkgversion}-PyQt5-base%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-rpm-macros = %{version}-%{release}
|
|
|
|
Requires: %{name}-rpm-macros = %{version}-%{release}
|
|
|
|
Requires: python3-dbus
|
|
|
|
Requires: python%{python3_pkgversion}-dbus
|
|
|
|
%description -n python3-qt5-base
|
|
|
|
%description -n python%{python3_pkgversion}-qt5-base
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-qt5-devel
|
|
|
|
%package -n python%{python3_pkgversion}-qt5-devel
|
|
|
|
Summary: Development files for python3-qt5
|
|
|
|
Summary: Development files for python3-qt5
|
|
|
|
Requires: python3-qt5%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-qt5%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
Requires: python3-sip-devel
|
|
|
|
Requires: python%{python3_pkgversion}-sip-devel
|
|
|
|
Provides: python3-PyQt5-devel = %{version}-%{release}
|
|
|
|
Provides: python%{python3_pkgversion}-PyQt5-devel = %{version}-%{release}
|
|
|
|
%description -n python3-qt5-devel
|
|
|
|
%description -n python%{python3_pkgversion}-qt5-devel
|
|
|
|
Files needed to build other bindings for C++ classes that inherit from any
|
|
|
|
Files needed to build other bindings for C++ classes that inherit from any
|
|
|
|
of the Qt5 classes
|
|
|
|
of the Qt5 classes
|
|
|
|
|
|
|
|
|
|
|
@ -183,12 +183,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description webengine
|
|
|
|
%description webengine
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-qt5-webengine
|
|
|
|
%package -n python%{python3_pkgversion}-qt5-webengine
|
|
|
|
Summary: Python3 bindings for Qt5 WebEngine
|
|
|
|
Summary: Python3 bindings for Qt5 WebEngine
|
|
|
|
Obsoletes: python3-webengine < 5.5.1-13
|
|
|
|
Obsoletes: python3-webengine < 5.5.1-13
|
|
|
|
Obsoletes: python3-qt5 < 5.5.1-10
|
|
|
|
Obsoletes: python3-qt5 < 5.5.1-10
|
|
|
|
Requires: python3-qt5%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-qt5%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n python3-qt5-webengine
|
|
|
|
%description -n python%{python3_pkgversion}-qt5-webengine
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -202,11 +202,11 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description webkit
|
|
|
|
%description webkit
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-qt5-webkit
|
|
|
|
%package -n python%{python3_pkgversion}-qt5-webkit
|
|
|
|
Summary: Python3 bindings for Qt5 Webkit
|
|
|
|
Summary: Python3 bindings for Qt5 Webkit
|
|
|
|
Obsoletes: python3-qt5 < 5.5.1-10
|
|
|
|
Obsoletes: python3-qt5 < 5.5.1-10
|
|
|
|
Requires: python3-qt5%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-qt5%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n python3-qt5-webkit
|
|
|
|
%description -n python%{python3_pkgversion}-qt5-webkit
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -386,7 +386,7 @@ sed -i \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%files -n python3-qt5
|
|
|
|
%files -n python%{python3_pkgversion}-qt5
|
|
|
|
%{python3_sitearch}/PyQt5/Enginio.*
|
|
|
|
%{python3_sitearch}/PyQt5/Enginio.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtBluetooth.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtBluetooth.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtDesigner.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtDesigner.*
|
|
|
@ -416,7 +416,7 @@ sed -i \
|
|
|
|
%{python3_sitearch}/PyQt5/pyrcc.so
|
|
|
|
%{python3_sitearch}/PyQt5/pyrcc.so
|
|
|
|
%{python3_sitearch}/PyQt5/pyrcc_main.py*
|
|
|
|
%{python3_sitearch}/PyQt5/pyrcc_main.py*
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-qt5-base
|
|
|
|
%files -n python%{python3_pkgversion}-qt5-base
|
|
|
|
%doc NEWS README
|
|
|
|
%doc NEWS README
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%{python3_dbus_dir}/pyqt5.so
|
|
|
|
%{python3_dbus_dir}/pyqt5.so
|
|
|
@ -439,19 +439,19 @@ sed -i \
|
|
|
|
%{python3_sitearch}/PyQt5/_QOpenGLFunctions_4_1_Core.*
|
|
|
|
%{python3_sitearch}/PyQt5/_QOpenGLFunctions_4_1_Core.*
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?webengine}
|
|
|
|
%if 0%{?webengine}
|
|
|
|
%files -n python3-qt5-webengine
|
|
|
|
%files -n python%{python3_pkgversion}-qt5-webengine
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebEngine.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebEngine.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebEngineCore.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebEngineCore.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebEngineWidgets.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebEngineWidgets.*
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?webkit}
|
|
|
|
%if 0%{?webkit}
|
|
|
|
%files -n python3-qt5-webkit
|
|
|
|
%files -n python%{python3_pkgversion}-qt5-webkit
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebKit.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebKit.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebKitWidgets.*
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebKitWidgets.*
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-qt5-devel
|
|
|
|
%files -n python%{python3_pkgversion}-qt5-devel
|
|
|
|
%{_datadir}/python3-sip/PyQt5/
|
|
|
|
%{_datadir}/python3-sip/PyQt5/
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
@ -466,6 +466,9 @@ sed -i \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Mar 03 2018 Sérgio Basto <sergio@serjux.com> - 5.10-4
|
|
|
|
|
|
|
|
- Enable python3 on epel7
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10-3
|
|
|
|
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10-3
|
|
|
|
- rebuild (qt5)
|
|
|
|
- rebuild (qt5)
|
|
|
|
|
|
|
|
|
|
|
|