2007-05-25 02:32:37 +00:00
|
|
|
#
|
2011-11-24 17:31:22 +00:00
|
|
|
# spec file for package htop
|
2007-05-25 02:32:37 +00:00
|
|
|
#
|
2022-05-02 08:45:57 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-05-25 02:32:37 +00:00
|
|
|
#
|
2008-09-24 14:49:35 +00:00
|
|
|
# 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.
|
|
|
|
|
2020-04-23 05:49:13 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-05-25 02:32:37 +00:00
|
|
|
#
|
|
|
|
|
2008-07-11 20:45:50 +00:00
|
|
|
|
2007-05-25 02:32:37 +00:00
|
|
|
Name: htop
|
2022-05-02 08:45:57 +00:00
|
|
|
Version: 3.2.0
|
2013-11-27 08:06:27 +00:00
|
|
|
Release: 0
|
2007-11-26 19:43:22 +00:00
|
|
|
Summary: An Interactive text-mode Process Viewer for Linux
|
2018-04-11 10:54:10 +00:00
|
|
|
License: GPL-2.0-or-later
|
2007-05-25 02:32:37 +00:00
|
|
|
Group: System/Monitoring
|
2020-08-31 07:43:58 +00:00
|
|
|
URL: https://htop.dev
|
2021-09-23 15:56:55 +00:00
|
|
|
Source0: https://github.com/htop-dev/htop/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2021-09-23 09:24:41 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2018-04-12 12:11:41 +00:00
|
|
|
BuildRequires: pkgconfig >= 0.9.0
|
2009-07-04 08:53:15 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2021-01-12 08:52:49 +00:00
|
|
|
BuildRequires: pkgconfig(hwloc)
|
2021-09-23 09:30:25 +00:00
|
|
|
BuildRequires: pkgconfig(libcap)
|
2018-04-12 12:11:41 +00:00
|
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
|
|
|
BuildRequires: pkgconfig(libnl-genl-3.0)
|
|
|
|
BuildRequires: pkgconfig(ncurses)
|
2009-07-04 08:53:15 +00:00
|
|
|
Recommends: lsof
|
2015-02-20 15:05:48 +00:00
|
|
|
Recommends: strace
|
2021-01-13 07:07:51 +00:00
|
|
|
%ifnarch s390 s390x
|
|
|
|
BuildRequires: libsensors4-devel
|
|
|
|
%endif
|
2007-05-25 02:32:37 +00:00
|
|
|
|
|
|
|
%description
|
2018-04-12 12:11:41 +00:00
|
|
|
htop is an interactive text-mode process viewer for Linux. It aims to be a
|
|
|
|
better 'top' and requires ncurses.
|
2007-05-25 02:32:37 +00:00
|
|
|
|
|
|
|
%prep
|
2018-04-12 12:11:41 +00:00
|
|
|
%autosetup -p1
|
2007-05-25 02:32:37 +00:00
|
|
|
|
|
|
|
%build
|
2021-09-23 09:24:41 +00:00
|
|
|
./autogen.sh
|
2008-08-02 02:00:42 +00:00
|
|
|
%configure \
|
2016-07-25 11:11:19 +00:00
|
|
|
--enable-taskstats \
|
2016-10-24 07:43:45 +00:00
|
|
|
--enable-unicode \
|
2021-01-12 08:52:49 +00:00
|
|
|
--enable-hwloc \
|
2018-04-12 12:11:41 +00:00
|
|
|
--enable-delayacct \
|
2021-09-23 09:30:25 +00:00
|
|
|
--enable-capabilities
|
2018-04-12 12:11:41 +00:00
|
|
|
%make_build
|
2007-05-25 02:32:37 +00:00
|
|
|
|
|
|
|
%install
|
2016-07-25 11:11:19 +00:00
|
|
|
%make_install
|
2015-02-20 15:05:48 +00:00
|
|
|
%suse_update_desktop_file -i %{name} System Monitor
|
2007-05-25 02:32:37 +00:00
|
|
|
|
2015-02-20 15:05:48 +00:00
|
|
|
%files
|
2018-04-11 10:54:10 +00:00
|
|
|
%license COPYING
|
2007-05-25 02:32:37 +00:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
2018-04-11 10:54:10 +00:00
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2020-12-07 11:42:33 +00:00
|
|
|
%dir %{_datadir}/icons/hicolor/
|
|
|
|
%dir %{_datadir}/icons/hicolor/scalable/
|
|
|
|
%dir %{_datadir}/icons/hicolor/scalable/apps/
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/htop.svg
|
2007-05-25 02:32:37 +00:00
|
|
|
|
|
|
|
%changelog
|