Annotation of embedaddon/iftop/iftop.spec, revision 1.1
1.1 ! misho 1: Summary: iftop - display bandwidth usage on an interface by host
! 2: Name: iftop
! 3: Version: 0.17
! 4: Release: 1
! 5: Source: http://www.ex-parrot.com/~pdw/iftop/%{name}-%{version}.tar.gz
! 6: URL: http://www.ex-parrot.com/~pdw/iftop/
! 7: Group: Network/Monitoring
! 8: Packager: Richard Lucassen <spamtrap@lucassen.org>
! 9: Copyright: GPL
! 10: BuildRoot: /var/tmp/%{name}-%{version}-root
! 11: Prefix: %{_prefix}
! 12:
! 13: %description
! 14: iftop listens to network traffic on a named interface, or
! 15: on the first interface it can find which looks like an
! 16: external interface if none is specified, and displays a
! 17: table of current bandwidth usage by pairs of hosts. iftop
! 18: must be run with sufficient permissions to monitor all
! 19: network traffic on the interface; see pcap(3) for more
! 20: information, but on most systems this means that it must
! 21: be run as root.
! 22:
! 23:
! 24: %prep
! 25: %setup -q
! 26:
! 27: %build
! 28: CPPFLAGS=-I/usr/include/pcap
! 29: ./configure --prefix="%{_prefix}" --mandir="%{_mandir}"
! 30: make
! 31:
! 32: %install
! 33: rm -rf "$RPM_BUILD_ROOT"
! 34: mkdir -p $RPM_BUILD_ROOT%{_bindir}
! 35: mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
! 36: install -s -m 755 iftop $RPM_BUILD_ROOT%{_bindir}
! 37: install iftop.8 $RPM_BUILD_ROOT%{_mandir}/man8
! 38:
! 39:
! 40: %clean
! 41: rm -rf $RPM_BUILD_ROOT
! 42:
! 43: %files
! 44: %defattr(-,root,root)
! 45: %doc AUTHORS COPYING ChangeLog NEWS README TODO
! 46: %{_bindir}/*
! 47: %doc %{_mandir}/man*/*
! 48:
! 49: %changelog
! 50: * Fri Oct 17 2003 Richard Lucassen <spamtrap@lucassen.org>
! 51: - src.rpm can be rebuilt by a normal user now
! 52: * Fri Aug 30 2002 Iain Lea <iain@bricbrac.de>
! 53: - Updated build for Red Hat 7.3 version
! 54: * Sat Apr 13 2002 Riku Meskanen <mesrik@cc.jyu.fi>
! 55: - Initial build for Red Hat 7.2 version
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>