Name: htop Version: 3.1.2 Release: 2 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 autoconf automake gcc Patch1: backport-Linux-fix-crash-in-LXD.patch Patch2: backport-Linux-allocate-cpuData-before-reading-cpu-count.patch Patch3: backport-use-xCalloc-for-allocating-cpuData.patch %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}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_mandir}/man1/%{name}.1.gz %changelog * Tue Nov 28 2023 yixiangzhike - 3.1.2-2 - Backport upstream patches to fix htop crash in container * Wed Jan 19 2022 SimpleUpdate Robot - 3.1.2-1 - Upgrade to version 3.1.2 * Mon Jun 7 2021 baizhonggui - 3.0.2-2 - Fix building error: ./autogen.sh: line 3: autoreconf: command not found - Add autoconf/automake/gcc in BuildRequires * Thu Sep 24 2020 Zhipeng Xie - 3.0.2-1 - Package init