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

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:29 +01:00
parent 8d447f7588
commit 679d1b0106

View File

@ -1,7 +1,7 @@
%define pythonsip_ver %(sip -V) %define pythonsip_ver %(sip -V)
Name: PyQt5 Name: PyQt5
Version: 5.4 Version: 5.11.3
Release: 1mamba Release: 1mamba
Summary: Python bindings for the Qt5 cross platform GUI toolkit Summary: Python bindings for the Qt5 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/PyQt5/PyQt-%{version}/PyQt-gpl-%{version}.tar.gz Source: http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-%{version}/PyQt5_gpl-%{version}.tar.gz
Patch0: PyQt4-egl.patch Patch0: PyQt4-egl.patch
Patch1: PyQt4-4.7.3-qreal_float_support.patch Patch1: PyQt4-4.7.3-qreal_float_support.patch
Patch2: PyQt4-4.9.4-x86_64.patch Patch2: PyQt4-4.9.4-x86_64.patch
@ -30,8 +30,7 @@ BuildRequires: libdbus-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.14.7 BuildRequires: python-sip-devel >= 4.19.13
Requires: python-sip = %{pythonsip_ver}
Requires: python-dbus Requires: python-dbus
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -80,8 +79,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-gpl-%{version} %setup -q -n PyQt5_gpl-%{version} -D -T
#-D -T
#:<< _EOF #:<< _EOF
#%patch0 -p0 #%patch0 -p0
#% ifarch arm #% ifarch arm
@ -90,10 +88,10 @@ This package contains the QtDesigner support components for PyQt4.
#%ifarch x86_64 #%ifarch x86_64
#%patch2 -p1 #%patch2 -p1
#%endif #%endif
%patch3 -p1 #%patch3 -p1
%build %build
#:<< _EOF :<< _EOF
sed -i "/generate_code(\"phonon\")/s:phonon\":&, extra_include_dirs=[\"%{_includedir}/phonon\"]:" configure.py sed -i "/generate_code(\"phonon\")/s:phonon\":&, extra_include_dirs=[\"%{_includedir}/phonon\"]:" configure.py
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \ %{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
@ -117,46 +115,18 @@ 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" %ifarch x86_64 arm
%{python_sitelib}/dbus/mainloop/pyqt5.so
%else
%if "%{?pyver}" != "36"
%{python_sitelib}/dbus/mainloop/pyqt5.so %{python_sitelib}/dbus/mainloop/pyqt5.so
%endif %endif
%endif
%dir %{python_sitearch}/PyQt5-%{version}.dist-info
%{python_sitearch}/PyQt5-%{version}.dist-info/*
%dir %{python_sitearch}/PyQt5 %dir %{python_sitearch}/PyQt5
%{python_sitearch}/PyQt5/Enginio.so %{python_sitearch}/PyQt5/*
%{python_sitearch}/PyQt5/Qt.so %exclude %{python_sitearch}/PyQt5/QtDesigner.so
%{python_sitearch}/PyQt5/QtBluetooth.so
#%{python_sitearch}/PyQt5/QtAssistant.so
%{python_sitearch}/PyQt5/QtCore.so
%{python_sitearch}/PyQt5/QtDBus.so
#%{python_sitearch}/PyQt5/QtDeclarative.so
%{python_sitearch}/PyQt5/QtGui.so
%{python_sitearch}/PyQt5/QtHelp.so
%{python_sitearch}/PyQt5/QtMultimedia.so
%{python_sitearch}/PyQt5/QtMultimediaWidgets.so
%{python_sitearch}/PyQt5/QtNetwork.so
%{python_sitearch}/PyQt5/QtOpenGL.so
%{python_sitearch}/PyQt5/QtPositioning.so
%{python_sitearch}/PyQt5/QtPrintSupport.so
%{python_sitearch}/PyQt5/QtQml.so
%{python_sitearch}/PyQt5/QtQuick.so
%{python_sitearch}/PyQt5/QtQuickWidgets.so
%{python_sitearch}/PyQt5/QtSensors.so
%{python_sitearch}/PyQt5/QtSerialPort.so
#%{python_sitearch}/PyQt5/QtScript.so
#%{python_sitearch}/PyQt5/QtScriptTools.so
%{python_sitearch}/PyQt5/QtSql.so
%{python_sitearch}/PyQt5/QtSvg.so
%{python_sitearch}/PyQt5/QtTest.so
%{python_sitearch}/PyQt5/QtWebKit.so
%{python_sitearch}/PyQt5/QtWebKitWidgets.so
%{python_sitearch}/PyQt5/QtWebSockets.so
%{python_sitearch}/PyQt5/QtWidgets.so
%{python_sitearch}/PyQt5/QtX11Extras.so
%{python_sitearch}/PyQt5/QtXml.so
%{python_sitearch}/PyQt5/QtXmlPatterns.so
%{python_sitearch}/PyQt5/_QOpenGLFunctions_2_0.so
%{python_sitearch}/PyQt5/__init__.py
%dir %{python_sitearch}/PyQt5/uic
%{python_sitearch}/PyQt5/uic/*
%dir %{_qt5_plugindir}/PyQt5 %dir %{_qt5_plugindir}/PyQt5
%{_qt5_plugindir}/PyQt5/libpyqt5qmlplugin.so %{_qt5_plugindir}/PyQt5/libpyqt5qmlplugin.so
%doc LICENSE* %doc LICENSE*
@ -166,7 +136,7 @@ find examples/ -type f -exec chmod 0644 {} ';'
%{_bindir}/* %{_bindir}/*
%dir %{_datadir}/sip/PyQt5 %dir %{_datadir}/sip/PyQt5
%{_datadir}/sip/PyQt5/* %{_datadir}/sip/PyQt5/*
%doc doc/* examples %doc examples
%doc NEWS README %doc NEWS README
%files %{?with_pyver:py%{pyver}-}QtDesigner %files %{?with_pyver:py%{pyver}-}QtDesigner
@ -175,6 +145,9 @@ find examples/ -type f -exec chmod 0644 {} ';'
%{_qt5_plugindir}/designer/* %{_qt5_plugindir}/designer/*
%changelog %changelog
* Fri Dec 28 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.11.3-1mamba
- update to 5.11.3
* Sun Jan 18 2015 Automatic Build System <autodist@mambasoft.it> 5.4-1mamba * Sun Jan 18 2015 Automatic Build System <autodist@mambasoft.it> 5.4-1mamba
- automatic update by autodist - automatic update by autodist