rebuilt with python-sip 6.0.1 [release 5.15.2-2mamba;Wed Feb 10 2021]
This commit is contained in:
parent
48d3a8b193
commit
91b685a30f
87
PyQt5.spec
87
PyQt5.spec
@ -1,14 +1,14 @@
|
||||
%define pythonsip_ver %(sip -V)
|
||||
|
||||
Name: PyQt5
|
||||
Version: 5.15.1
|
||||
Release: 1mamba
|
||||
Version: 5.15.2
|
||||
Release: 2mamba
|
||||
Summary: Python bindings for the Qt5 cross platform GUI toolkit
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.riverbankcomputing.com/software/pyqt
|
||||
URL: https://www.riverbankcomputing.com/software/pyqt
|
||||
Source: https://pypi.debian.net/PyQt5/PyQt5-%{version}.tar.gz
|
||||
#Source: https://www.riverbankcomputing.com/static/Downloads/PyQt5/%{version}/PyQt5_gpl-%{version}.tar.gz
|
||||
#Source: http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-%{version}/PyQt5_gpl-%{version}.tar.gz
|
||||
@ -30,12 +30,11 @@ 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.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: python-sip-py3 >= 5.5.0
|
||||
BuildRequires: PyQt5-sip-py3 >= 6.0.1
|
||||
BuildRequires: PyQt-builder-py3
|
||||
BuildRequires: libqt5-devel >= %{version}
|
||||
BuildRequires: python-dbus-devel
|
||||
%ifnarch arm
|
||||
BuildRequires: libQt5WebEngine-devel >= %{version}
|
||||
%endif
|
||||
@ -63,7 +62,11 @@ Requires: %{name}-qmlplugin
|
||||
Requires: PyQt5-sip-py%{pyver}
|
||||
%if "%{pyver}" == "3"
|
||||
Provides: PyQt5
|
||||
Obsoletes: PyQt5
|
||||
Obsoletes: PyQt5 < 5.15.2
|
||||
Provides: PyQt5-devel
|
||||
Obsoletes: PyQt5-devel < 5.15.2-2mamba
|
||||
Provides: PyQt5-qmlplugin
|
||||
Obsoletes: PyQt5-qmlplugin < 5.15.2-2mamba
|
||||
%endif
|
||||
%py_requires
|
||||
|
||||
@ -71,26 +74,6 @@ Obsoletes: PyQt5
|
||||
PyQt5 is a comprehensive set of Python bindings for Qt5 cross platform GUI toolkit.
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: Development files for PyQt5
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-py3 = %{?epoch:%epoch:}%{version}-%{release}
|
||||
#Requires: %{name}-QtDesigner = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
PyQt5 is a comprehensive set of Python bindings for Nokia's Qt5 cross platform GUI toolkit.
|
||||
|
||||
This package contains files needed for development.
|
||||
|
||||
%package qmlplugin
|
||||
Summary: Qml plugin for PyQt5
|
||||
Group: System/Libraries
|
||||
|
||||
%description qmlplugin
|
||||
PyQt5 is a comprehensive set of Python bindings for Nokia's Qt5 cross platform GUI toolkit.
|
||||
|
||||
This package contains the QML plugin.
|
||||
|
||||
%package QtDesigner%{?with_pyver:-py%{pyver}}
|
||||
Summary: QtDesigner support components for PyQt5
|
||||
Group: System/Libraries
|
||||
@ -104,7 +87,6 @@ Obsoletes: PyQt5-QtDesigner
|
||||
|
||||
%description QtDesigner%{?with_pyver:-py%{pyver}}
|
||||
PyQt5 is a comprehensive set of Python bindings for Nokia's Qt5 cross platform GUI toolkit.
|
||||
|
||||
This package contains the QtDesigner support components for PyQt5.
|
||||
|
||||
%prep
|
||||
@ -112,20 +94,17 @@ This package contains the QtDesigner support components for PyQt5.
|
||||
#%patch3 -p1
|
||||
|
||||
%build
|
||||
sed -i "/generate_code(\"phonon\")/s:phonon\":&, extra_include_dirs=[\"%{_includedir}/phonon\"]:" configure.py
|
||||
|
||||
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
||||
--qmake=%{_qt5_qmake} \
|
||||
-d %{python_sitearch} \
|
||||
sip-build \
|
||||
--confirm-license \
|
||||
--assume-shared \
|
||||
--verbose
|
||||
--no-make \
|
||||
--api-dir %{_datadir}/qt5/qsci/api/python
|
||||
|
||||
%make
|
||||
cd build
|
||||
make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall INSTALL_ROOT=%{buildroot}
|
||||
%makeinstall -C build INSTALL_ROOT=%{buildroot}
|
||||
|
||||
# Fix documentation permissions
|
||||
find examples/ -type f -exec chmod 0644 {} ';'
|
||||
@ -139,38 +118,32 @@ rm -f %{buildroot}%{_libdir}/qt5/plugins/PyQt5/libpyqt5qmlplugin.so
|
||||
|
||||
%files %{?with_pyver:py%{pyver}}
|
||||
%defattr(-,root,root)
|
||||
%{python_sitelib}/dbus/mainloop/pyqt5.so
|
||||
%{_bindir}/*
|
||||
%{python_sitearch}/dbus/mainloop/pyqt5.abi3.so
|
||||
%dir %{python_sitearch}/PyQt5-%{version}.dist-info
|
||||
%{python_sitearch}/PyQt5-%{version}.dist-info/*
|
||||
%dir %{python_sitearch}/PyQt5
|
||||
%{python_sitearch}/PyQt5/*
|
||||
%exclude %{python_sitearch}/PyQt5/QtDesigner.so
|
||||
%exclude %{python_sitearch}/PyQt5/QtDesigner.abi3.so
|
||||
%dir %{_qt5_plugindir}/PyQt5
|
||||
%doc LICENSE*
|
||||
|
||||
%{_datadir}/qt5/qsci/api/python/PyQt5.api
|
||||
%if "%{pyver}" == "3"
|
||||
%files qmlplugin
|
||||
%defattr(-,root,root)
|
||||
%{_qt5_plugindir}/PyQt5/libpyqt5qmlplugin.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%dir %{_datadir}/sip/PyQt5
|
||||
%{_datadir}/sip/PyQt5/*
|
||||
%ifnarch aarch64
|
||||
%{_datadir}/qt5/qsci/api/python/PyQt5.api
|
||||
%endif
|
||||
%doc examples
|
||||
%doc NEWS README
|
||||
%doc LICENSE*
|
||||
|
||||
%files QtDesigner%{?with_pyver:-py%{pyver}}
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/PyQt5/QtDesigner.so
|
||||
%{python_sitearch}/PyQt5/QtDesigner.abi3.so
|
||||
%{_qt5_plugindir}/designer/*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
|
||||
- rebuilt with python-sip 6.0.1
|
||||
|
||||
* Wed Feb 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
|
||||
- update to 5.15.2
|
||||
|
||||
* Sat Oct 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.1-1mamba
|
||||
- update to 5.15.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user