|
|
@ -13,7 +13,7 @@
|
|
|
|
Summary: Python bindings for Qt5
|
|
|
|
Summary: Python bindings for Qt5
|
|
|
|
Name: python-qt5
|
|
|
|
Name: python-qt5
|
|
|
|
Version: 5.4.1
|
|
|
|
Version: 5.4.1
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
# all BSD, except for GPLv2+ dbus bindings and examples
|
|
|
|
# all BSD, except for GPLv2+ dbus bindings and examples
|
|
|
|
License: BSD and GPLv2+
|
|
|
|
License: BSD and GPLv2+
|
|
|
@ -49,7 +49,9 @@ BuildRequires: pkgconfig(Qt5SerialPort)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql) pkgconfig(Qt5Svg) pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql) pkgconfig(Qt5Svg) pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml) pkgconfig(Qt5XmlPatterns)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml) pkgconfig(Qt5XmlPatterns)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(Qt5WebChannel)
|
|
|
|
BuildRequires: pkgconfig(Qt5WebKit) pkgconfig(Qt5WebKitWidgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5WebKit) pkgconfig(Qt5WebKitWidgets)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(Qt5WebSockets)
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: sip-devel >= 4.16.6
|
|
|
|
BuildRequires: sip-devel >= 4.16.6
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
@ -97,6 +99,8 @@ Summary: Python 3 bindings for Qt5
|
|
|
|
Requires: python3-qt5%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: python3-qt5%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
Requires: python3-sip-devel
|
|
|
|
Requires: python3-sip-devel
|
|
|
|
|
|
|
|
# FIXME: -devel scripts require base/python(2) runtime, https://bugzilla.redhat.com/1193107
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: python3-PyQt5-devel = %{version}-%{release}
|
|
|
|
Provides: python3-PyQt5-devel = %{version}-%{release}
|
|
|
|
%description -n python3-qt5-devel
|
|
|
|
%description -n python3-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
|
|
|
@ -130,6 +134,7 @@ PATH=%{_qt5_bindir}:$PATH ; export PATH
|
|
|
|
--confirm-license \
|
|
|
|
--confirm-license \
|
|
|
|
--no-timestamp \
|
|
|
|
--no-timestamp \
|
|
|
|
--qmake=%{_qt5_qmake} \
|
|
|
|
--qmake=%{_qt5_qmake} \
|
|
|
|
|
|
|
|
--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \
|
|
|
|
--verbose
|
|
|
|
--verbose
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
@ -143,6 +148,7 @@ pushd %{py3dir}
|
|
|
|
--confirm-license \
|
|
|
|
--confirm-license \
|
|
|
|
--no-timestamp \
|
|
|
|
--no-timestamp \
|
|
|
|
--qmake=%{_qt5_qmake} \
|
|
|
|
--qmake=%{_qt5_qmake} \
|
|
|
|
|
|
|
|
--no-qsci-api \
|
|
|
|
--verbose
|
|
|
|
--verbose
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
@ -216,8 +222,10 @@ sed -i \
|
|
|
|
%{python2_sitearch}/PyQt5/QtSql.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtSql.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtSvg.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtSvg.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtTest.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtTest.so
|
|
|
|
|
|
|
|
%{python2_sitearch}/PyQt5/QtWebChannel.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtWebKit.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtWebKit.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtWebKitWidgets.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtWebKitWidgets.so
|
|
|
|
|
|
|
|
%{python2_sitearch}/PyQt5/QtWebSockets.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtWidgets.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtWidgets.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtX11Extras.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtX11Extras.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtXml.so
|
|
|
|
%{python2_sitearch}/PyQt5/QtXml.so
|
|
|
@ -265,8 +273,10 @@ sed -i \
|
|
|
|
%{python3_sitearch}/PyQt5/QtSql.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtSql.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtSvg.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtSvg.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtTest.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtTest.so
|
|
|
|
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebChannel.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebKit.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebKit.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebKitWidgets.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebKitWidgets.so
|
|
|
|
|
|
|
|
%{python3_sitearch}/PyQt5/QtWebSockets.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtWidgets.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtWidgets.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtX11Extras.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtX11Extras.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtXml.so
|
|
|
|
%{python3_sitearch}/PyQt5/QtXml.so
|
|
|
@ -286,9 +296,19 @@ sed -i \
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%doc doc/*
|
|
|
|
%doc doc/*
|
|
|
|
%doc examples/
|
|
|
|
%doc examples/
|
|
|
|
|
|
|
|
# avoid dep on qscintilla-python, own %_qt5_datadir/qsci/... here for now
|
|
|
|
|
|
|
|
%dir %{_qt5_datadir}/qsci/
|
|
|
|
|
|
|
|
%dir %{_qt5_datadir}/qsci/api/
|
|
|
|
|
|
|
|
%dir %{_qt5_datadir}/qsci/api/python/
|
|
|
|
|
|
|
|
%doc %{_qt5_datadir}/qsci/api/python/PyQt5.api
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Jun 05 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-5
|
|
|
|
|
|
|
|
- -devel: Requires: python-qt5 (#1193107)
|
|
|
|
|
|
|
|
- -doc: add qsci doc QyQt5.api content
|
|
|
|
|
|
|
|
- enable Qt5WebChannel/Qt5WebSockets support
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 05 2015 Sandro Mani <manisandro@gmail.com> - 5.4.1-4
|
|
|
|
* Fri Jun 05 2015 Sandro Mani <manisandro@gmail.com> - 5.4.1-4
|
|
|
|
- Add patch to fix python3 sip installation dir (#1228432)
|
|
|
|
- Add patch to fix python3 sip installation dir (#1228432)
|
|
|
|
|
|
|
|
|
|
|
|