htop/htop.spec
Martin Pluskal 17fdfeebd7 - Update to version 3.0.5:
* InfoScreen: fix uncontrolled format string
  * Improve white text in the Light Terminal colour scheme
  * Enable the function bar on the main screen to be hidden (see Setup -> Display options)
  * Reduce layout issues esp. around printing wide characters (not complete yet)
  * Make the follow function exit cleanly after followed process died
  * Update help and man page for improved -t / -s options
  * Drop usage of formatted error messages from <err.h>
  * Show arrow indicating order of sorted process column
  * Lots of plumbing around the internal Hashtable, hardening and code cleanups
  * LibSensors: add support for Ryzen CPUs
  * Fix CPU percentage on M1 silicon Macs
  * LoadMeter: dynamically adjust color and total of bar
  * Find libsensors.so.4 for Fedora and friends
  * Enable going back to previous search matches (Shift-F3)
  * Added keybind 'N' for sorting by PID (drops 'n'/'N' as not used before much)

OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=57
2021-01-12 08:52:49 +00:00

70 lines
2.0 KiB
RPMSpec

#
# spec file for package htop
#
# Copyright (c) 2021 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.5
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://dl.bintray.com/%{name}/source/%{name}-%{version}.tar.gz
BuildRequires: libsensors4-devel
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(hwloc)
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
%build
%configure \
--enable-taskstats \
--enable-unicode \
--enable-hwloc \
--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}
%dir %{_datadir}/icons/hicolor/
%dir %{_datadir}/icons/hicolor/scalable/
%dir %{_datadir}/icons/hicolor/scalable/apps/
%{_datadir}/icons/hicolor/scalable/apps/htop.svg
%changelog