View | Details | Raw Unified | Return to bug 41857
Collapse All | Expand All

(-)a/weboob.spec (-4 / +23 lines)
Lines 1-6 Link Here
1
%ifarch %e2k ppc64le
2
%def_disable qtwebengine
3
%else
4
%def_enable qtwebengine
5
%endif
6
7
# hack against python non-identical noarch packages
8
%define python3_sitelibdir %_prefix/lib/python3/site-packages
9
%add_python3_req_skip PyQt5.QtWebEngine PyQt5.QtWebEngineCore PyQt5.QtWebEngineWidgets
10
%add_python3_req_skip argparse PyQt5.QtCore PyQt5.QtNetwork PyQt5.QtWidgets
11
%filter_from_provides /.*blinkpdf.*/d
12
1
Name:    weboob
13
Name:    weboob
2
Version: 2.0
14
Version: 2.0
3
Release: alt3
15
Release: alt4
4
16
5
Summary: Weboob is a collection of applications able to interact with websites, without requiring the user to open them in a browser
17
Summary: Weboob is a collection of applications able to interact with websites, without requiring the user to open them in a browser
6
License: AGPL-3.0+
18
License: AGPL-3.0+
Lines 13-25 BuildRequires: rpm-build-python3 Link Here
13
BuildRequires: python3-module-distribute
25
BuildRequires: python3-module-distribute
14
BuildRequires: python3-module-PyQt5-devel
26
BuildRequires: python3-module-PyQt5-devel
15
27
16
BuildArch: noarch
17
18
Source: %name-%version.tar
28
Source: %name-%version.tar
19
Patch1: weboob-alt-disable-webkit-formatter.patch
29
Patch1: weboob-alt-disable-webkit-formatter.patch
20
Patch2: weboob-alt-import-from-urllib3-directly.patch
30
Patch2: weboob-alt-import-from-urllib3-directly.patch
21
31
22
Requires: python3-module-weboob = %EVR
32
Requires: python3-module-weboob = %EVR
33
# hack against python non-identical noarch packages
34
%if_enabled qtwebengine
35
Requires: python3-module-PyQtWebEngine
36
%endif
23
37
24
%description
38
%description
25
Weboob is a collection of applications able to interact with websites,
39
Weboob is a collection of applications able to interact with websites,
Lines 28-34 without requiring the user to open them in a browser. Link Here
28
%package -n python3-module-weboob
42
%package -n python3-module-weboob
29
Summary: Python module for Weboob
43
Summary: Python module for Weboob
30
Group: Development/Python3
44
Group: Development/Python3
31
45
BuildArch: noarch
46
# hack against python non-identical noarch packages
47
Requires: python3-module-PyQt5
32
%description -n python3-module-weboob
48
%description -n python3-module-weboob
33
Python module for Weboob.
49
Python module for Weboob.
34
50
Lines 62-67 cp -a icons/*.png %buildroot%_iconsdir/hicolor/64x64/apps Link Here
62
%python3_sitelibdir/*.egg-info
78
%python3_sitelibdir/*.egg-info
63
79
64
%changelog
80
%changelog
81
* Wed Feb 02 2022 Sergey V Turchin <zerg@altlinux.org> 2.0-alt4
82
- disable using of qtwebengine on e2k and ppc64le
83
65
* Wed Jul 14 2021 Vitaly Lipatov <lav@altlinux.ru> 2.0-alt3
84
* Wed Jul 14 2021 Vitaly Lipatov <lav@altlinux.ru> 2.0-alt3
66
- add require python module weboob (ALT bug 40486)
85
- add require python module weboob (ALT bug 40486)
67
86

Return to bug 41857