Name: gkrellm Version: 2.4.0 Release: %autorelease Summary: Multiple stacked system monitors in one process License: GPL-3.0-or-later URL: https://gkrellm.srcbox.net/ Source0: https://gkrellm.srcbox.net/releases/%{name}-%{version}.tar.bz2 Source5: make-git-snapshot.sh Patch1: gkrellm-2.4.0-config.patch Patch3: gkrellm-2.4.0-width.patch BuildRequires: gcc BuildRequires: gtk2-devel openssl-devel libSM-devel desktop-file-utils gettext BuildRequires: lm_sensors-devel libntlm-devel libappstream-glib Requires: gdk-pixbuf2-modules-extra%{?_isa} %description GKrellM charts CPU, load, Disk, and all active net interfaces automatically. An on/off button and online timer for the PPP interface is provided, as well as monitors for memory and swap usage, file system, internet connections, APM laptop battery, mbox style mailboxes, and temperature sensors on supported systems. Also included is an uptime monitor, a hostname label, and a clock/calendar. Additional features are: * Autoscaling grid lines with configurable grid line resolution. * LED indicators for the net interfaces. * A gui popup for configuration of chart sizes and resolutions. %package daemon Summary: The GNU Krell Monitors Server # systemd >= 186 for scriptlet macros BuildRequires: systemd >= 186 BuildRequires: make Requires(pre): systemd Requires(post,preun,postun): systemd %description daemon gkrellmd listens for connections from gkrellm clients. When a gkrellm client connects to a gkrellmd server all builtin monitors collect their data from the server. %package devel Summary: Development files for the GNU Krell Monitors Requires: gtk2-devel%{?_isa} %description devel Development files for the GNU Krell Monitors. %prep %autosetup -p1 for i in gkrellmd.1 gkrellm.1 README Changelog.OLD Changelog-plugins.html \ src/gkrellm.h server/gkrellmd.h; do sed -i -e "s@/usr/lib/gkrellm2*/plugins@%{_libdir}/gkrellm2/plugins@" $i sed -i -e "s@/usr/local/lib/gkrellm2*/plugins@/usr/local/%{_lib}/gkrellm2/plugins@" $i done # Create a sysusers.d config file cat >gkrellm.sysusers.conf <