-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathasap-graph.spec
39 lines (27 loc) · 909 Bytes
/
asap-graph.spec
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
32
33
34
35
36
37
38
Name: asap-graph
Version: 1.0.4
Release: 1%{?dist}
Summary: sar graphing tool
License: MIT
URL: https://github.com/Rezney/asap-graph
Source0: asap-graph-1.0.4.tar.gz
Requires: python3-docopt python3-matplotlib
%description
asap-graph is a sar graphing tool using matplotlib capable of plotting
a single file, an interval of files, or go recursively through a folder,
i.e. sosreport folder.
%prep
%setup -q
mkdir -p %{buildroot}%{_usr}/share/asap-graph
mkdir -p %{buildroot}%{_bindir}
cp mystyle.mplstyle %{buildroot}%{_usr}/share/asap-graph/mystyle.mplstyle
cp asap-graph %{buildroot}%{_bindir}/asap-graph
%files
%{_usr}/share/asap-graph/mystyle.mplstyle
%{_bindir}/asap-graph
%attr(0755, root, root) %{_bindir}/asap-graph
%changelog
* Wed May 08 2019 Michal Reznik
- add RHEL8 support + datetime fix
* Thu Nov 29 2018 George Angelopoulos
- fix ldavg labels and variable names