Package init
(cherry picked from commit 21af0ffce7c6bb8c0abb2af290d46e073e0ac7b1)
This commit is contained in:
parent
226bfeaa7e
commit
81ecdbe611
BIN
gala-anteater-1.0.0.tar.gz
Normal file
BIN
gala-anteater-1.0.0.tar.gz
Normal file
Binary file not shown.
60
gala-anteater.spec
Normal file
60
gala-anteater.spec
Normal file
@ -0,0 +1,60 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: gala-anteater
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
Summary: A time-series anomaly detection platform for operating system.
|
||||
License: MulanPSL2
|
||||
URL: https://gitee.com/openeuler/gala-anteater
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_builddir}/%{name}-%{version}
|
||||
BuildRequires: procps-ng python3-setuptools
|
||||
Requires: python3-gala-anteater = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Abnormal detection module for A-Ops project
|
||||
|
||||
%package -n python3-gala-anteater
|
||||
Summary: Python3 package of gala-anteater
|
||||
Requires: python3-APScheduler python3-kafka-python python3-joblib python3-numpy
|
||||
Requires: python3-pandas python3-requests python3-scikit-learn python3-pytorch
|
||||
|
||||
%description -n python3-gala-anteater
|
||||
Python3 package of gala-anteater
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%post
|
||||
|
||||
%preun
|
||||
|
||||
%postun
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/gala-anteater
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/config/gala-anteater.yaml
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/config/log.settings.ini
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/config/module/app_sli_rtt.json
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/config/module/proc_io_latency.json
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/config/module/sys_io_latency.json
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/config/module/sys_tcp_establish.json
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/config/module/sys_tcp_transmission.json
|
||||
|
||||
|
||||
%files -n python3-gala-anteater
|
||||
%{python3_sitelib}/anteater/*
|
||||
%{python3_sitelib}/gala_anteater-*.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 12 2022 Zhen Chen <chenzhen126@huawei.com> - 1.0.0-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user