htop/htop.spec

75 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package htop
#
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 10:45:57 +02:00
# 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.1
Release: 0
Summary: An Interactive text-mode Process Viewer for Linux
License: GPL-2.0-or-later
Group: System/Monitoring
Accepting request 830503 from home:avindra:branches:Base:System - 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
2020-08-31 09:43:58 +02:00
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}
Accepting request 853550 from home:stroeder:branches:Base:System - Update to version 3.0.3 * Process sorting in 'tree' mode * Improved command display/sort functionality * Add screen for active file locks * Calculate library size (M_LRS column) from maps file * Add a Zram meter * Add Linux cwd process column * Dynamically load libsensors at runtime * Improve PressureStall Meter display strings * Hide process selection on ESC * Fully support non-ascii characters in Meter-Bar * Add support to change numeric options in settings screen * Rename virtual memory column from M_SIZE to M_VIRT * Add process column for normalized CPU usage * Show CPU temperature in CPU meter * Drop hideThreads Setting * Add a systemd meter * Add a network IO meter * Add a SELinux meter * Compress size of default FunctionBar * Updates to the OpenFiles screen * Continue updating header data in paused mode * BUGFIX: Handle data wraparounds in IO meters * BUGFIX: Update InfoScreen content on resize * Add security attribute process column * Add DiskIOMeter for IO read/write usage * Read CPU frequency from sysfs by default * Add Linux process column for context switches * Several FreeBSD and Mac OS X platform updates * Add process environment for FreeBSD * Parse POWER_SUPPLY_CAPACITY for Linux Battery meter * Add octuple-column CPU meters. * BUGFIX: On Linux consider ZFS ARC to be cache * BUGFIX: Limit screen title length to window width * Show selected command wrapped in a separate window * Allow to pass '/' for item search * Document implicit incremental search * Handle 'q' as quit if first character * Avoid expensive build of process tree when not using it * Include documentation for COMM and EXE * Distinguish display of no permissions for reading M_LRS * Only calculate M_LRS size every 2 seconds * Improvements to comm / cmdline display functionality * Merged view for COMM, EXE and cmdline (thanks to Narendran Gopalakrishnan and Benny Baumann) * Consistent kernel thread display for COMM/EXE columns * Central fault handling for all platforms * Handle parsing envID & VPid from process status file * Use threshold for display of guest/steal/irq meters * Enhance highlighting of semi-large and large numbers * Documentation on the repository style guide * Align processor identifier to the right * Document M_PSS, M_PSSWP, M_SWAP in man page * Add Date and DateTime meters * BUGFIX: Fix Solaris 11.4 due to missing ZFS ARC kstats * Code hardening, speedups, fd and memory leak fixes * Number CPUs from zero by default * Remove residual python checks during the build process OBS-URL: https://build.opensuse.org/request/show/853550 OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=55
2020-12-07 12:42:33 +01:00
%dir %{_datadir}/icons/hicolor/
%dir %{_datadir}/icons/hicolor/scalable/
%dir %{_datadir}/icons/hicolor/scalable/apps/
%{_datadir}/icons/hicolor/scalable/apps/htop.svg
%changelog