e465a42a13
* Multiple refactorings and code improvements * Shorten docker container IDs to 12 characters * Settings: preserve empty header * Fix execlp() argument without pointer cast * OpenFilesScreen: Make column sizing dynamic for file size, offset and inode * Add support for "truss" (FreeBSD equivalent of "strace") * Darwin: add NetworkIOMeter support * HeaderLayout: add "3 columns - 40/30/30", "... 30/40/30" & "... 30/30/40" * Meter: use correct unicode characters for digit '9' * Note in manual re default memory units of KiB * Add column for process container name * Add logic to filter the container name (+type) from the CGroup name * Change NetworkIOMeter value unit from KiB/s to bytes/second * Cap DiskIOMeter "utilisation" percentage at 100% * PCP platform implementation of frontswap and zswap accounting * Shorten podman/libpod container IDs to 12 characters * Write configuration to temporary file first * Incorporate shared memory in bar text * Move shared memory next to used memory * Correct order of memory meter in help * Add recalculate to Ctrl-L refresh * Update process list on thread visibility toggling * Support dynamic screens with 'top-most' entities beyond processes * Introduce Row and Table classes for screens beyond top-processes * Rework ZramMeter and remove MeterClass.comprisedValues * More robust logic for CPU process percentages (Linux & PCP) * Show year as start time for processes older than a year * Short-term fix for docker container detection * default color preset: use bold blue for better visibility OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=69
73 lines
2.1 KiB
RPMSpec
73 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package htop
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: htop
|
|
Version: 3.3.0
|
|
Release: 0
|
|
Summary: An Interactive text-mode Process Viewer for Linux
|
|
License: GPL-2.0-or-later
|
|
URL: https://htop.dev
|
|
Source0: https://github.com/htop-dev/htop/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.xz
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: pkgconfig >= 0.9.0
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(hwloc)
|
|
BuildRequires: pkgconfig(libcap)
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
|
BuildRequires: pkgconfig(libnl-genl-3.0)
|
|
BuildRequires: pkgconfig(ncurses)
|
|
Recommends: lsof
|
|
Recommends: strace
|
|
%ifnarch s390 s390x
|
|
BuildRequires: libsensors4-devel
|
|
%endif
|
|
|
|
%description
|
|
htop is an interactive text-mode process viewer for Linux. It aims to be a
|
|
better 'top' and requires ncurses.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure \
|
|
--enable-unicode \
|
|
--enable-hwloc \
|
|
--enable-delayacct \
|
|
--enable-capabilities
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%suse_update_desktop_file -i %{name} System Monitor
|
|
|
|
%files
|
|
%license COPYING
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
%dir %{_datadir}/icons/hicolor/
|
|
%dir %{_datadir}/icons/hicolor/scalable/
|
|
%dir %{_datadir}/icons/hicolor/scalable/apps/
|
|
%{_datadir}/icons/hicolor/scalable/apps/htop.svg
|
|
|
|
%changelog
|