# norootforbuild Name: ftop Version: 1.0 Release: 0 Summary: Open File Monitoring Source: http://ftop.googlecode.com/files/ftop-%{version}.tar.bz2 Patch1: ftop-ncurses.patch Patch2: ftop-fix_buffer_overflow.patch URL: http://code.google.com/p/ftop/ Group: System/Monitoring License: GNU General Public License version 3 (GPL v3) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: ncurses-devel BuildRequires: gcc make glibc-devel BuildRequires: autoconf automake libtool pkgconfig %description Ftop is to files what top is to processes. The progress of all open files and file systems can be monitored. If run as a regular user, the set of open files will be limited to those in that user's processes (which is generally all that is of interest to the user). In any case, the selection of which files to display is possible through a wide assortment of options. As with top, the items are displayed in order from most to least active. %prep %setup -q %patch1 %patch2 %build autoreconf -fiv export CFLAGS="%{optflags} -Wall -DHAVE_LIBCURSES=1" export CPPFLAGS="$CFLAGS" %configure %__make %{?jobs:-j%{jobs}} %install %makeinstall %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %{_bindir}/ftop %doc %{_mandir}/man1/ftop.1%{ext_man} %changelog # vim: set sw=4 ts=4 et nu: