3 %bcond_without doc # Sphinx documentation
4 %bcond_with tests # unit tests (die with MemoryError)
6 Summary: Low-level, data-driven core of boto 3
7 Summary(pl.UTF-8): Niskopoziomowy, oparty na danych rdzeń boto 3
12 Group: Libraries/Python
13 #Source0Download: https://pypi.org/simple/botocore/
14 Source0: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
15 # Source0-md5: 3a98b2c23dc4e149a208b280a42eedbd
16 URL: https://pypi.org/project/botocore/
17 BuildRequires: python3-dateutil >= 2.1
18 BuildRequires: python3-jmespath >= 0.7.1
19 BuildRequires: python3-modules >= 1:3.6
20 BuildRequires: python3-setuptools
22 BuildRequires: python3-behave >= 1.2.5
23 BuildRequires: python3-dateutil >= 2.1
24 BuildRequires: python3-jmespath >= 0.7.1
25 BuildRequires: python3-jsonschema >= 2.5.1
26 BuildRequires: python3-nose >= 1.3.7
27 BuildRequires: python3-urllib3 >= 1.25.4
29 BuildRequires: rpm-pythonprov
30 BuildRequires: rpmbuild(macros) >= 1.714
32 BuildRequires: python3-guzzle_sphinx_theme
33 BuildRequires: python3-jmespath >= 0.7.1
34 BuildRequires: sphinx-pdg-3
36 Requires: python3-modules >= 1:3.6
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 A low-level interface to a growing number of Amazon Web Services. The
42 botocore package is the foundation for the AWS CLI
43 (<https://github.com/aws/aws-cli>) as well as boto3
44 (<https://github.com/boto/boto3>).
46 %description -l pl.UTF-8
47 Niskopoziomowy interfejs do rosnącej liczby usług Amazon Web Services.
48 Pakiet botocore jest podstawą dla AWS CLI
49 (<https://github.com/aws/aws-cli>), jak i boto3
50 (<https://github.com/boto/boto3>).
53 Summary: API documentation for Python botocore module
54 Summary(pl.UTF-8): Dokumentacja API modułu Pythona botocore
58 API documentation for Python botocore module.
60 %description apidocs -l pl.UTF-8
61 Dokumentacja API modułu Pythona botocore.
64 %setup -q -n botocore-%{version}
71 nosetests-%{py3_ver} tests
76 %{__make} -C docs html \
77 SPHINXBUILD=sphinx-build-3
81 rm -rf $RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
91 %{py3_sitescriptdir}/botocore
92 %{py3_sitescriptdir}/botocore-%{version}-py*.egg-info
96 %defattr(644,root,root,755)
97 %doc docs/build/html/{_static,development,reference,topics,tutorial,*.html,*.js}