!3 [sync] PR-1: add package aops-vulcanus,version1.0.0

From: @openeuler-sync-bot 
Reviewed-by: @zhu-yuncheng 
Signed-off-by: @zhu-yuncheng
This commit is contained in:
openeuler-ci-bot 2022-11-22 13:40:54 +00:00 committed by Gitee
commit d1afc75bd3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 61 additions and 0 deletions

BIN
aops-vulcanus-v1.0.0.tar.gz Normal file

Binary file not shown.

61
aops-vulcanus.spec Normal file
View File

@ -0,0 +1,61 @@
Name: aops-vulcanus
Version: v1.0.0
Release: 1
Summary: A basic tool libraries of aops, including logging, configure and response, etc.
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
Source0: %{name}-%{version}.tar.gz
BuildRequires: python3-setuptools
Requires: python3-concurrent-log-handler python3-xmltodict python3-pyyaml python3-marshmallow >= 3.13.0
Requires: python3-requests python3-xlrd python3-prettytable python3-pygments python3-sqlalchemy
Requires: python3-elasticsearch >= 7 python3-prometheus-api-client python3-urllib3 python3-werkzeug
Requires: python3-flask python3-flask-restful python3-PyMySQL python3-kafka-python
Provides: aops-vulcanus
Conflicts: aops-utils
%description
A basic tool libraries of aops, including logging, configure and response, etc.
%package -n aops-tools
Summary: aops scripts
Provides: aops-tools = %{version}
%description -n aops-tools
tools for aops, it's about aops deploy
%prep
%autosetup -n %{name}-%{version}
# build for aops-vulcanus
%py3_build
# install for aops-vulcanus
%py3_install
# install for aops-tools
mkdir -p %{buildroot}/opt/aops/
cp -r scripts %{buildroot}/opt/aops/
%files
%doc README.*
%attr(0644,root,root) %{_sysconfdir}/aops/system.ini
%{python3_sitelib}/aops_vulcanus*.egg-info
%{python3_sitelib}/vulcanus/*
%attr(0755,root,root) %{_bindir}/aops-vulcanus
%files -n aops-tools
%attr(0755, root, root) /opt/aops/scripts/*
%changelog
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
- Package init