|
|
6702ebc |
# Generated by go2rpm
|
|
|
6702ebc |
%bcond_without check
|
|
|
6702ebc |
|
|
|
6702ebc |
# https://bitbucket.org/bertimus9/systemstat
|
|
|
6702ebc |
%global goipath bitbucket.org/bertimus9/systemstat
|
|
|
6702ebc |
%global forgeurl https://bitbucket.org/bertimus9/systemstat
|
|
|
6702ebc |
%global commit 0eeff89b0690611fc32e21f0cd2e4434abf8fe53
|
|
|
6702ebc |
|
|
|
6702ebc |
%gometa
|
|
|
6702ebc |
|
|
|
6702ebc |
%global common_description %{expand:
|
|
|
6702ebc |
Systemstat allows you to add system statistics to your go program; it currently
|
|
|
6702ebc |
polls the linux kernel for CPU usage, free/used memory and swap sizes, and
|
|
|
6702ebc |
uptime for your go process, as well as the system you're running it on, and the
|
|
|
6702ebc |
system load. It can be used to make a crippled version of top that monitors the
|
|
|
6702ebc |
current go process and ignores other processes and the number of users with
|
|
|
6702ebc |
ttys. See the examples directory for go-top.go, which is my attempt at a top
|
|
|
6702ebc |
clone. Bear in mind that the intention of systemstat is to allow your process to
|
|
|
6702ebc |
monitor itself and it's environment, not to replace top.}
|
|
|
6702ebc |
|
|
|
6702ebc |
%global golicenses LICENSE
|
|
|
6702ebc |
%global godocs examples AUTHORS README.md
|
|
|
6702ebc |
|
|
|
6702ebc |
Name: %{goname}
|
|
|
6702ebc |
Version: 0
|
|
|
77d5acc |
Release: 0.4%{?dist}
|
|
|
6702ebc |
Summary: Add system statistics to your Go program
|
|
|
6702ebc |
|
|
|
6702ebc |
License: MIT
|
|
|
6702ebc |
URL: %{gourl}
|
|
|
6702ebc |
Source0: %{gosource}
|
|
|
6702ebc |
|
|
|
6702ebc |
%description
|
|
|
6702ebc |
%{common_description}
|
|
|
6702ebc |
|
|
|
6702ebc |
%gopkg
|
|
|
6702ebc |
|
|
|
6702ebc |
%prep
|
|
|
6702ebc |
%goprep
|
|
|
6702ebc |
|
|
|
6702ebc |
%install
|
|
|
6702ebc |
%gopkginstall
|
|
|
6702ebc |
|
|
|
6702ebc |
%if %{with check}
|
|
|
6702ebc |
%check
|
|
|
6702ebc |
%gocheck
|
|
|
6702ebc |
%endif
|
|
|
6702ebc |
|
|
|
6702ebc |
%gopkgfiles
|
|
|
6702ebc |
|
|
|
6702ebc |
%changelog
|
|
|
77d5acc |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4
|
|
|
77d5acc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
77d5acc |
|
|
|
4310226 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
|
|
|
4310226 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
4310226 |
|
|
|
1066017 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
|
|
|
1066017 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
1066017 |
|
|
|
6702ebc |
* Fri May 10 20:53:16 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190629git0eeff89
|
|
|
6702ebc |
- Initial package
|