htop/htop.spec
Zhipeng Xie 5cbbac7bac init package
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-09-24 22:09:42 -04:00

38 lines
1.0 KiB
RPMSpec

Name: htop
Version: 3.0.2
Release: 1
Summary: htop - an interactive process viewer
License: GPLv2
URL: https://htop.dev
Source0: https://github.com/htop-dev/htop/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: perl perl-PathTools ncurses-devel
%description
htop is a cross-platform interactive process viewer.
htop allows scrolling the list of processes vertically and horizontally to see their full command lines and related information like memory and CPU consumption.
The information displayed is configurable through a graphical setup and can be sorted and filtered interactively.
Tasks related to processes (e.g. killing and renicing) can be done without entering their PIDs.
%prep
%autosetup -p1
%build
./autogen.sh
%configure
%make_build
%install
%make_install
%files
%license COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/man1/%{name}.1.gz
%changelog
* Thu Sep 24 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 3.0.2-1
- Package init