htop/htop.spec
Martin Pluskal 6d87905d2f Accepting request 974354 from home:polslinux:branches:Base:System
- Update to 3.2.0:
  * Support for displaying multiple tabs in the user interface
  * Allow multiple filter and search terms (logical OR, separate by "|")
  * Set correct default sorting direction (defaultSortDesc)
  * Improve performance for process lookup and update
  * Rework the IOMeters initial display
  * Removed duplicate sections on COMM and EXE
  * Highlight process UNINTERRUPTIBLE_WAIT state (D)
  * Show only integer value when CPU% more than 99.9%
  * Handle rounding ambiguity between 99.9 and 100.0%
  * No longer leaves empty the last column in header
  * Fix header layout and meters reset if a header column is empty
  * Fix PID and UID column widths off-by-one error
  * On Linux, read generic sysfs batteries
  * On Linux, do not collect LRS per thread (it is process-wide)
  * On Linux, dynamically adjust the SECATTR and CGROUP column widths
  * On Linux, fix a crash in LXD
  * On FreeBSD, add support for showing process emulation
  * On Darwin, lazily set process TTY name
  * Always set SIGCHLD to default handling
  * Avoid zombie processes on signal races
  * Ensure last line is cleared when SIGINT is received
  * Instead of SIGTERM, pre-select the last sent signal
  * Internal Hashtable performance and sizing improvements
  * Add heuristics for guessing LXC or Docker from /proc/1/mounts
  * Force elapsed time display to zero if process started in the future
  * Avoid extremely large year values when printing time
  * Fix division by zero when calculating IO rates
  * Fix out of boundary writes in XUtils
  * Fix custom thread name display issue
  * Use AC_CANONICAL_HOST, not AC_CANONICAL_TARGET in configure.ac
  * Support libunwind of LLVM

OBS-URL: https://build.opensuse.org/request/show/974354
OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=64
2022-05-02 08:45:57 +00:00

75 lines
2.1 KiB
RPMSpec

#
# spec file for package htop
#
# Copyright (c) 2022 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.2.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/htop/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
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-taskstats \
--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