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