80 lines
2.3 KiB
RPMSpec
80 lines
2.3 KiB
RPMSpec
Name: pyqtwebengine
|
||
Version: 5.14.0
|
||
Release: 1mamba
|
||
Summary: A set of Python bindings for The Qt Company’s Qt WebEngine framework
|
||
Group: System/Libraries
|
||
Vendor: openmamba
|
||
Distribution: openmamba
|
||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
URL: https://www.riverbankcomputing.com/software/pyqtwebengine/intro
|
||
Source: https://pypi.debian.net/PyQtWebEngine/PyQtWebEngine-%{version}.tar.gz
|
||
#Source: https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/%{version}/PyQtWebEngine_gpl-%{version}.tar.gz
|
||
License: GPL
|
||
## AUTOBUILDREQ-BEGIN
|
||
## AUTOBUILDREQ-END
|
||
BuildRequires: libpython-devel
|
||
BuildRequires: libQt5WebEngine-devel >= %{version}
|
||
Requires: python >= %python_version
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
||
%description
|
||
%{summary}.
|
||
|
||
%package sip
|
||
Summary: Sip interfaces for %{name}
|
||
Group: System/Libraries
|
||
|
||
%description sip
|
||
%{summary}.
|
||
|
||
This package contains the Sip interfaces for %{name}.
|
||
|
||
%if 0%{?with_pyver}
|
||
%pyver_package
|
||
%endif
|
||
|
||
%prep
|
||
%setup -q -n PyQtWebEngine-%{version}
|
||
|
||
%build
|
||
CFLAGS="%{optflags}" %{__python} configure.py
|
||
|
||
%make
|
||
|
||
%install
|
||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
||
%makeinstall INSTALL_ROOT=%{buildroot}
|
||
|
||
%files %{?pyappend}
|
||
%defattr(-,root,root)
|
||
%{python_sitearch}/PyQt5/QtWebEngine.pyi
|
||
%{python_sitearch}/PyQt5/QtWebEngine.so
|
||
%{python_sitearch}/PyQt5/QtWebEngineCore.pyi
|
||
%{python_sitearch}/PyQt5/QtWebEngineCore.so
|
||
%{python_sitearch}/PyQt5/QtWebEngineWidgets.pyi
|
||
%{python_sitearch}/PyQt5/QtWebEngineWidgets.so
|
||
%dir %{python_sitearch}/PyQtWebEngine-%{version}.dist-info
|
||
%{python_sitearch}/PyQtWebEngine-%{version}.dist-info/*
|
||
|
||
%files sip
|
||
%defattr(-,root,root)
|
||
%{_datadir}/qt5/qsci/api/python/PyQtWebEngine.api
|
||
%dir %{_datadir}/sip/PyQt5/QtWebEngine
|
||
%{_datadir}/sip/PyQt5/QtWebEngine/*.sip
|
||
%dir %{_datadir}/sip/PyQt5/QtWebEngineCore
|
||
%{_datadir}/sip/PyQt5/QtWebEngineCore/*.sip
|
||
%dir %{_datadir}/sip/PyQt5/QtWebEngineWidgets
|
||
%{_datadir}/sip/PyQt5/QtWebEngineWidgets/*.sip
|
||
%doc LICENSE
|
||
|
||
%changelog
|
||
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.14.0-1mamba
|
||
- update to 5.14.0
|
||
|
||
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.13.1-1mamba
|
||
- update to 5.13.1
|
||
|
||
* Wed Oct 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.13.0-1mamba
|
||
- package created using the webbuild interface
|