pyqtwebengine/pyqtwebengine.spec

76 lines
2.2 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: pyqtwebengine
Version: 5.13.1
Release: 1mamba
Summary: A set of Python bindings for The Qt Companys 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://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_gpl-%{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 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