diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-caeops.spec | 84 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 86 insertions, 0 deletions
@@ -0,0 +1 @@ +/caeops-0.0.7.tar.gz diff --git a/python-caeops.spec b/python-caeops.spec new file mode 100644 index 0000000..5fa64ec --- /dev/null +++ b/python-caeops.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-caeops +Version: 0.0.7 +Release: 1 +Summary: A CLI that works as a unified tool to manage your CloudAEye services +License: MIT License +URL: http://docs.cloudaeye.com/cli-reference/install-cli.html +Source0: https://mirrors.aliyun.com/pypi/web/packages/78/31/103e6d489b7d063c02c43e857174aab9b794c2b592f91e56f9e736270ad3/caeops-0.0.7.tar.gz +BuildArch: noarch + +Requires: python3-colorama +Requires: python3-requests +Requires: python3-pyyaml +Requires: python3-setuptools +Requires: python3-pytest +Requires: python3-pytest-cov + +%description +"**CloudAEye** is an intelligent cloud service, providing SaaS-based operations management. The AI-powered workflow provides observability services with logs, metrics and notifications. It focuses on contextual awareness and automatically surfaces anomalous services. CloudAEye offers frictionless management of an incident and root-cause analysis to reduce **MTTD (mean time to detect)** and **MTTR (mean time to repair)**. CloudAEye SaaS provides comprehensive `Command Line Interface (CLI)` for end-to-end management of all services. It provides syntax, CLI options, and usage examples for each CLI operation. Read more about caeops [here](http://docs.cloudaeye.com/cli-reference/install-cli.html)" + + + +%package -n python3-caeops +Summary: A CLI that works as a unified tool to manage your CloudAEye services +Provides: python-caeops +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-caeops +"**CloudAEye** is an intelligent cloud service, providing SaaS-based operations management. The AI-powered workflow provides observability services with logs, metrics and notifications. It focuses on contextual awareness and automatically surfaces anomalous services. CloudAEye offers frictionless management of an incident and root-cause analysis to reduce **MTTD (mean time to detect)** and **MTTR (mean time to repair)**. CloudAEye SaaS provides comprehensive `Command Line Interface (CLI)` for end-to-end management of all services. It provides syntax, CLI options, and usage examples for each CLI operation. Read more about caeops [here](http://docs.cloudaeye.com/cli-reference/install-cli.html)" + + + +%package help +Summary: Development documents and examples for caeops +Provides: python3-caeops-doc +%description help +"**CloudAEye** is an intelligent cloud service, providing SaaS-based operations management. The AI-powered workflow provides observability services with logs, metrics and notifications. It focuses on contextual awareness and automatically surfaces anomalous services. CloudAEye offers frictionless management of an incident and root-cause analysis to reduce **MTTD (mean time to detect)** and **MTTR (mean time to repair)**. CloudAEye SaaS provides comprehensive `Command Line Interface (CLI)` for end-to-end management of all services. It provides syntax, CLI options, and usage examples for each CLI operation. Read more about caeops [here](http://docs.cloudaeye.com/cli-reference/install-cli.html)" + + + +%prep +%autosetup -n caeops-0.0.7 + +%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-caeops -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.7-1 +- Package Spec generated @@ -0,0 +1 @@ +e7325f37d03fddeee4fba45af4480a79 caeops-0.0.7.tar.gz |