diff --git a/README.md b/README.md index d978697..1edc058 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pyqtwebengine +A set of Python bindings for The Qt Company’s Qt WebEngine framework. + diff --git a/pyqtwebengine.spec b/pyqtwebengine.spec new file mode 100644 index 0000000..acc000f --- /dev/null +++ b/pyqtwebengine.spec @@ -0,0 +1,72 @@ +Name: pyqtwebengine +Version: 5.13.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 +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 +* Wed Oct 09 2019 Silvan Calarco 5.13.0-1mamba +- package created using the webbuild interface