aops-ceres/aops-ceres.spec

50 lines
1.4 KiB
RPMSpec
Raw Normal View History

2022-11-22 20:45:13 +08:00
Name: aops-ceres
Version: v1.0.0
2022-11-23 11:39:23 +08:00
Release: 2
2022-11-22 20:45:13 +08:00
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
2022-11-23 11:39:23 +08:00
Patch0001: 0001-add-field-os_version-for-register.patch
2022-11-22 20:45:13 +08:00
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
2022-11-23 11:39:23 +08:00
%autosetup -n %{name}-%{version} -p1
2022-11-22 20:45:13 +08:00
# 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
2022-11-23 11:39:23 +08:00
* Wed Nov 23 2022 wenxin<shusheng.wen@outlook.com> - v1.0.0-2
- update register: add field os_version for register
2022-11-22 20:45:13 +08:00
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
- Package init