htop/htop.spec
Martin Pluskal 6bedf3c4c9 Accepting request 1063374 from home:polslinux:branches:Base:System
- Update to 3.2.2:
  * CPUMeter now can show frequency in text mode
  * Add option to render distribution path prefixes shadowed
  * DiskIOMeter converts to bytes per second (not per interval)
  * DiskIOMeter uses complete units, including missing "iB/s"
  * DiskIOMeter indicates read and write in meter mode
  * NetworkIOMeter converts to packets per second, shows packet rate
  * Allow continued process following when changing display settings
  * Update the panel header when changing to another tab
  * Drop margin around the header if there are no meters
  * Use Unicode replacement character for non-printable characters
  * Default color preset uses bold blue for better visibility
  * Update the Panel header on sort order inversions ('I')
  * Toggle the header meters with pound key
  * Fix ScreenPanel to handle quitting the panel while renaming
  * Add fallback for HOME environment variable using passwd database
  * Replace meaningless ID column with FD column in lock screen
  * Use device format in the lock screen matching the files screen
  * On Linux, improvements to file-descriptor lock detection
  * On Linux, further distinguish systemd states in the SystemdMeter
  * On Linux, improvements to cgroup and container identification
  * On Linux, support openat(2) without readlinkat(2) platforms
  * On Darwin, fix current process buffer handling for busy systems
  * On DragonFly BSD, fix incorrect processor time of processes
  * On FreeBSD, fix an issue with the memory graph not showing correctly
  * On FreeBSD, add support for displaying shared memory usage
  * On PCP, use pmLookupDescs(3) if available for efficiency
  * On PCP, normalize generic columns values for consistent display
  * On PCP, changes preparing for configurable, dynamic screens
  * Handle invalid process columns from the configuration file

OBS-URL: https://build.opensuse.org/request/show/1063374
OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=66
2023-02-07 09:27:32 +00:00

75 lines
2.1 KiB
RPMSpec

#
# spec file for package htop
#
# Copyright (c) 2023 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.2
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