summaryrefslogtreecommitdiff
path: root/python-opensearch-py.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-opensearch-py.spec')
-rw-r--r--python-opensearch-py.spec285
1 files changed, 285 insertions, 0 deletions
diff --git a/python-opensearch-py.spec b/python-opensearch-py.spec
new file mode 100644
index 0000000..0396368
--- /dev/null
+++ b/python-opensearch-py.spec
@@ -0,0 +1,285 @@
+%global _empty_manifest_terminate_build 0
+Name: python-opensearch-py
+Version: 2.2.0
+Release: 1
+Summary: Python client for OpenSearch
+License: Apache-2.0
+URL: https://github.com/opensearch-project/opensearch-py
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1b/80/1b89585c839c7e50a5ccd56392b734ace9da0607a062bfa5d5bdd3212cf6/opensearch-py-2.2.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-urllib3
+Requires: python3-requests
+Requires: python3-six
+Requires: python3-dateutil
+Requires: python3-certifi
+Requires: python3-ipaddress
+Requires: python3-aiohttp
+Requires: python3-requests
+Requires: python3-coverage
+Requires: python3-mock
+Requires: python3-pyyaml
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytz
+Requires: python3-pytest-mock
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-myst-parser
+Requires: python3-sphinx-copybutton
+Requires: python3-black
+Requires: python3-jinja2
+Requires: python3-botocore
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-myst-parser
+Requires: python3-sphinx-copybutton
+Requires: python3-requests-kerberos
+
+%description
+[![Release](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml)
+[![CI](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml)
+[![Integration](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml)
+[![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://discuss.opendistrocommunity.dev/c/clients/)
+![PRs welcome!](https://img.shields.io/badge/PRs-welcome!-success)
+
+![OpenSearch logo](https://github.com/opensearch-project/opensearch-py/raw/main/OpenSearch.svg)
+
+OpenSearch Python Client
+
+- [Welcome!](https://github.com/opensearch-project/opensearch-py#welcome)
+- [User Guide](https://github.com/opensearch-project/opensearch-py#user-guide)
+- [API Doc](https://opensearch-project.github.io/opensearch-py/)
+- [Compatibility with OpenSearch](https://github.com/opensearch-project/opensearch-py#compatibility-with-opensearch)
+- [Project Resources](https://github.com/opensearch-project/opensearch-py#project-resources)
+- [Code of Conduct](https://github.com/opensearch-project/opensearch-py#code-of-conduct)
+- [License](https://github.com/opensearch-project/opensearch-py#license)
+- [Copyright](https://github.com/opensearch-project/opensearch-py#copyright)
+
+## Welcome!
+
+**opensearch-py** is [a community-driven, open source fork](https://aws.amazon.com/blogs/opensource/introducing-opensearch/)
+of elasticsearch-py licensed under the [Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt).
+For more information, see [opensearch.org](https://opensearch.org/) and the [API Doc](https://opensearch-project.github.io/opensearch-py/).
+
+## User Guide
+
+To get started with the OpenSearch Python Client, see [User Guide](https://github.com/opensearch-project/opensearch-py/blob/main/USER_GUIDE.md).
+
+## Compatibility with OpenSearch
+
+See [Compatibility](https://github.com/opensearch-project/opensearch-py/blob/main/COMPATIBILITY.md).
+
+## Project Resources
+
+* [Project Website](https://opensearch.org/)
+* [Downloads](https://opensearch.org/downloads.html)
+* [Documentation](https://opensearch.org/docs/latest/clients/python/)
+* Need help? Try [Forums](https://discuss.opendistrocommunity.dev/)
+* [Project Principles](https://opensearch.org/#principles)
+* [Contributing to OpenSearch](https://github.com/opensearch-project/opensearch-py/blob/main/CONTRIBUTING.md)
+* [Maintainer Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/MAINTAINERS.md)
+* [Release Management](https://github.com/opensearch-project/opensearch-py/blob/main/RELEASING.md)
+* [Admin Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/ADMINS.md)
+* [Security](https://github.com/opensearch-project/opensearch-py/blob/main/SECURITY.md)
+
+## Code of Conduct
+
+This project has adopted the
+[Amazon Open Source Code of Conduct](https://github.com/opensearch-project/opensearch-py/blob/main/CODE_OF_CONDUCT.md).
+For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq), or contact
+[opensource-codeofconduct@amazon.com](mailto:opensource-codeofconduct@amazon.com) with any additional questions or comments.
+
+## License
+
+This project is licensed under the
+[Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt).
+
+## Copyright
+
+Copyright OpenSearch Contributors. See
+[NOTICE](https://github.com/opensearch-project/opensearch-py/blob/main/NOTICE.txt) for details.
+
+
+%package -n python3-opensearch-py
+Summary: Python client for OpenSearch
+Provides: python-opensearch-py
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-opensearch-py
+[![Release](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml)
+[![CI](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml)
+[![Integration](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml)
+[![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://discuss.opendistrocommunity.dev/c/clients/)
+![PRs welcome!](https://img.shields.io/badge/PRs-welcome!-success)
+
+![OpenSearch logo](https://github.com/opensearch-project/opensearch-py/raw/main/OpenSearch.svg)
+
+OpenSearch Python Client
+
+- [Welcome!](https://github.com/opensearch-project/opensearch-py#welcome)
+- [User Guide](https://github.com/opensearch-project/opensearch-py#user-guide)
+- [API Doc](https://opensearch-project.github.io/opensearch-py/)
+- [Compatibility with OpenSearch](https://github.com/opensearch-project/opensearch-py#compatibility-with-opensearch)
+- [Project Resources](https://github.com/opensearch-project/opensearch-py#project-resources)
+- [Code of Conduct](https://github.com/opensearch-project/opensearch-py#code-of-conduct)
+- [License](https://github.com/opensearch-project/opensearch-py#license)
+- [Copyright](https://github.com/opensearch-project/opensearch-py#copyright)
+
+## Welcome!
+
+**opensearch-py** is [a community-driven, open source fork](https://aws.amazon.com/blogs/opensource/introducing-opensearch/)
+of elasticsearch-py licensed under the [Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt).
+For more information, see [opensearch.org](https://opensearch.org/) and the [API Doc](https://opensearch-project.github.io/opensearch-py/).
+
+## User Guide
+
+To get started with the OpenSearch Python Client, see [User Guide](https://github.com/opensearch-project/opensearch-py/blob/main/USER_GUIDE.md).
+
+## Compatibility with OpenSearch
+
+See [Compatibility](https://github.com/opensearch-project/opensearch-py/blob/main/COMPATIBILITY.md).
+
+## Project Resources
+
+* [Project Website](https://opensearch.org/)
+* [Downloads](https://opensearch.org/downloads.html)
+* [Documentation](https://opensearch.org/docs/latest/clients/python/)
+* Need help? Try [Forums](https://discuss.opendistrocommunity.dev/)
+* [Project Principles](https://opensearch.org/#principles)
+* [Contributing to OpenSearch](https://github.com/opensearch-project/opensearch-py/blob/main/CONTRIBUTING.md)
+* [Maintainer Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/MAINTAINERS.md)
+* [Release Management](https://github.com/opensearch-project/opensearch-py/blob/main/RELEASING.md)
+* [Admin Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/ADMINS.md)
+* [Security](https://github.com/opensearch-project/opensearch-py/blob/main/SECURITY.md)
+
+## Code of Conduct
+
+This project has adopted the
+[Amazon Open Source Code of Conduct](https://github.com/opensearch-project/opensearch-py/blob/main/CODE_OF_CONDUCT.md).
+For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq), or contact
+[opensource-codeofconduct@amazon.com](mailto:opensource-codeofconduct@amazon.com) with any additional questions or comments.
+
+## License
+
+This project is licensed under the
+[Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt).
+
+## Copyright
+
+Copyright OpenSearch Contributors. See
+[NOTICE](https://github.com/opensearch-project/opensearch-py/blob/main/NOTICE.txt) for details.
+
+
+%package help
+Summary: Development documents and examples for opensearch-py
+Provides: python3-opensearch-py-doc
+%description help
+[![Release](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml)
+[![CI](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml)
+[![Integration](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml/badge.svg)](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml)
+[![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://discuss.opendistrocommunity.dev/c/clients/)
+![PRs welcome!](https://img.shields.io/badge/PRs-welcome!-success)
+
+![OpenSearch logo](https://github.com/opensearch-project/opensearch-py/raw/main/OpenSearch.svg)
+
+OpenSearch Python Client
+
+- [Welcome!](https://github.com/opensearch-project/opensearch-py#welcome)
+- [User Guide](https://github.com/opensearch-project/opensearch-py#user-guide)
+- [API Doc](https://opensearch-project.github.io/opensearch-py/)
+- [Compatibility with OpenSearch](https://github.com/opensearch-project/opensearch-py#compatibility-with-opensearch)
+- [Project Resources](https://github.com/opensearch-project/opensearch-py#project-resources)
+- [Code of Conduct](https://github.com/opensearch-project/opensearch-py#code-of-conduct)
+- [License](https://github.com/opensearch-project/opensearch-py#license)
+- [Copyright](https://github.com/opensearch-project/opensearch-py#copyright)
+
+## Welcome!
+
+**opensearch-py** is [a community-driven, open source fork](https://aws.amazon.com/blogs/opensource/introducing-opensearch/)
+of elasticsearch-py licensed under the [Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt).
+For more information, see [opensearch.org](https://opensearch.org/) and the [API Doc](https://opensearch-project.github.io/opensearch-py/).
+
+## User Guide
+
+To get started with the OpenSearch Python Client, see [User Guide](https://github.com/opensearch-project/opensearch-py/blob/main/USER_GUIDE.md).
+
+## Compatibility with OpenSearch
+
+See [Compatibility](https://github.com/opensearch-project/opensearch-py/blob/main/COMPATIBILITY.md).
+
+## Project Resources
+
+* [Project Website](https://opensearch.org/)
+* [Downloads](https://opensearch.org/downloads.html)
+* [Documentation](https://opensearch.org/docs/latest/clients/python/)
+* Need help? Try [Forums](https://discuss.opendistrocommunity.dev/)
+* [Project Principles](https://opensearch.org/#principles)
+* [Contributing to OpenSearch](https://github.com/opensearch-project/opensearch-py/blob/main/CONTRIBUTING.md)
+* [Maintainer Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/MAINTAINERS.md)
+* [Release Management](https://github.com/opensearch-project/opensearch-py/blob/main/RELEASING.md)
+* [Admin Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/ADMINS.md)
+* [Security](https://github.com/opensearch-project/opensearch-py/blob/main/SECURITY.md)
+
+## Code of Conduct
+
+This project has adopted the
+[Amazon Open Source Code of Conduct](https://github.com/opensearch-project/opensearch-py/blob/main/CODE_OF_CONDUCT.md).
+For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq), or contact
+[opensource-codeofconduct@amazon.com](mailto:opensource-codeofconduct@amazon.com) with any additional questions or comments.
+
+## License
+
+This project is licensed under the
+[Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt).
+
+## Copyright
+
+Copyright OpenSearch Contributors. See
+[NOTICE](https://github.com/opensearch-project/opensearch-py/blob/main/NOTICE.txt) for details.
+
+
+%prep
+%autosetup -n opensearch-py-2.2.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-opensearch-py -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.0-1
+- Package Spec generated