pyqtwebengine/pyqtwebengine.spec

83 lines
2.5 KiB
RPMSpec
Raw Normal View History

%define with_pyver 3
Name: pyqtwebengine
Version: 5.15.2
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://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
%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 %{python_sitearch}/PyQt5/bindings/QtWebEngine
%{python_sitearch}/PyQt5/bindings/QtWebEngine/*.sip
%dir %{python_sitearch}/PyQt5/bindings/QtWebEngineCore
%{python_sitearch}/PyQt5/bindings/QtWebEngineCore/*.sip
%dir %{python_sitearch}/PyQt5/bindings/QtWebEngineWidgets
%{python_sitearch}/PyQt5/bindings/QtWebEngineWidgets/*.sip
%doc LICENSE
%changelog
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- update to 5.15.2
* 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