Name: nicstat Version: 1.92 Release: 5%{?dist} Summary: CLI utility that prints out network statistics for all network interface License: Artistic 2.0 URL: http://sourceforge.net/projects/%{name} Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz %description nicstat is a Solaris and Linux command-line that prints out network statistics for all network interface cards (NICs), including packets, kilobytes per second, average packet sizes and more. %prep %setup -qn %{name}-src-%{version} %build # doesn't have configure script; uses custom Makefile, which boils down to single gcc invocation gcc %{optflags} %{name}.c -o %{name} %install install -p -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name} install -p -D -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz %doc README.txt ChangeLog.txt LICENSE.txt %changelog * Sun Jun 16 2013 Tomasz Torcz 1.92-5 - remove authors from description (they are already listed in README.txt) * Thu Jun 13 2013 Tomasz Torcz 1.92-4 - include LICENSE.txt in doc * Thu Jun 13 2013 Tomasz Torcz 1.92-3 - change URL: * Wed Jun 12 2013 Tomasz Torcz 1.92-2 - drop commented out lines (#972719) * Mon Jun 10 2013 Tomasz Torcz 1.92-1 - initial package