rebuilt with python-sip4 [release 4.12.3-4mamba;Fri Apr 10 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:18 +01:00
parent ad83f9e8e5
commit 281186b94f

View File

@ -2,7 +2,7 @@
Name: PyQt4 Name: PyQt4
Version: 4.12.3 Version: 4.12.3
Release: 3mamba Release: 4mamba
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
Vendor: openmamba Vendor: openmamba
@ -31,13 +31,15 @@ BuildRequires: libstdc++6-devel
BuildRequires: libpython3-devel >= 3.7.4 BuildRequires: libpython3-devel >= 3.7.4
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: libXcursor-devel BuildRequires: libXcursor-devel
BuildRequires: python-dbus BuildRequires: python-dbus-py3
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.19.19 %ifnarch aarch64
BuildRequires: python-sip-py3-devel >= 4.19.19 BuildRequires: python-sip4 >= 4.19.22
BuildRequires: python-sip-py36-devel >= 4.19.19 BuildRequires: python-sip4-py36 >= 4.19.22
Requires: python-sip = %{pythonsip_ver} %endif
BuildRequires: python-sip4-py3 >= 4.19.22
#Requires: python-sip4 = %{pythonsip_ver}
Requires: python-dbus Requires: python-dbus
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -58,7 +60,7 @@ PyQt4 is a comprehensive set of Python bindings for Qt4 cross platform GUI toolk
%package py%{pyver} %package py%{pyver}
Group: System/Libraries/Python Group: System/Libraries/Python
Summary: Python %{pyver} bindings for the Qt cross platform GUI toolkit Summary: Python %{pyver} bindings for the Qt cross platform GUI toolkit
Requires: python-sip%{?with_pyver:-py%{pyver}} = %{pythonsip_ver} #Requires: python-sip4%{?with_pyver:-py%{pyver}} = %{pythonsip_ver}
Requires: python-dbus%{?with_pyver:-py%{pyver}} Requires: python-dbus%{?with_pyver:-py%{pyver}}
%py_requires %py_requires
@ -69,28 +71,27 @@ PyQt4 is a comprehensive set of Python bindings for Qt4 cross platform GUI toolk
%package devel %package devel
Summary: Development files for PyQt4 Summary: Development files for PyQt4
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}%{?with_pyver:-py%{pyver}} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-QtDesigner = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}%{?with_pyver:-py%{pyver}}-QtDesigner = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
PyQt4 is a comprehensive set of Python bindings for Nokia's Qt4 cross platform GUI toolkit. PyQt4 is a comprehensive set of Python bindings for Nokia's Qt4 cross platform GUI toolkit.
This package contains files needed for development. This package contains files needed for development.
%package %{?with_pyver:py%{pyver}-}QtDesigner %package %{?with_pyver:py%{pyver}-}QtDesigner
Summary: QtDesigner support components for PyQt4 Summary: QtDesigner support components for PyQt4
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}%{?with_pyver:-py%{pyver}} = %{?epoch:%epoch:}%{version}-%{release}
%description %{?with_pyver:py%{pyver}-}QtDesigner %description %{?with_pyver:py%{pyver}-}QtDesigner
PyQt4 is a comprehensive set of Python bindings for Nokia's Qt4 cross platform GUI toolkit. PyQt4 is a comprehensive set of Python bindings for Nokia's Qt4 cross platform GUI toolkit.
This package contains the QtDesigner support components for PyQt4. This package contains the QtDesigner support components for PyQt4.
%prep %prep
%setup -q -n PyQt4_gpl_x11-%{version} %setup -q -n PyQt4_gpl_x11-%{version} -D -T
%build %build
:<< _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}" \
@ -140,11 +141,13 @@ find examples/ -type f -exec chmod 0644 {} ';'
%{python_sitearch}/PyQt4/QtSql.so %{python_sitearch}/PyQt4/QtSql.so
%{python_sitearch}/PyQt4/QtSvg.so %{python_sitearch}/PyQt4/QtSvg.so
%{python_sitearch}/PyQt4/QtTest.so %{python_sitearch}/PyQt4/QtTest.so
%{python_sitearch}/PyQt4/QtWebKit.so
%{python_sitearch}/PyQt4/QtXml.so %{python_sitearch}/PyQt4/QtXml.so
%{python_sitearch}/PyQt4/QtXmlPatterns.so %{python_sitearch}/PyQt4/QtXmlPatterns.so
%{python_sitearch}/PyQt4/__init__.py %{python_sitearch}/PyQt4/__init__.py
%ifnarch aarch64
%{python_sitearch}/PyQt4/phonon.so %{python_sitearch}/PyQt4/phonon.so
%{python_sitearch}/PyQt4/QtWebKit.so
%endif
%{python_sitearch}/PyQt4/pyqtconfig.py %{python_sitearch}/PyQt4/pyqtconfig.py
%dir %{python_sitearch}/PyQt4/uic %dir %{python_sitearch}/PyQt4/uic
%{python_sitearch}/PyQt4/uic/* %{python_sitearch}/PyQt4/uic/*
@ -156,7 +159,9 @@ find examples/ -type f -exec chmod 0644 {} ';'
%{_bindir}/* %{_bindir}/*
%dir %{_datadir}/sip/PyQt4 %dir %{_datadir}/sip/PyQt4
%{_datadir}/sip/PyQt4/* %{_datadir}/sip/PyQt4/*
%ifnarch aarch64
%{_qt4_datadir}/qsci/api/python/PyQt4.api %{_qt4_datadir}/qsci/api/python/PyQt4.api
%endif
#%doc doc/* examples #%doc doc/* examples
#%doc NEWS README THANKS #%doc NEWS README THANKS
@ -166,6 +171,9 @@ find examples/ -type f -exec chmod 0644 {} ';'
%{_qt4_plugindir}/designer/* %{_qt4_plugindir}/designer/*
%changelog %changelog
* Fri Apr 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.3-4mamba
- rebuilt with python-sip4
* Wed Oct 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.3-3mamba * Wed Oct 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.3-3mamba
- rebuilt with python-sip 4.19.19 - rebuilt with python-sip 4.19.19