diff --git a/aops-ceres-v1.0.0.tar.gz b/aops-ceres-v1.0.0.tar.gz new file mode 100644 index 0000000..6234044 Binary files /dev/null and b/aops-ceres-v1.0.0.tar.gz differ diff --git a/aops-ceres.spec b/aops-ceres.spec new file mode 100644 index 0000000..c8e7f4d --- /dev/null +++ b/aops-ceres.spec @@ -0,0 +1,45 @@ +Name: aops-ceres +Version: v1.0.0 +Release: 1 +Summary: An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on. +License: MulanPSL2 +URL: https://gitee.com/openeuler/%{name} +Source0: %{name}-%{version}.tar.gz + + +BuildRequires: python3-setuptools +Requires: python3-requests python3-flask python3-connexion python3-configparser python3-jsonschema +Requires: python3-flask-testing python3-libconf python3-swagger-ui-bundle +Requires: python3-concurrent-log-handler dmidecode python3-responses +Provides: aops-ceres +Conflicts: aops-agent + + +%description +An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on. + + +%prep +%autosetup -n %{name}-%{version} + + +# build for aops-ceres +%py3_build + + +# install for aops-ceres +%py3_install + + +%files +%doc README.* +%attr(0644,root,root) %{_sysconfdir}/aops/ceres.conf +%attr(0755,root,root) /usr/lib/systemd/system/aops-ceres.service +%{python3_sitelib}/aops_ceres*.egg-info +%{python3_sitelib}/ceres/* +%{_bindir}/aops-ceres + + +%changelog +* Tue Nov 22 2022 zhuyuncheng - v1.0.0-1 +- Package init