add package
(cherry picked from commit d4f6ecd5b8db91abd963ae5600a0d9004c8ff852)
This commit is contained in:
parent
32a0767b7e
commit
5c0a63410c
BIN
aops-diana-v1.0.0.tar.gz
Normal file
BIN
aops-diana-v1.0.0.tar.gz
Normal file
Binary file not shown.
47
aops-diana.spec
Normal file
47
aops-diana.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
Name: aops-diana
|
||||||
|
Version: v1.0.0
|
||||||
|
Release: 1
|
||||||
|
Summary: An intelligent abnormal detection framework of aops
|
||||||
|
License: MulanPSL2
|
||||||
|
URL: https://gitee.com/openeuler/%{name}
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
Requires: aops-vulcanus >= %{version}-%{release}
|
||||||
|
Requires: python3-requests python3-flask python3-flask-restful python3-marshmallow >= 3.13.0
|
||||||
|
Requires: python3-numpy python3-pandas python3-prometheus-api-client
|
||||||
|
Requires: python3-sqlalchemy python3-PyMySQL python3-Flask-APScheduler >= 1.11.0
|
||||||
|
Requires: python3-scipy
|
||||||
|
Provides: aops-diana
|
||||||
|
Conflicts: aops-check
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
An intelligent abnormal detection framework of aops
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
# build for aops-diana
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
|
# install for aops-diana
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.*
|
||||||
|
%attr(0644,root,root) %{_sysconfdir}/aops/diana.ini
|
||||||
|
%attr(0644,root,root) %{_sysconfdir}/aops/diana_hosts.json
|
||||||
|
%attr(0755,root,root) %{_bindir}/aops-diana
|
||||||
|
%attr(0755,root,root) /usr/lib/systemd/system/aops-diana.service
|
||||||
|
%{python3_sitelib}/aops_diana*.egg-info
|
||||||
|
%{python3_sitelib}/diana/*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user