|
|
f63c406 |
|
|
|
f63c406 |
Summary: Python bindings for QtWebEngine
|
|
|
f63c406 |
Name: pyqtwebengine
|
|
|
587f999 |
Version: 5.15.6
|
|
|
587f999 |
Release: 1%{?dist}
|
|
|
f63c406 |
|
|
|
f63c406 |
License: GPLv3
|
|
|
f63c406 |
Url: https://www.riverbankcomputing.com/software/pyqt/
|
|
|
587f999 |
Source0: %{pypi_source PyQtWebEngine}
|
|
|
16c400c |
ExclusiveArch: %{qt5_qtwebengine_arches} ppc64le
|
|
|
f63c406 |
|
|
|
2c2ad2b |
## downstream patches
|
|
|
a52c86d |
# may not be needed anymore? -- rdieter
|
|
|
a52c86d |
#Patch100: PyQtWebEngine-Timeline.patch
|
|
|
2c2ad2b |
|
|
|
950159e |
BuildRequires: make
|
|
|
f63c406 |
BuildRequires: gcc-c++
|
|
|
f63c406 |
BuildRequires: pkgconfig(Qt5WebEngine)
|
|
|
f63c406 |
|
|
|
f63c406 |
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}
|
|
|
f63c406 |
BuildRequires: python%{python3_pkgversion}-qt5
|
|
|
f63c406 |
BuildRequires: python%{python3_pkgversion}-qt5-devel
|
|
|
c530503 |
BuildRequires: %{py3_dist sip} >= 5.3
|
|
|
c530503 |
BuildRequires: %{py3_dist PyQt-builder} >= 1
|
|
|
f63c406 |
|
|
|
f63c406 |
%description
|
|
|
f63c406 |
%{summary}.
|
|
|
f63c406 |
|
|
|
f63c406 |
%package -n python%{python3_pkgversion}-qt5-webengine
|
|
|
f63c406 |
Summary: Python3 bindings for Qt5 WebEngine
|
|
|
f63c406 |
Requires: python%{python3_pkgversion}-qt5%{?_isa}
|
|
|
f63c406 |
%{?python_provide:%python_provide python%{python3_pkgversion}-qt5-webengine}
|
|
|
f63c406 |
%description -n python%{python3_pkgversion}-qt5-webengine
|
|
|
f63c406 |
%{summary}.
|
|
|
f63c406 |
|
|
|
f63c406 |
%package devel
|
|
|
f63c406 |
Summary: Development files for %{name}
|
|
|
f63c406 |
Conflicts: python%{python3_pkgversion}-qt5-devel < 5.12.1
|
|
|
c530503 |
Requires: %{py3_dist sip} >= 5.3
|
|
|
f63c406 |
%description devel
|
|
|
f63c406 |
%{summary}.
|
|
|
f63c406 |
|
|
|
f63c406 |
%package doc
|
|
|
f63c406 |
Summary: Developer documentation for %{name}
|
|
|
f63c406 |
BuildArch: noarch
|
|
|
f63c406 |
%description doc
|
|
|
f63c406 |
%{summary}.
|
|
|
f63c406 |
|
|
|
f63c406 |
|
|
|
f63c406 |
%prep
|
|
|
3e5ebb1 |
%setup -q -n PyQtWebEngine-%{version}
|
|
|
2c2ad2b |
|
|
|
f63c406 |
|
|
|
f63c406 |
%build
|
|
|
f63c406 |
PATH=%{_qt5_bindir}:$PATH ; export PATH
|
|
|
f63c406 |
|
|
|
f63c406 |
# Python 3 build:
|
|
|
c530503 |
sip-build \
|
|
|
c530503 |
--no-make \
|
|
|
f63c406 |
--qmake=%{_qt5_qmake} \
|
|
|
c530503 |
--api-dir=%{_qt5_datadir}/qsci/api/python \
|
|
|
f63c406 |
--verbose \
|
|
|
c530503 |
--qmake-setting 'QMAKE_CFLAGS_RELEASE="%{build_cflags}"' \
|
|
|
c530503 |
--qmake-setting 'QMAKE_CXXFLAGS_RELEASE="%{build_cxxflags}"' \
|
|
|
c530503 |
--qmake-setting 'QMAKE_LFLAGS_RELEASE="%{build_ldflags}"'
|
|
|
f63c406 |
|
|
|
c530503 |
%make_build -C build
|
|
|
f63c406 |
|
|
|
f63c406 |
|
|
|
f63c406 |
%install
|
|
|
f63c406 |
|
|
|
c530503 |
%make_install INSTALL_ROOT=%{buildroot} -C build
|
|
|
7b50142 |
|
|
|
7b50142 |
# ensure .so modules are executable for proper -debuginfo extraction
|
|
|
7b50142 |
for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so ; do
|
|
|
7b50142 |
test -x $i || chmod a+rx $i
|
|
|
7b50142 |
done
|
|
|
f63c406 |
|
|
|
7b50142 |
|
|
|
f63c406 |
%files -n python%{python3_pkgversion}-qt5-webengine
|
|
|
f63c406 |
%doc README
|
|
|
f63c406 |
%license LICENSE
|
|
|
f63c406 |
%{python3_sitearch}/PyQtWebEngine-%{version}.dist-info/
|
|
|
f63c406 |
%{python3_sitearch}/PyQt5/QtWebEngine.*
|
|
|
f63c406 |
%{python3_sitearch}/PyQt5/QtWebEngineCore.*
|
|
|
f63c406 |
%{python3_sitearch}/PyQt5/QtWebEngineWidgets.*
|
|
|
f63c406 |
|
|
|
f63c406 |
%files devel
|
|
|
f63c406 |
%license LICENSE
|
|
|
c530503 |
%{python3_sitearch}/PyQt5/bindings/QtWebEngine*/
|
|
|
f63c406 |
|
|
|
f63c406 |
%files doc
|
|
|
f63c406 |
# avoid dep on qscintilla-python, own %%_qt5_datadir/qsci/... here for now
|
|
|
f63c406 |
%dir %{_qt5_datadir}/qsci/
|
|
|
f63c406 |
%dir %{_qt5_datadir}/qsci/api/
|
|
|
f63c406 |
%dir %{_qt5_datadir}/qsci/api/python/
|
|
|
f63c406 |
%doc %{_qt5_datadir}/qsci/api/python/PyQtWebEngine.api
|
|
|
f63c406 |
|
|
|
f63c406 |
|
|
|
f63c406 |
%changelog
|
|
|
587f999 |
* Mon Aug 01 2022 Sandro Mani <manisandro@gmail.com> - 5.15.6-1
|
|
|
587f999 |
- Update to 5.15.6
|
|
|
587f999 |
|
|
|
7c9adf1 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.4-4
|
|
|
7c9adf1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
7c9adf1 |
|
|
|
6d1996a |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.15.4-3
|
|
|
6d1996a |
- Rebuilt for Python 3.11
|
|
|
6d1996a |
|
|
|
ba48951 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.4-2
|
|
|
ba48951 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
ba48951 |
|
|
|
a52c86d |
* Mon Oct 04 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.15.4-1
|
|
|
a52c86d |
- 5.15.4
|
|
|
a52c86d |
- drop/simplify conditionals
|
|
|
a52c86d |
- drop python2 support
|
|
|
a52c86d |
|
|
|
45c521b |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.2-4
|
|
|
45c521b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
45c521b |
|
|
|
c530503 |
* Thu Jun 10 2021 Scott Talbert <swt@techie.net> - 5.15.2-3
|
|
|
c530503 |
- Update to build with sip 5
|
|
|
c530503 |
|
|
|
aa4865e |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 5.15.2-2
|
|
|
aa4865e |
- Rebuilt for Python 3.10
|
|
|
aa4865e |
|
|
|
6ee9906 |
* Mon Feb 15 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.15.2-1
|
|
|
6ee9906 |
- 5.15.2
|
|
|
6ee9906 |
|
|
|
2ada644 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.0-3
|
|
|
2ada644 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2ada644 |
|
|
|
66fd330 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.0-2
|
|
|
66fd330 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
66fd330 |
|
|
|
0b8c566 |
* Wed Jun 24 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.15.0-1
|
|
|
0b8c566 |
- 5.15.0
|
|
|
0b8c566 |
|
|
|
b5e1966 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 5.14.0-2
|
|
|
b5e1966 |
- Rebuilt for Python 3.9
|
|
|
b5e1966 |
|
|
|
3e5ebb1 |
* Sat Apr 04 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.14.0-1
|
|
|
3e5ebb1 |
- 5.14.0
|
|
|
3e5ebb1 |
|
|
|
7c9d26c |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.13.1-2
|
|
|
7c9d26c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7c9d26c |
|
|
|
2c2ad2b |
* Tue Oct 01 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.13.1-1
|
|
|
2c2ad2b |
- 5.13.1
|
|
|
2c2ad2b |
|
|
|
5163e4a |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 5.12.1-7
|
|
|
5163e4a |
- Rebuilt for Python 3.8
|
|
|
5163e4a |
|
|
|
fcbf7dd |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.1-6
|
|
|
fcbf7dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
fcbf7dd |
|
|
|
7b50142 |
* Mon Jul 08 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-5
|
|
|
7b50142 |
- fix/workaround -debug generation
|
|
|
7b50142 |
- +python2 support on f30
|
|
|
7b50142 |
|
|
|
f63c406 |
* Thu Apr 11 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-4
|
|
|
f63c406 |
- -devel: %%license LICENSE
|
|
|
f63c406 |
|
|
|
f63c406 |
* Wed Apr 10 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-3
|
|
|
f63c406 |
- %%doc README
|
|
|
f63c406 |
- %%license LICENSE
|
|
|
f63c406 |
- -devel: Requires: sip
|
|
|
f63c406 |
- use %%autosetup
|
|
|
f63c406 |
|
|
|
f63c406 |
* Wed Apr 10 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-2
|
|
|
f63c406 |
- update Source0 URL
|
|
|
f63c406 |
- use ExclusiveArch
|
|
|
f63c406 |
- use %%build_cflags %%build_cxxflags %%build_ldflags
|
|
|
f63c406 |
- BR: gcc-c++
|
|
|
f63c406 |
|
|
|
f63c406 |
* Sat Mar 23 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
|
|
|
f63c406 |
- first try
|
|
|
f63c406 |
|