%define Werror_cflags %nil Name: iptraf-ng Version: 1.1.0 Release: 1 Summary: TCP/IP Network Monitor License: GPLv2 Group: System/Configuration/Networking Url: https://fedorahosted.org/iptraf-ng Source0: https://fedorahosted.org/releases/i/p/iptraf-ng/%{name}-%{version}.tar.gz BuildRequires: automake BuildRequires: ncurses-devel BuildRequires: xz Obsoletes: iptraf %description IPTraf-ng is a console-based network statistics utility. It gathers a variety of information such as TCP connection packet and byte counts, interface statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN station packet and byte counts. %prep %setup -q %build if [ ! -e configure ]; then ./autogen.sh; fi; %configure2_5x %make %install %makeinstall_std install -d -m 0755 %{buildroot}/var/lib/iptraf-ng %files %_sbindir/* %_mandir/man*/* /var/lib/iptraf-ng %changelog * Sat Jan 14 2012 Alexander Khrukin <akhrukin@mandriva.org> 1.1.0-1 + Revision: 760855 - imported package iptraf-ng