# 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.1%{?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 * Fri May 10 20:53:16 CEST 2019 Robert-André Mauchin - 0-0.1.20190510git0eeff89 - Initial package