Package Initialization

This commit is contained in:
changjie.fu 2020-03-05 10:43:53 +08:00 committed by kiki
parent e6ef9181e4
commit fa2cf4009c
4 changed files with 79 additions and 57 deletions

View File

@ -1,22 +1,7 @@
# ovirt-engine-metrics
# oVirt Engine Metrics
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
The oVirt.metrics role enables you to set up oVirt Metrics store, deploy rsyslog/fluentd and collectd on the engine and hypervisors and manage the services.
#### Contribution
@ -24,13 +9,3 @@ Software architecture description
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,25 +1,7 @@
# ovirt-engine-metrics
# oVirt Engine Metrics
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
oVirt.metrics角色可以设置oVirt Metrics存储在引擎和虚拟机管理程序上部署rsyslog/fluentd和收集以及管理服务。
#### 参与贡献
@ -27,13 +9,3 @@
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Binary file not shown.

75
ovirt-engine-metrics.spec Normal file
View File

@ -0,0 +1,75 @@
# Copyright (C) 2017 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
%global package_version 1.3.6.4
%global metrics_data %{_datadir}/ovirt-engine-metrics
%global metrics_roles_data %{_datadir}/ansible/roles/oVirt.metrics
%global metrics_etc %{_sysconfdir}/ovirt-engine-metrics
%global make_common_opts \\\
PREFIX=%{_prefix} \\\
SYSCONF_DIR=%{_sysconfdir} \\\
DATAROOT_DIR=%{_datadir} \\\
LOCALSTATE_DIR=%{_localstatedir} \\\
BUILD_VALIDATION=0
Summary: oVirt Engine Metrics
Name: ovirt-engine-metrics
Version: 1.3.6.4
Release: 1%{?release_suffix}%{?dist}
Source0: http://resources.ovirt.org/pub/src/ovirt-engine-metrics/ovirt-engine-metrics-1.3.6.4.tar.gz
License: ASL 2.0
Group: Virtualization/Management
BuildArch: noarch
Url: http://www.ovirt.org
Requires: ansible >= 2.8.3
Requires: ovirt-ansible-image-template >= 1.1.11
Requires: ovirt-ansible-vm-infra >= 1.1.19
Requires: python2-jmespath
# In oVirt 4.1.0, content of this package was in a different one, which was
# built from the engine sources.
Obsoletes: ovirt-engine-hosts-ansible-inventory
Provides: ovirt-engine-hosts-ansible-inventory
%description
ovirt-engine-metrics allows configuring an oVirt installation to send metrics
data to a remote metrics store.
%prep
%setup -c -q
%build
make %{make_common_opts}
%install
make %{make_common_opts} install DESTDIR="%{buildroot}"
%clean
rm -rf %{buildroot}
%files
%license LICENSE
%{metrics_data}
%{metrics_roles_data}
%{metrics_etc}
%{metrics_etc}/config.yml.d
%doc README.md
%changelog
* Tue Mar 3 2020 changjie.fu <changjie.fu@cs2c.com.cn> - 1.3.6.4
- Package Initialization