Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://bitbucket.org/bertimus9/systemstat
%global goipath         bitbucket.org/bertimus9/systemstat
%global forgeurl        https://bitbucket.org/bertimus9/systemstat
%global commit          0eeff89b0690611fc32e21f0cd2e4434abf8fe53

%gometa

%global common_description %{expand:
Systemstat allows you to add system statistics to your go program; it currently
polls the linux kernel for CPU usage, free/used memory and swap sizes, and
uptime for your go process, as well as the system you're running it on, and the
system load. It can be used to make a crippled version of top that monitors the
current go process and ignores other processes and the number of users with
ttys. See the examples directory for go-top.go, which is my attempt at a top
clone. Bear in mind that the intention of systemstat is to allow your process to
monitor itself and it's environment, not to replace top.}

%global golicenses      LICENSE
%global godocs          examples AUTHORS README.md

Name:           %{goname}
Version:        0
Release:        0.4%{?dist}
Summary:        Add system statistics to your Go program

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Fri May 10 20:53:16 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190629git0eeff89
- Initial package