2012-02-01 20:17:47 +04:00
|
|
|
Name: htop
|
2012-11-07 17:02:40 +04:00
|
|
|
Version: 1.0.2
|
2015-02-22 18:13:45 +04:00
|
|
|
Release: 3
|
2012-02-01 20:17:47 +04:00
|
|
|
|
|
|
|
Summary: Interactive text-mode process viewer for Linux
|
|
|
|
License: GPLv2+
|
|
|
|
Group: Monitoring
|
|
|
|
URL: http://htop.sourceforge.net/
|
|
|
|
Source0: http://ovh.dl.sourceforge.net/htop/htop-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
2012-09-11 15:21:22 +04:00
|
|
|
BuildRequires: pkgconfig(ncursesw)
|
2012-09-11 15:27:57 +04:00
|
|
|
BuildRequires: pkgconfig(ncurses++)
|
|
|
|
BuildRequires: pkgconfig(ncurses)
|
|
|
|
BuildRequires: pkgconfig(menu)
|
|
|
|
BuildRequires: pkgconfig(form)
|
|
|
|
|
2012-02-01 20:17:47 +04:00
|
|
|
|
|
|
|
%description
|
|
|
|
htop is an interactive process viewer for Linux, similar to top.
|
|
|
|
It requires ncurses. Tested with Linux 2.4 and 2.6.
|
|
|
|
|
|
|
|
Some advantages over top:
|
|
|
|
|
|
|
|
* you can scroll the list vertically and horizontally to see
|
|
|
|
all processes and complete command lines
|
|
|
|
* htop starts faster than top
|
|
|
|
* you don't need to type the process number to kill a process
|
|
|
|
* you don't need to type the process number or the priority value to
|
|
|
|
renice a process
|
|
|
|
* htop supports mouse operation
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{configure2_5x}
|
|
|
|
%{make}
|
|
|
|
|
|
|
|
%install
|
2012-02-18 05:13:43 +04:00
|
|
|
%{makeinstall_std}
|
2012-10-03 12:06:35 +04:00
|
|
|
# A hack to hide htop.from the menu
|
|
|
|
rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
2012-02-01 20:17:47 +04:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README AUTHORS NEWS
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/pixmaps/*
|
|
|
|
%{_mandir}/man1/%{name}.*
|