%global _empty_manifest_terminate_build 0 Name: python-elastic-enterprise-search Version: 8.4.0 Release: 1 Summary: Official Python client for Elastic Enterprise Search, App Search, and Workplace Search License: Apache Software License URL: https://github.com/elastic/enterprise-search-python Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2c/02/a74cd0759dbc553b835adac21dd0477d8b452f6e1f4a8587d5c95008c53b/elastic-enterprise-search-8.4.0.tar.gz BuildArch: noarch Requires: python3-elastic-transport Requires: python3-PyJWT Requires: python3-dateutil Requires: python3-six Requires: python3-pytest Requires: python3-pytest-asyncio Requires: python3-pytest-cov Requires: python3-pytest-mock Requires: python3-pytest-vcr Requires: python3-pytest-freezegun Requires: python3-mock Requires: python3-requests Requires: python3-aiohttp Requires: python3-requests %description Official Python client for Elastic Enterprise Search, App Search, and Workplace Search ## Installation The package can be installed from [PyPI](https://pypi.org/project/elastic-enterprise-search): ```bash $ python -m pip install elastic-enterprise-search ``` The version follows the Elastic Stack version so `7.11` is compatible with Enterprise Search released in Elastic Stack 7.11. ## Documentation [See the documentation](https://www.elastic.co/guide/en/enterprise-search-clients/python) for how to get started, compatibility info, configuring, and an API reference. ## Contributing If you'd like to make a contribution to `enterprise-search-python` we provide [contributing documentation](https://github.com/elastic/enterprise-search-python/tree/main/CONTRIBUTING.md) to ensure your first contribution goes smoothly. ## License `enterprise-search-python` is available under the Apache-2.0 license. For more details see [LICENSE](https://github.com/elastic/enterprise-search-python/blob/main/LICENSE). %package -n python3-elastic-enterprise-search Summary: Official Python client for Elastic Enterprise Search, App Search, and Workplace Search Provides: python-elastic-enterprise-search BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-elastic-enterprise-search Official Python client for Elastic Enterprise Search, App Search, and Workplace Search ## Installation The package can be installed from [PyPI](https://pypi.org/project/elastic-enterprise-search): ```bash $ python -m pip install elastic-enterprise-search ``` The version follows the Elastic Stack version so `7.11` is compatible with Enterprise Search released in Elastic Stack 7.11. ## Documentation [See the documentation](https://www.elastic.co/guide/en/enterprise-search-clients/python) for how to get started, compatibility info, configuring, and an API reference. ## Contributing If you'd like to make a contribution to `enterprise-search-python` we provide [contributing documentation](https://github.com/elastic/enterprise-search-python/tree/main/CONTRIBUTING.md) to ensure your first contribution goes smoothly. ## License `enterprise-search-python` is available under the Apache-2.0 license. For more details see [LICENSE](https://github.com/elastic/enterprise-search-python/blob/main/LICENSE). %package help Summary: Development documents and examples for elastic-enterprise-search Provides: python3-elastic-enterprise-search-doc %description help Official Python client for Elastic Enterprise Search, App Search, and Workplace Search ## Installation The package can be installed from [PyPI](https://pypi.org/project/elastic-enterprise-search): ```bash $ python -m pip install elastic-enterprise-search ``` The version follows the Elastic Stack version so `7.11` is compatible with Enterprise Search released in Elastic Stack 7.11. ## Documentation [See the documentation](https://www.elastic.co/guide/en/enterprise-search-clients/python) for how to get started, compatibility info, configuring, and an API reference. ## Contributing If you'd like to make a contribution to `enterprise-search-python` we provide [contributing documentation](https://github.com/elastic/enterprise-search-python/tree/main/CONTRIBUTING.md) to ensure your first contribution goes smoothly. ## License `enterprise-search-python` is available under the Apache-2.0 license. For more details see [LICENSE](https://github.com/elastic/enterprise-search-python/blob/main/LICENSE). %prep %autosetup -n elastic-enterprise-search-8.4.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-elastic-enterprise-search -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 8.4.0-1 - Package Spec generated