summaryrefslogtreecommitdiff
path: root/python-caeops.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 03:27:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 03:27:13 +0000
commit8f5bae335c94879d965cbc6908b7db9aab3e08fc (patch)
treec1848af42f7130bea9b92844b5bc86e6feb614ab /python-caeops.spec
parent2bf677ad9865ddc68e77d30f34c6543252c15b80 (diff)
automatic import of python-caeopsopeneuler20.03
Diffstat (limited to 'python-caeops.spec')
-rw-r--r--python-caeops.spec84
1 files changed, 84 insertions, 0 deletions
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