mirror of
https://abf.rosa.ru/djam/htop.git
synced 2025-02-24 01:12:52 +00:00
50 lines
1.2 KiB
RPMSpec
50 lines
1.2 KiB
RPMSpec
# autogen.sh is run
|
|
%define _disable_rebuild_configure 1
|
|
|
|
Summary: Interactive text-mode process viewer for Linux
|
|
Name: htop
|
|
Version: 3.2.0
|
|
Release: 1
|
|
License: GPLv2+
|
|
Group: Monitoring
|
|
Url: https://htop.dev
|
|
Source0: https://github.com/htop-dev/htop/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: pkgconfig(ncursesw)
|
|
BuildRequires: pkgconfig(ncurses)
|
|
|
|
%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
|
|
|
|
%files
|
|
%doc README AUTHORS NEWS
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/htop.png
|
|
%{_iconsdir}/hicolor/scalable/apps/htop.svg
|
|
%{_mandir}/man1/%{name}.*
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%global optflags %{optflags} -fno-strict-aliasing
|
|
./autogen.sh
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
%makeinstall_std
|