update to 4.12.3 [release 4.12.3-1mamba;Fri Dec 28 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:18 +01:00
parent 76924acdbb
commit 5c16e4958f

View File

@ -1,7 +1,7 @@
%define pythonsip_ver %(sip -V) %define pythonsip_ver %(sip -V)
Name: PyQt4 Name: PyQt4
Version: 4.11.3 Version: 4.12.3
Release: 1mamba Release: 1mamba
Summary: Python bindings for the Qt cross platform GUI toolkit Summary: Python bindings for the Qt cross platform GUI toolkit
Group: System/Libraries Group: System/Libraries
@ -9,7 +9,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.riverbankcomputing.com/software/pyqt 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 Patch0: %{name}-egl.patch
Patch1: %{name}-4.7.3-qreal_float_support.patch Patch1: %{name}-4.7.3-qreal_float_support.patch
Patch2: PyQt4-4.9.4-x86_64.patch Patch2: PyQt4-4.9.4-x86_64.patch
@ -33,7 +33,7 @@ BuildRequires: libXcursor-devel
BuildRequires: python-dbus BuildRequires: python-dbus
BuildRequires: python-dbus-devel BuildRequires: python-dbus-devel
# WARNING: do not parametrize python-sip-devel version or it will be useless for ports # 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-sip = %{pythonsip_ver}
Requires: python-dbus Requires: python-dbus
BuildRoot: %{_tmppath}/%{name}-%{version}-root 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. This package contains the QtDesigner support components for PyQt4.
%prep %prep
%setup -q -n PyQt-x11-gpl-%{version} %setup -q -n PyQt4_gpl_x11-%{version}
#%patch0 -p0 #%patch0 -p0
#% ifarch arm #% ifarch arm
#% patch1 -p1 #% patch1 -p1
@ -126,7 +126,10 @@ find examples/ -type f -exec chmod 0644 {} ';'
%files %{?with_pyver:py%{pyver}} %files %{?with_pyver:py%{pyver}}
%defattr(-,root,root) %defattr(-,root,root)
%if "%{?pyver}" != "3" %if "%{?pyver}" != "36"
%{python_sitelib}/dbus/mainloop/qt.so
%endif
%ifarch arm
%{python_sitelib}/dbus/mainloop/qt.so %{python_sitelib}/dbus/mainloop/qt.so
%endif %endif
%{python_sitearch}/PyQt4/Qt.so %{python_sitearch}/PyQt4/Qt.so
@ -153,7 +156,7 @@ find examples/ -type f -exec chmod 0644 {} ';'
%dir %{python_sitearch}/PyQt4/uic %dir %{python_sitearch}/PyQt4/uic
%{python_sitearch}/PyQt4/uic/* %{python_sitearch}/PyQt4/uic/*
#%{python_sitelib}/dbus/mainloop/qt.so #%{python_sitelib}/dbus/mainloop/qt.so
%doc GPL_EXCEPTION*.TXT LICENSE* %doc LICENSE*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -161,8 +164,8 @@ find examples/ -type f -exec chmod 0644 {} ';'
%dir %{_datadir}/sip/PyQt4 %dir %{_datadir}/sip/PyQt4
%{_datadir}/sip/PyQt4/* %{_datadir}/sip/PyQt4/*
%{_qt4_datadir}/qsci/api/python/PyQt4.api %{_qt4_datadir}/qsci/api/python/PyQt4.api
%doc doc/* examples #%doc doc/* examples
%doc NEWS README THANKS #%doc NEWS README THANKS
%files %{?with_pyver:py%{pyver}-}QtDesigner %files %{?with_pyver:py%{pyver}-}QtDesigner
%defattr(-,root,root) %defattr(-,root,root)
@ -170,6 +173,9 @@ find examples/ -type f -exec chmod 0644 {} ';'
%{_qt4_plugindir}/designer/* %{_qt4_plugindir}/designer/*
%changelog %changelog
* Fri Dec 28 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.3-1mamba
- update to 4.12.3
* Fri Nov 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.3-1mamba * Fri Nov 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.3-1mamba
- update to 4.11.3 - update to 4.11.3
- added -py3 subpackage support - added -py3 subpackage support