diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 09:00:11 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 09:00:11 +0000 |
| commit | 72dbf236cf3f5b5c8530af2514942acee5eb9675 (patch) | |
| tree | e98556f2bbf5f57ffe38c9d9d6cb8cfeaba764d4 | |
| parent | dece1d1cf55e4b4ac7e5dc829531ea25ebb8d087 (diff) | |
automatic import of python-resilientopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-resilient.spec | 213 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 215 insertions, 0 deletions
@@ -0,0 +1 @@ +/resilient-48.1.4243.tar.gz diff --git a/python-resilient.spec b/python-resilient.spec new file mode 100644 index 0000000..276ecfd --- /dev/null +++ b/python-resilient.spec @@ -0,0 +1,213 @@ +%global _empty_manifest_terminate_build 0 +Name: python-resilient +Version: 48.1.4243 +Release: 1 +Summary: Python client module for the IBM SOAR REST API +License: MIT +URL: https://github.com/ibmresilient/resilient-python-api/tree/main/resilient +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d9/bd/5af964569a2cb355f8af904724fd1620fee9eca2f86c9bc17e08d17eaab7/resilient-48.1.4243.tar.gz +BuildArch: noarch + +Requires: python3-retry2 +Requires: python3-requests +Requires: python3-requests-toolbelt +Requires: python3-six +Requires: python3-configparser +Requires: python3-cachetools +Requires: python3-keyring +Requires: python3-setuptools +Requires: python3-keyring +Requires: python3-cachetools +Requires: python3-setuptools +Requires: python3-keyring +Requires: python3-cachetools +Requires: python3-setuptools +Requires: python3-jwcrypto + +%description + + +# IBM SOAR Python Library + +## Overview +This package is a Python client module for the IBM SOAR REST API. + + +## Documentation +This library is used in our [resilient-circuits](https://pypi.org/project/resilient-circuits/) and [resilient-sdk](https://pypi.org/project/resilient-sdk/) libraries to handle connections to IBM SOAR REST API. + +For more information on how to develop custom Apps for IBM SOAR see the IBM SOAR App Developer's Guide. The guide is available on the IBM Knowledge Center at [ibm.biz/soar-docs](https://ibm.biz/soar-docs). On this web page, select your IBM SOAR platform version. On the follow-on page, you can find the App Developer's Guide by expanding **Apps** in the Table of Contents pane. + +For our API Documentation on this library, please see [ibm.biz/soar-python-docs](https://ibm.biz/soar-python-docs). + + + +## Change Log +We are continuously adding to this package and our change log can be found at [ibm.biz/resilient-changes](https://ibm.biz/resilient-changes). + + +## License and Terms + +Copyright © IBM Corporation 2023 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +%package -n python3-resilient +Summary: Python client module for the IBM SOAR REST API +Provides: python-resilient +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-resilient + + +# IBM SOAR Python Library + +## Overview +This package is a Python client module for the IBM SOAR REST API. + + +## Documentation +This library is used in our [resilient-circuits](https://pypi.org/project/resilient-circuits/) and [resilient-sdk](https://pypi.org/project/resilient-sdk/) libraries to handle connections to IBM SOAR REST API. + +For more information on how to develop custom Apps for IBM SOAR see the IBM SOAR App Developer's Guide. The guide is available on the IBM Knowledge Center at [ibm.biz/soar-docs](https://ibm.biz/soar-docs). On this web page, select your IBM SOAR platform version. On the follow-on page, you can find the App Developer's Guide by expanding **Apps** in the Table of Contents pane. + +For our API Documentation on this library, please see [ibm.biz/soar-python-docs](https://ibm.biz/soar-python-docs). + + + +## Change Log +We are continuously adding to this package and our change log can be found at [ibm.biz/resilient-changes](https://ibm.biz/resilient-changes). + + +## License and Terms + +Copyright © IBM Corporation 2023 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +%package help +Summary: Development documents and examples for resilient +Provides: python3-resilient-doc +%description help + + +# IBM SOAR Python Library + +## Overview +This package is a Python client module for the IBM SOAR REST API. + + +## Documentation +This library is used in our [resilient-circuits](https://pypi.org/project/resilient-circuits/) and [resilient-sdk](https://pypi.org/project/resilient-sdk/) libraries to handle connections to IBM SOAR REST API. + +For more information on how to develop custom Apps for IBM SOAR see the IBM SOAR App Developer's Guide. The guide is available on the IBM Knowledge Center at [ibm.biz/soar-docs](https://ibm.biz/soar-docs). On this web page, select your IBM SOAR platform version. On the follow-on page, you can find the App Developer's Guide by expanding **Apps** in the Table of Contents pane. + +For our API Documentation on this library, please see [ibm.biz/soar-python-docs](https://ibm.biz/soar-python-docs). + + + +## Change Log +We are continuously adding to this package and our change log can be found at [ibm.biz/resilient-changes](https://ibm.biz/resilient-changes). + + +## License and Terms + +Copyright © IBM Corporation 2023 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +%prep +%autosetup -n resilient-48.1.4243 + +%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-resilient -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 48.1.4243-1 +- Package Spec generated @@ -0,0 +1 @@ +83a28f6ae1c64da5f7f9f4256ac67d94 resilient-48.1.4243.tar.gz |
