b7d643e0de
- Update to version 3.0.0 * Add simple, optional vim key mapping mode * Support more than 2 smaller CPU meter columns * Support Linux proportional set size metrics * Support Linux pressure stall information metrics * New display option to show CPU frequency in CPU meters * Update Linux sysfs battery discovery for recent kernels * Add hardware topology information in the affinity panel * Add timestamp reporting to the strace screen * Added an option to disable the mouse * Without an argument -u uses $USER value automatically * Support less(1) search navigation shortcuts * Support ZFS ARC statistics * Report values larger than 100 terabytes * Widen ST_UID (UID) column to allow for UIDs > 9999 * BUGFIX: fix makefiles for building with clang * BUGFIX: fix <sys/sysmacros.h> major() usage * BUGFIX: correctly identify other types of zombie process * BUGFIX: improve follow-process handling in some situations * BUGFIX: fix custom meters reverting to unexpected setting * BUGFIX: close pipe after running lsof(1) * BUGFIX: meters honour setting of counting CPUs from 0/1 - Drop htop-2.2.0.tar.gz.asc - no sig provided - Upstreamed patches removed: * Drop htop-2.2.0-fix-linux-process-ordering.patch * Drop htop-2.2.0-fix-option-string.patch * Drop htop-2.2.0-gcc10.patch * Drop htop-desktop-file-fix-thoenig-01.patch * Drop htop-script-python3.patch OBS-URL: https://build.opensuse.org/request/show/830503 OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=52
70 lines
2.0 KiB
RPMSpec
70 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package htop
|
|
#
|
|
# Copyright (c) 2020 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.0.0
|
|
Release: 0
|
|
Summary: An Interactive text-mode Process Viewer for Linux
|
|
License: GPL-2.0-or-later
|
|
Group: System/Monitoring
|
|
URL: https://htop.dev
|
|
Source0: https://github.com/htop-dev/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source2: %{name}.keyring
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: pkgconfig >= 0.9.0
|
|
BuildRequires: python3-base
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
|
BuildRequires: pkgconfig(libnl-genl-3.0)
|
|
BuildRequires: pkgconfig(ncurses)
|
|
Recommends: lsof
|
|
Recommends: strace
|
|
|
|
%description
|
|
htop is an interactive text-mode process viewer for Linux. It aims to be a
|
|
better 'top' and requires ncurses.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
# Standard release tarball is not provided https://github.com/htop-dev/htop/issues/31
|
|
autoreconf -fi
|
|
|
|
%build
|
|
%configure \
|
|
--enable-taskstats \
|
|
--enable-unicode \
|
|
--enable-linux-affinity \
|
|
--enable-taskstats \
|
|
--enable-delayacct \
|
|
--enable-cgroup
|
|
%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}
|
|
|
|
%changelog
|