From 5c16e4958f07e2424b25c6eb07f2a51e9915fa98 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:52:18 +0100 Subject: [PATCH] update to 4.12.3 [release 4.12.3-1mamba;Fri Dec 28 2018] --- PyQt4.spec | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/PyQt4.spec b/PyQt4.spec index ddcede2..a9e7b60 100644 --- a/PyQt4.spec +++ b/PyQt4.spec @@ -1,7 +1,7 @@ %define pythonsip_ver %(sip -V) Name: PyQt4 -Version: 4.11.3 +Version: 4.12.3 Release: 1mamba Summary: Python bindings for the Qt cross platform GUI toolkit Group: System/Libraries @@ -9,7 +9,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.riverbankcomputing.com/software/pyqt -Source: http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-%{version}/PyQt-x11-gpl-%{version}.tar.gz +Source: https://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-%{version}/PyQt4_gpl_x11-%{version}.tar.gz Patch0: %{name}-egl.patch Patch1: %{name}-4.7.3-qreal_float_support.patch Patch2: PyQt4-4.9.4-x86_64.patch @@ -33,7 +33,7 @@ BuildRequires: libXcursor-devel BuildRequires: python-dbus BuildRequires: python-dbus-devel # WARNING: do not parametrize python-sip-devel version or it will be useless for ports -BuildRequires: python-sip-devel >= 4.16.4 +BuildRequires: python-sip-devel >= 4.19.13 Requires: python-sip = %{pythonsip_ver} Requires: python-dbus BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -83,7 +83,7 @@ PyQt4 is a comprehensive set of Python bindings for Nokia's Qt4 cross platform G This package contains the QtDesigner support components for PyQt4. %prep -%setup -q -n PyQt-x11-gpl-%{version} +%setup -q -n PyQt4_gpl_x11-%{version} #%patch0 -p0 #% ifarch arm #% patch1 -p1 @@ -126,7 +126,10 @@ find examples/ -type f -exec chmod 0644 {} ';' %files %{?with_pyver:py%{pyver}} %defattr(-,root,root) -%if "%{?pyver}" != "3" +%if "%{?pyver}" != "36" +%{python_sitelib}/dbus/mainloop/qt.so +%endif +%ifarch arm %{python_sitelib}/dbus/mainloop/qt.so %endif %{python_sitearch}/PyQt4/Qt.so @@ -153,7 +156,7 @@ find examples/ -type f -exec chmod 0644 {} ';' %dir %{python_sitearch}/PyQt4/uic %{python_sitearch}/PyQt4/uic/* #%{python_sitelib}/dbus/mainloop/qt.so -%doc GPL_EXCEPTION*.TXT LICENSE* +%doc LICENSE* %files devel %defattr(-,root,root) @@ -161,8 +164,8 @@ find examples/ -type f -exec chmod 0644 {} ';' %dir %{_datadir}/sip/PyQt4 %{_datadir}/sip/PyQt4/* %{_qt4_datadir}/qsci/api/python/PyQt4.api -%doc doc/* examples -%doc NEWS README THANKS +#%doc doc/* examples +#%doc NEWS README THANKS %files %{?with_pyver:py%{pyver}-}QtDesigner %defattr(-,root,root) @@ -170,6 +173,9 @@ find examples/ -type f -exec chmod 0644 {} ';' %{_qt4_plugindir}/designer/* %changelog +* Fri Dec 28 2018 Silvan Calarco 4.12.3-1mamba +- update to 4.12.3 + * Fri Nov 14 2014 Silvan Calarco 4.11.3-1mamba - update to 4.11.3 - added -py3 subpackage support