File proctail.spec of Package proctail
# norootforbuild
Name: proctail
Version: 0.1
Release: 0
Summary: Line Oriented Top
Source: http://www.vanheusden.com/proctail/proctail-%{version}.tgz
URL: http://www.vanheusden.com/proctail/
Group: System/Monitoring
License: GNU General Public License version 2 or later (GPL v2 or later)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: gcc make glibc-devel
%description
proctail is like a line-oriented 'top'. It displays memory-usage, load and the
processes which used cpu-time since the last check.
%prep
%setup -q
%build
%__make %{?jobs:-j%{jobs}} \
DEBUG="%{optflags}"
%install
%__install -D -m0755 proctail "%{buildroot}%{_sbindir}/proctail"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc *.txt
%{_sbindir}/proctail
%changelog
# vim: set sw=3 ts=3 noet:
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: