forked from BrightcoveOS/Diamond
-
Notifications
You must be signed in to change notification settings - Fork 17
/
diamond.spec.in
31 lines (24 loc) · 923 Bytes
/
diamond.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Summary: Smart data producer for graphite graphing package
Name: diamond
Version: @VERSION@
Release: 0%{?dist}
Source0: %{name}-%{version}.tar.gz
License: MIT
Group: Development/Libraries
BuildArch: noarch
BuildRequires: python
Requires: python-configobj
Url: https://github.com/ceph/Diamond.git
%description
Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
%prep
%setup -n %{name}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog