Name: bwm-ng Version: 0.6.3 Release: 1%{?dist} Summary: Bandwidth Monitor NG License: GPLv2+ URL: https://github.com/vgropp/bwm-ng Source0: https://github.com/vgropp/%{name}/archive/v%{version}.tar.gz Source1: bwm-ng.conf BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: ncurses-devel Requires: hostname Requires: procps %description A small and simple console-based live network and disk io bandwidth monitor. Features: - Supports /proc/net/dev, netstat, getifaddr, sysctl, kstat, /proc/diskstats /proc/partitions, IOKit, devstat and libstatgrab - Unlimited number of interfaces/devices supported - Interfaces/devices are added or removed dynamically from list - White-/blacklist of interfaces/devices - Output of KB/s, Kb/s, packets, errors, average, max and total sum - Output in curses, plain console, CSV or HTML - Configfile %prep %setup -q %build ./autogen.sh %configure --enable-64bit \ --enable-netstatbyte \ --enable-netstatlink \ --with-ncurses \ --with-time \ --with-getopt_long \ --with-getifaddrs \ --with-sysctl \ --with-procnetdev \ --with-netstatlinux \ --without-strip make %{?_smp_mflags} %install install -pDm755 src/bwm-ng %{buildroot}%{_bindir}/bwm-ng install -pDm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/bwm-ng.conf install -pDm644 bwm-ng.1 %{buildroot}%{_mandir}/man1/bwm-ng.1 %files %doc AUTHORS README ChangeLog bwm-ng.conf-example bwm-ng.css %config(noreplace) %{_sysconfdir}/bwm-ng.conf %{_bindir}/bwm-ng %{_mandir}/man1/bwm-ng.1* %changelog * Tue Mar 28 2023 Tim Orling - 0.6.3-1 - Initial build for EPEL-9 (rhbz#2052868)