python-qt5/python-qt5.spec

668 lines
21 KiB
RPMSpec
Raw Normal View History

2014-02-13 15:59:45 +00:00
2014-02-15 20:10:19 +00:00
%if 0%{?fedora}
2014-11-13 16:07:24 +00:00
%global with_python3 1
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])")
2014-02-15 20:10:19 +00:00
%endif
%global with_python2 1
%global python2_dbus_dir %(%{__python2} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])")
2014-02-15 20:10:19 +00:00
2016-03-02 13:55:57 +00:00
# enable/disable individual modules
# drop power64, it's not supported yet (than)
2016-12-15 12:19:53 +00:00
%if 0%{?fedora} > 22
2017-01-01 07:07:50 +00:00
%ifarch %{?qt5_qtwebengine_arches}%{?!qt5_qtwebengine_arches:%{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
2016-03-02 13:55:57 +00:00
%global webengine 1
%endif
%endif
2016-03-02 13:55:57 +00:00
%global webkit 1
2015-01-06 18:16:40 +00:00
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
2016-01-13 15:13:15 +00:00
Summary: PyQt5 is Python bindings for Qt5
2014-02-13 15:59:45 +00:00
Name: python-qt5
2017-03-07 13:16:26 +00:00
Version: 5.8.1
Release: 2%{?dist}
2014-02-13 15:59:45 +00:00
# all BSD, except for GPLv2+ dbus bindings and examples
License: BSD and GPLv2+
Url: http://www.riverbankcomputing.com/software/pyqt/
%if 0%{?snap:1}
2016-04-25 15:47:27 +00:00
Source0: http://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5_gpl-%{version}%{?snap:-snapshot-%{snap}}.tar.gz
%else
2016-04-25 15:47:27 +00:00
Source0: http://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-%{version}/PyQt5_gpl-%{version}.tar.gz
%endif
2015-01-06 18:16:40 +00:00
Source1: macros.pyqt5
# wrapper, see https://bugzilla.redhat.com/show_bug.cgi?id=1193107#c9
2017-01-27 13:34:22 +00:00
Source2: pylupdate5.sh
Source3: pyrcc5.sh
Source4: pyuic5.sh
2014-02-13 15:59:45 +00:00
## upstream patches
2014-02-13 15:59:45 +00:00
## upstreamable patches
2015-06-04 22:42:37 +00:00
Patch0: python-qt5_sipdir.patch
2014-02-13 15:59:45 +00:00
BuildRequires: chrpath
BuildRequires: findutils
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-python)
2014-02-13 15:59:45 +00:00
BuildRequires: pkgconfig(phonon4qt5)
BuildRequires: pkgconfig(Qt5Core) >= 5.5
BuildRequires: pkgconfig(Enginio)
BuildRequires: pkgconfig(Qt5Bluetooth)
BuildRequires: pkgconfig(Qt5DBus)
2014-02-13 15:59:45 +00:00
BuildRequires: pkgconfig(Qt5Designer)
BuildRequires: pkgconfig(Qt5Gui) pkgconfig(Qt5Multimedia)
2015-07-30 13:03:04 +00:00
BuildRequires: pkgconfig(Qt5Location)
BuildRequires: pkgconfig(Qt5Nfc)
BuildRequires: pkgconfig(Qt5Network) pkgconfig(Qt5OpenGL)
2014-05-12 15:31:38 +00:00
BuildRequires: pkgconfig(Qt5Positioning)
BuildRequires: pkgconfig(Qt5Quick) pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Script)
2014-05-12 16:31:51 +00:00
BuildRequires: pkgconfig(Qt5Sensors)
BuildRequires: pkgconfig(Qt5SerialPort)
2014-02-13 15:59:45 +00:00
BuildRequires: pkgconfig(Qt5Sql) pkgconfig(Qt5Svg) pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Xml) pkgconfig(Qt5XmlPatterns)
BuildRequires: pkgconfig(Qt5WebChannel)
BuildRequires: pkgconfig(Qt5WebSockets)
2015-12-07 16:09:28 +00:00
BuildRequires: python2-devel python2
2017-02-16 17:26:09 +00:00
BuildRequires: sip-devel >= 4.19.1
2014-02-15 20:10:19 +00:00
%if 0%{?with_python3}
2015-12-07 16:09:28 +00:00
BuildRequires: python3-devel python3
2017-02-16 17:26:09 +00:00
BuildRequires: python3-sip-devel >= 4.19.1
2014-06-02 23:23:14 +00:00
BuildRequires: python3-dbus
2014-02-15 20:10:19 +00:00
%endif # with_python3
2014-02-13 15:59:45 +00:00
2016-03-02 13:55:57 +00:00
# when split out
%if 0%{?webengine} || 0%{?webkit}
Obsoletes: python-qt5 < 5.5.1-10
%endif
2016-03-24 13:47:49 +00:00
Requires: %{name}-rpm-macros = %{version}-%{release}
Requires: dbus-python
BuildRequires: qt5-qtbase-private-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
2014-02-13 15:59:45 +00:00
%{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}}
2017-01-27 13:53:19 +00:00
%global __provides_exclude_from ^(%{python2_sitearch}/.*\\.so|%{python3_sitearch}/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
2014-02-13 15:59:45 +00:00
2014-02-13 16:29:24 +00:00
Provides: PyQt5 = %{version}-%{release}
Provides: PyQt5%{?_isa} = %{version}-%{release}
2016-04-25 15:47:27 +00:00
Provides: python2-PyQt5 = %{version}-%{release}
Provides: python2-PyQt5%{?_isa} = %{version}-%{release}
2015-12-07 16:09:28 +00:00
Provides: python2-qt5 = %{version}-%{release}
Provides: python2-qt5%{?_isa} = %{version}-%{release}
2014-02-13 15:59:45 +00:00
%description
2016-01-13 14:52:18 +00:00
PyQt5 is Python bindings for Qt5.
2014-02-13 15:59:45 +00:00
%package devel
Summary: Development files for %{name}
2015-01-02 18:47:23 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
2014-02-13 15:59:45 +00:00
Requires: qt5-qtbase-devel
Requires: sip-devel
2014-02-13 16:29:24 +00:00
Provides: PyQt5-devel = %{version}-%{release}
2016-04-25 15:47:27 +00:00
Provides: python2-PyQt5-devel = %{version}-%{release}
2014-02-13 15:59:45 +00:00
%description devel
Files needed to build other bindings for C++ classes that inherit from any
of the Qt5 classes
2014-02-13 15:59:45 +00:00
2016-03-24 13:47:49 +00:00
%package rpm-macros
Summary: RPM macros %{name}
# when split out
Conflicts: python-qt5 < 5.6
Conflicts: python3-qt5 < 5.6
2016-03-24 13:47:49 +00:00
BuildArch: noarch
%description rpm-macros
%{summary}.
2014-02-15 20:10:19 +00:00
%package -n python3-qt5
Summary: Python 3 bindings for Qt5
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
2014-02-15 20:10:19 +00:00
%{?_sip_api:Requires: python3-sip-api(%{_sip_api_major}) >= %{_sip_api}}
2016-03-02 13:55:57 +00:00
# when split out
%if 0%{?webengine} || 0%{?webkit}
Obsoletes: python3-qt5 < 5.5.1-10
%endif
2014-02-15 20:10:19 +00:00
Provides: python3-PyQt5 = %{version}-%{release}
2016-04-25 15:47:27 +00:00
Provides: python3-PyQt5%{?_isa} = %{version}-%{release}
2016-03-24 13:47:49 +00:00
Requires: %{name}-rpm-macros = %{version}-%{release}
Requires: python3-dbus
2014-02-15 20:10:19 +00:00
%description -n python3-qt5
%{summary}.
%package -n python3-qt5-devel
Summary: Development files for python3-qt5
2015-01-02 18:47:23 +00:00
Requires: python3-qt5%{?_isa} = %{version}-%{release}
Requires: qt5-qtbase-devel
2014-02-15 20:10:19 +00:00
Requires: python3-sip-devel
Provides: python3-PyQt5-devel = %{version}-%{release}
%description -n python3-qt5-devel
Files needed to build other bindings for C++ classes that inherit from any
of the Qt5 classes
2014-02-15 20:10:19 +00:00
2014-02-13 15:59:45 +00:00
%package doc
Summary: Developer documentation for %{name}
2014-02-13 16:29:24 +00:00
Provides: PyQt5-doc = %{version}-%{release}
2014-02-13 15:59:45 +00:00
BuildArch: noarch
%description doc
%{summary}.
2016-03-02 13:55:57 +00:00
%if 0%{?webengine}
%package webengine
Summary: Python bindings for Qt5 WebEngine
BuildRequires: pkgconfig(Qt5WebEngine)
Obsoletes: python-qt5 < 5.5.1-10
Requires: %{name}%{?_isa} = %{version}-%{release}
2016-03-02 13:56:39 +00:00
%description webengine
%{summary}.
2016-03-02 13:55:57 +00:00
2016-03-03 16:26:31 +00:00
%package -n python3-qt5-webengine
Summary: Python3 bindings for Qt5 WebEngine
Obsoletes: python3-webengine < 5.5.1-13
2016-03-02 13:55:57 +00:00
Obsoletes: python3-qt5 < 5.5.1-10
Requires: python3-qt5%{?_isa} = %{version}-%{release}
2016-03-03 16:26:31 +00:00
%description -n python3-qt5-webengine
%{summary}.
2016-03-02 13:55:57 +00:00
%endif
%if 0%{?webkit}
%package webkit
Summary: Python bindings for Qt5 Webkit
BuildRequires: pkgconfig(Qt5WebKit) pkgconfig(Qt5WebKitWidgets)
Obsoletes: python3-webkit < 5.5.1-12
2016-03-02 13:55:57 +00:00
Obsoletes: python-qt5 < 5.5.1-10
Requires: %{name}%{?_isa} = %{version}-%{release}
%description webkit
%{summary}.
2016-03-02 13:55:57 +00:00
2016-03-03 12:44:36 +00:00
%package -n python3-qt5-webkit
Summary: Python3 bindings for Qt5 Webkit
2016-03-02 13:55:57 +00:00
Obsoletes: python3-qt5 < 5.5.1-10
Requires: python3-qt5%{?_isa} = %{version}-%{release}
2016-03-03 12:44:36 +00:00
%description -n python3-qt5-webkit
%{summary}.
2016-03-02 13:55:57 +00:00
%endif
2014-02-13 15:59:45 +00:00
%prep
2016-04-25 15:47:27 +00:00
%setup -q -n PyQt5_gpl-%{version}%{?snap:-snapshot-%{snap}}
2015-06-04 22:42:37 +00:00
%patch0 -p1
2014-02-13 15:59:45 +00:00
%build
PATH=%{_qt5_bindir}:$PATH ; export PATH
2014-02-15 20:10:19 +00:00
# Python 2 build:
%if 0%{?with_python2}
2016-03-02 15:00:11 +00:00
mkdir %{_target_platform}
pushd %{_target_platform}
%{__python2} ../configure.py \
2014-02-13 15:59:45 +00:00
--assume-shared \
--confirm-license \
--qmake=%{_qt5_qmake} \
--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \
2016-02-01 18:15:21 +00:00
--verbose \
QMAKE_CFLAGS_RELEASE="%{optflags}" \
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
2016-03-05 15:41:28 +00:00
QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"
2014-02-13 15:59:45 +00:00
make %{?_smp_mflags}
2016-03-02 15:00:11 +00:00
popd
2014-02-15 20:10:19 +00:00
%endif # with_python2
# Python 3 build:
%if 0%{?with_python3}
2016-03-02 15:00:11 +00:00
mkdir %{_target_platform}-python3
pushd %{_target_platform}-python3
2016-03-02 16:11:54 +00:00
%{__python3} ../configure.py \
2014-02-15 20:10:19 +00:00
--assume-shared \
--confirm-license \
--qmake=%{_qt5_qmake} \
--no-qsci-api \
2016-02-01 18:15:21 +00:00
--verbose \
QMAKE_CFLAGS_RELEASE="%{optflags}" \
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
2016-03-05 15:41:28 +00:00
QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"
2014-02-15 20:10:19 +00:00
make %{?_smp_mflags}
popd
%endif # with_python3
2014-02-13 15:59:45 +00:00
%install
2014-02-15 20:10:19 +00:00
# Python 3 build:
%if 0%{?with_python3}
2016-03-02 15:00:11 +00:00
make install DESTDIR=%{buildroot} INSTALL_ROOT=%{buildroot} -C %{_target_platform}-python3
# ensure .so modules are executable for proper -debuginfo extraction
for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_dbus_dir}/pyqt5.so ; do
chmod a+rx $i
done
2014-02-15 20:10:19 +00:00
%endif # with_python3
# Python 2 build:
%if 0%{?with_python2}
2016-03-02 15:00:11 +00:00
make install DESTDIR=%{buildroot} INSTALL_ROOT=%{buildroot} -C %{_target_platform}
# ensure .so modules are executable for proper -debuginfo extraction
for i in %{buildroot}%{python2_sitearch}/PyQt5/*.so %{buildroot}%{python2_dbus_dir}/pyqt5.so ; do
chmod a+rx $i
done
2014-02-15 20:10:19 +00:00
%endif # with_python2
2014-02-13 15:59:45 +00:00
# remove Python3 code from Python2 directory, fixes FTBFS like PyQt4 (#564633)
2014-03-16 20:18:16 +00:00
rm -rfv %{buildroot}%{python2_sitearch}/PyQt5/uic/port_v3/
2014-02-13 15:59:45 +00:00
# remove Python2 code from Python3 directory (for when/if we support python3 here)
rm -rfv %{buildroot}%{python3_sitearch}/PyQt5/uic/port_v2/
2015-01-06 18:16:40 +00:00
# rpm macros
install -p -m644 -D %{SOURCE1} \
%{buildroot}%{rpm_macros_dir}/macros.pyqt5
sed -i \
-e "s|@@NAME@@|%{name}|g" \
-e "s|@@EPOCH@@|%{?epoch}%{!?epoch:0}|g" \
-e "s|@@VERSION@@|%{version}|g" \
-e "s|@@EVR@@|%{?epoch:%{epoch:}}%{version}-%{release}|g" \
%{buildroot}%{rpm_macros_dir}/macros.pyqt5
%if 0%{?with_python3}
2017-01-27 13:34:22 +00:00
# install wrappers to handle both/either python2/python3
# TODO: consider alternatives? -- rex
rm -fv %{buildroot}%{_bindir}/{pyrcc5,pylupdate5,pyuic5}
install -p -m755 -D %{SOURCE2} %{buildroot}%{_bindir}/pylupdate5
install -p -m755 -D %{SOURCE3} %{buildroot}%{_bindir}/pyrcc5
install -p -m755 -D %{SOURCE4} %{buildroot}%{_bindir}/pyuic5
sed -i \
-e "s|@PYTHON3@|%{__python3}|g" \
-e "s|@PYTHON2@|%{__python2}|g" \
2017-01-27 13:34:22 +00:00
%{buildroot}%{_bindir}/{pyrcc5,pylupdate5,pyuic5}
%endif
2014-02-13 15:59:45 +00:00
2014-02-15 20:10:19 +00:00
%if 0%{?with_python2}
2014-02-13 15:59:45 +00:00
%files
%doc NEWS README
%license LICENSE
%{python2_dbus_dir}/pyqt5.so
2014-02-13 15:59:45 +00:00
%{_qt5_plugindir}/PyQt5/
2014-03-16 20:18:16 +00:00
%dir %{python2_sitearch}/PyQt5/
%{python2_sitearch}/PyQt5/__init__.py*
2015-10-27 22:43:13 +00:00
%{python2_sitearch}/PyQt5/Enginio.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/Qt.so
%{python2_sitearch}/PyQt5/QtBluetooth.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/QtCore.so
%{python2_sitearch}/PyQt5/QtDBus.so
%{python2_sitearch}/PyQt5/QtDesigner.so
%{python2_sitearch}/PyQt5/QtGui.so
%{python2_sitearch}/PyQt5/QtHelp.so
2015-07-30 13:03:04 +00:00
%{python2_sitearch}/PyQt5/QtLocation.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/QtMultimedia.so
%{python2_sitearch}/PyQt5/QtMultimediaWidgets.so
%{python2_sitearch}/PyQt5/QtNetwork.so
2015-07-30 13:03:04 +00:00
%{python2_sitearch}/PyQt5/QtNfc.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/QtOpenGL.so
2014-05-12 15:31:38 +00:00
%{python2_sitearch}/PyQt5/QtPositioning.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/QtPrintSupport.so
%{python2_sitearch}/PyQt5/QtQml.so
%{python2_sitearch}/PyQt5/QtQuick.so
%{python2_sitearch}/PyQt5/QtQuickWidgets.so
2014-05-12 15:31:38 +00:00
%{python2_sitearch}/PyQt5/QtSensors.so
%{python2_sitearch}/PyQt5/QtSerialPort.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/QtSql.so
%{python2_sitearch}/PyQt5/QtSvg.so
%{python2_sitearch}/PyQt5/QtTest.so
%{python2_sitearch}/PyQt5/QtWebChannel.so
%{python2_sitearch}/PyQt5/QtWebSockets.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/QtWidgets.so
%{python2_sitearch}/PyQt5/QtX11Extras.so
2014-12-26 23:09:07 +00:00
%{python2_sitearch}/PyQt5/QtXml.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/QtXmlPatterns.so
%{python2_sitearch}/PyQt5/_QOpenGLFunctions_2_0.so
2015-02-27 03:17:28 +00:00
%{python2_sitearch}/PyQt5/_QOpenGLFunctions_2_1.so
2015-02-27 04:14:26 +00:00
%{python2_sitearch}/PyQt5/_QOpenGLFunctions_4_1_Core.so
2014-03-16 20:18:16 +00:00
%{python2_sitearch}/PyQt5/uic/
2014-02-13 15:59:45 +00:00
%{_qt5_plugindir}/designer/libpyqt5.so
# *was* in -devel
%{_bindir}/pylupdate5
%{_bindir}/pyrcc5
%{_bindir}/pyuic5
%{python2_sitearch}/PyQt5/pylupdate.so
%{python2_sitearch}/PyQt5/pylupdate_main.py*
%{python2_sitearch}/PyQt5/pyrcc.so
%{python2_sitearch}/PyQt5/pyrcc_main.py*
2014-02-13 15:59:45 +00:00
2016-03-02 13:55:57 +00:00
%if 0%{?webengine}
%files webengine
2017-01-01 12:47:43 +00:00
%{python2_sitearch}/PyQt5/QtWebEngine.*
2016-04-25 18:46:30 +00:00
%{python2_sitearch}/PyQt5/QtWebEngineCore.*
%{python2_sitearch}/PyQt5/QtWebEngineWidgets.*
2016-03-02 13:55:57 +00:00
%endif
%if 0%{?webkit}
%files webkit
2016-04-25 18:46:30 +00:00
%{python2_sitearch}/PyQt5/QtWebKit.*
%{python2_sitearch}/PyQt5/QtWebKitWidgets.*
2016-03-02 13:55:57 +00:00
%endif
2016-03-24 13:47:49 +00:00
%files rpm-macros
%{rpm_macros_dir}/macros.pyqt5
2014-02-13 15:59:45 +00:00
%files devel
%{_datadir}/sip/PyQt5/
2014-02-15 20:10:19 +00:00
%endif
%if 0%{?with_python3}
%files -n python3-qt5
%doc NEWS README
%license LICENSE
%{python3_dbus_dir}/pyqt5.so
2014-02-15 20:10:19 +00:00
%dir %{python3_sitearch}/PyQt5/
%{python3_sitearch}/PyQt5/__pycache__/
%{python3_sitearch}/PyQt5/__init__.py*
2016-04-25 18:46:30 +00:00
%{python3_sitearch}/PyQt5/Enginio.*
%{python3_sitearch}/PyQt5/Qt.*
%{python3_sitearch}/PyQt5/QtBluetooth.*
%{python3_sitearch}/PyQt5/QtCore.*
%{python3_sitearch}/PyQt5/QtDBus.*
%{python3_sitearch}/PyQt5/QtDesigner.*
%{python3_sitearch}/PyQt5/QtGui.*
%{python3_sitearch}/PyQt5/QtHelp.*
%{python3_sitearch}/PyQt5/QtLocation.*
%{python3_sitearch}/PyQt5/QtMultimedia.*
%{python3_sitearch}/PyQt5/QtMultimediaWidgets.*
%{python3_sitearch}/PyQt5/QtNetwork.*
%{python3_sitearch}/PyQt5/QtNfc.*
%{python3_sitearch}/PyQt5/QtOpenGL.*
%{python3_sitearch}/PyQt5/QtPositioning.*
%{python3_sitearch}/PyQt5/QtPrintSupport.*
%{python3_sitearch}/PyQt5/QtQml.*
%{python3_sitearch}/PyQt5/QtQuick.*
%{python3_sitearch}/PyQt5/QtQuickWidgets.*
%{python3_sitearch}/PyQt5/QtSensors.*
%{python3_sitearch}/PyQt5/QtSerialPort.*
%{python3_sitearch}/PyQt5/QtSql.*
%{python3_sitearch}/PyQt5/QtSvg.*
%{python3_sitearch}/PyQt5/QtTest.*
%{python3_sitearch}/PyQt5/QtWebChannel.*
%{python3_sitearch}/PyQt5/QtWebSockets.*
%{python3_sitearch}/PyQt5/QtWidgets.*
%{python3_sitearch}/PyQt5/QtX11Extras.*
%{python3_sitearch}/PyQt5/QtXml.*
%{python3_sitearch}/PyQt5/QtXmlPatterns.*
%{python3_sitearch}/PyQt5/_QOpenGLFunctions_2_0.*
%{python3_sitearch}/PyQt5/_QOpenGLFunctions_2_1.*
%{python3_sitearch}/PyQt5/_QOpenGLFunctions_4_1_Core.*
2014-02-15 20:10:19 +00:00
%{python3_sitearch}/PyQt5/uic/
# *was* in python3-qt5-devel
%{_bindir}/pylupdate5
%{_bindir}/pyrcc5
%{_bindir}/pyuic5
%{python3_sitearch}/PyQt5/pylupdate.so
%{python3_sitearch}/PyQt5/pylupdate_main.py*
%{python3_sitearch}/PyQt5/pyrcc.so
%{python3_sitearch}/PyQt5/pyrcc_main.py*
2014-02-15 20:10:19 +00:00
2016-03-02 13:55:57 +00:00
%if 0%{?webengine}
2016-03-03 16:26:31 +00:00
%files -n python3-qt5-webengine
2017-01-01 12:47:43 +00:00
%{python3_sitearch}/PyQt5/QtWebEngine.*
2016-04-25 18:46:30 +00:00
%{python3_sitearch}/PyQt5/QtWebEngineCore.*
%{python3_sitearch}/PyQt5/QtWebEngineWidgets.*
2016-03-02 13:55:57 +00:00
%endif
%if 0%{?webkit}
2016-03-03 12:44:36 +00:00
%files -n python3-qt5-webkit
2016-04-25 18:46:30 +00:00
%{python3_sitearch}/PyQt5/QtWebKit.*
%{python3_sitearch}/PyQt5/QtWebKitWidgets.*
2016-03-02 13:55:57 +00:00
%endif
%files -n python3-qt5-devel
2015-06-04 22:42:37 +00:00
%{_datadir}/python3-sip/PyQt5/
2014-02-15 20:10:19 +00:00
%endif # with_python3
2014-02-13 15:59:45 +00:00
%files doc
%doc doc/*
%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
2014-02-13 15:59:45 +00:00
%changelog
* Tue Mar 28 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.1-2
- add missing -webengine/-webkit descriptions
- better python3-qt5-devel description
2017-03-07 13:16:26 +00:00
* Tue Mar 07 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.1-1
- PyQt5-5.8.1
* Fri Feb 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8-2
- python3-qt5: omit sip files inadvertantly added in 5.7.1-5
2017-02-16 17:26:09 +00:00
* Thu Feb 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8-1
- PyQt5-5.8
* Thu Feb 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-5
- move -devel binaries to main pkg(s) (#1422613)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-30 18:17:12 +00:00
* Mon Jan 30 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-3
- fix pyrcc5 wrapper typo
2017-01-27 13:38:00 +00:00
* Fri Jan 27 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
- add wrappers for pyrcc5,pylupdate5 (#141116,#1415812)
- update provides filtering
2017-01-01 07:07:50 +00:00
* Sat Dec 31 2016 Rex Dieter <rdieter@math.unl.edu> - 5.7.1-1
- PyQt5-5.7.1
2016-12-21 21:55:31 +00:00
* Wed Dec 21 2016 Kevin Fenzi <kevin@scrye.com> - 5.7-6
- Rebuild again for Python 3.6
2016-12-15 12:19:53 +00:00
* Thu Dec 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7-5
- restore qtwebengine support
2016-12-11 21:11:08 +00:00
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 5.7-4
- Rebuild for Python 3.6
* Sat Dec 03 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7-3
- (temporarily) omit webengine support on fc26
2016-11-30 12:51:14 +00:00
* Wed Nov 30 2016 Than Ngo <than@redhat.com> - 5.7-2
- rebuild against new qt5-qtbase-5.7.1
2016-07-26 16:48:50 +00:00
* Tue Jul 26 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7-1
- PyQt5-5.7
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6-8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-07-17 14:38:15 +00:00
* Sun Jul 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6-7
- enable -webengine on f25+
2016-07-17 11:38:05 +00:00
* Sun Jul 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6-6
- rebuild (qt5-qtbase), disable -webengine (temp on f25, until fixed)
2016-07-17 11:38:05 +00:00
* Wed Jul 06 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6-5
- BR: qt5-qtbase-private-devel
- python3-qt5: add versioned qt5 dep (like base python-qt5 pkg has)
2016-06-29 19:40:26 +00:00
* Wed Jun 29 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6-4
- rebuild (qt5)
* Wed Jun 15 2016 Than Ngo <than@redhat.com> - 5.6-3
- drop ppc ppc64 ppc64le, it's not supported yet
* Mon May 02 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6-2
- -rpm-macros: Conflicts: python(3)-qt5 < 5.6
2016-04-25 15:47:27 +00:00
* Mon Apr 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6-1
- PyQt5-5.6
* Wed Apr 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.5.1-20
- rebuild (sip), re-enable -webengine for secondary archs
* Thu Mar 24 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-19
- limit -webengine support to just primary archs (for now)
2016-03-24 13:47:49 +00:00
* Thu Mar 24 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-18
- -rpm-macros subpkg
2016-03-15 21:54:31 +00:00
* Tue Mar 15 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-17
- rebuild (qt5-qtenginio)
* Mon Mar 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-16
- -webengine: add ExclusiveArch (matching qt5-qtwebengine's)
* Mon Mar 07 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-15
- add Obsoletes for misnamed -webengine/-webkit pkgs (#1315025)
* Sat Mar 05 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-14
- python-qt5 is not built with $RPM_OPT_FLAGS (#1314998)
2016-03-03 16:26:31 +00:00
* Thu Mar 03 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-13
- fix python3-qt5-webengine name
2016-03-03 12:44:36 +00:00
* Thu Mar 03 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-12
- fix python3-qt5-webkit name
2016-03-02 15:00:11 +00:00
* Wed Mar 02 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-11
- use safer subdir builds
2016-03-02 13:55:57 +00:00
* Wed Mar 02 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-10
- -webengine,-webkit subpkgs
2016-02-27 13:12:22 +00:00
* Sat Feb 27 2016 Christian Dersch <lupinix@mailbox.org> - 5.5.1-9
- Enabled QtWebEngine for Fedora >= 24
2016-02-27 12:09:34 +00:00
* Sat Feb 27 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-8
- rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-02-01 18:15:21 +00:00
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-6
- explicitly set CFLAGS,CXXFLAGS,LFLAGS
2016-01-13 14:52:18 +00:00
* Wed Jan 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.5.1-5
- %%description: mention PyQt5
2015-12-07 16:09:28 +00:00
* Mon Dec 07 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-4
- rebuild (qt5), Provides: python2-qt5
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
2015-11-02 14:34:52 +00:00
* Mon Nov 02 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-2
- rebuild (qt5)
2015-10-26 15:22:10 +00:00
* Mon Oct 26 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-1
- 5.5.1
- enable qtenginio, fix pyuic5 wrapper, use %%license
2015-10-26 15:22:10 +00:00
2015-10-12 10:50:55 +00:00
* Mon Oct 12 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5-2
- rebuild (qt5)
2015-07-30 13:03:04 +00:00
* Thu Jul 30 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5-1
- 5.5
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-13 01:05:56 +00:00
* Fri Jun 12 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.2-1
- 5.4.2
* Fri Jun 05 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-5
- wrong python release used in pyuic5 launch script (#1193107)
- -doc: add qsci doc QyQt5.api content
- enable Qt5WebChannel/Qt5WebSockets support
2015-06-04 22:42:37 +00:00
* Fri Jun 05 2015 Sandro Mani <manisandro@gmail.com> - 5.4.1-4
- Add patch to fix python3 sip installation dir (#1228432)
2015-05-02 15:01:36 +00:00
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
- Rebuilt for GCC 5 C++11 ABI change
2015-03-25 17:09:04 +00:00
* Wed Mar 25 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-2
- rebuild (sip)
2015-02-26 23:00:28 +00:00
* Thu Feb 26 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-1
- 5.4.1
2015-02-25 19:54:38 +00:00
* Wed Feb 25 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4-6
- rebuild (sip)
2015-01-06 18:16:40 +00:00
* Tue Jan 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4-5
- +macros.pyqt5
2015-01-02 18:47:23 +00:00
* Fri Jan 02 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4-4
- -devel: restore dep on base pkg
* Sun Dec 28 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.4-3
- python3-qt5-devel subpkg
* Sat Dec 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4-2
- ensure .so modules are executable (for proper -debuginfo extraction)
2014-12-26 20:54:50 +00:00
* Fri Dec 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4-1
- 5.4
2014-11-13 16:07:24 +00:00
* Thu Nov 13 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-6
- restore python3 support
* Tue Nov 11 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-5
- pkgconfig(QtOpenGL) being satisfied by qt4 devel (#1162415)
* Thu Nov 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-4
- try to determine dbus-python install paths dynamically (#1161121)
* Thu Nov 06 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-3
- Build failure in sipQtWebKitWidgestQWebInspector: qprinter.h not found (#1160932)
- python2_sitelib should be python2_sitearch (#1161121)
2014-11-06 03:36:46 +00:00
2014-09-15 16:51:57 +00:00
* Mon Sep 15 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
- PyQt-gpl-5.3.2
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-06 19:32:37 +00:00
* Sun Jul 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.1-1
- PyQt-gpl-5.3.1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-06-02 23:23:14 +00:00
* Mon Jun 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3-2
- python3: (Build)Requires: python3-dbus
* Mon Jun 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3-1
- PyQt-gpl-5.3
- +Qt5Bluetooth,Qt5Quick,Qt5SerialPorts support
2014-05-12 14:56:30 +00:00
* Mon May 12 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
- rebuild (f21-python)
2014-05-12 15:31:38 +00:00
- +Qt5Positioning,Qt5Sensors support
2014-05-12 14:56:30 +00:00
2014-03-16 20:18:16 +00:00
* Sun Mar 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
- PyQt-5.2.1
* Sat Mar 08 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.2-5
- Rebuild against fixed qt5-qtbase to fix -debuginfo (#1065636)
2014-02-15 20:10:19 +00:00
* Sat Feb 15 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2-4
- python3-qt5 support
2014-02-13 16:01:32 +00:00
* Thu Feb 13 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2-3
- Provides: PyQt5
2014-02-13 15:59:45 +00:00
* Thu Feb 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2-2
- BR: python2-devel, use %%__python2 macro
* Wed Jan 08 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2-1
- PyQt-5.2