update to 5.15.1 [release 5.15.1-1mamba;Sat Oct 24 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:29 +01:00
parent 9b63c4c0c4
commit 48d3a8b193

View File

@ -1,8 +1,8 @@
%define pythonsip_ver %(sip -V)
Name: PyQt5
Version: 5.14.2
Release: 5mamba
Version: 5.15.1
Release: 1mamba
Summary: Python bindings for the Qt5 cross platform GUI toolkit
Group: System/Libraries
Vendor: openmamba
@ -18,8 +18,10 @@ License: GPL
BuildRequires: glibc-devel
BuildRequires: libGL-devel
BuildRequires: libgcc
BuildRequires: libpython-devel
BuildRequires: libpython27-devel
BuildRequires: libpython3-devel
%ifnarch aarch64
BuildRequires: libpython36-devel
%endif
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
@ -27,10 +29,12 @@ BuildRequires: chrpath
BuildRequires: libXcursor-devel
BuildRequires: libdbus-devel
# WARNING: do not parametrize python-sip-devel version or it will be useless for ports
BuildRequires: python-dbus-py3 >= 1.2.8-3mamba
BuildRequires: python-sip-py3 >= 5.1.2
BuildRequires: python-dbus-py36 >= 1.2.8-3mamba
BuildRequires: python-sip-py36 >= 5.1.2
BuildRequires: python-dbus-py3 >= 1.2.16
BuildRequires: python-sip-py3 >= 5.4.0
%ifnarch aarch64
BuildRequires: python-dbus-py36 >= 1.2.16
BuildRequires: python-sip-py36 >= 5.4.0
%endif
BuildRequires: libqt5-devel >= %{version}
%ifnarch arm
BuildRequires: libQt5WebEngine-devel >= %{version}
@ -105,12 +109,9 @@ This package contains the QtDesigner support components for PyQt5.
%prep
%setup -q
#-D -T
#:<< _EOF
#%patch3 -p1
%build
#:<< _EOF
sed -i "/generate_code(\"phonon\")/s:phonon\":&, extra_include_dirs=[\"%{_includedir}/phonon\"]:" configure.py
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
@ -158,7 +159,9 @@ rm -f %{buildroot}%{_libdir}/qt5/plugins/PyQt5/libpyqt5qmlplugin.so
%{_bindir}/*
%dir %{_datadir}/sip/PyQt5
%{_datadir}/sip/PyQt5/*
%ifnarch aarch64
%{_datadir}/qt5/qsci/api/python/PyQt5.api
%endif
%doc examples
%doc NEWS README
@ -168,6 +171,9 @@ rm -f %{buildroot}%{_libdir}/qt5/plugins/PyQt5/libpyqt5qmlplugin.so
%{_qt5_plugindir}/designer/*
%changelog
* Sat Oct 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.1-1mamba
- update to 5.15.1
* Mon Apr 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.14.2-5mamba
- require PyQt5-sip-py* package