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
|
|
|
#
|
2020-04-23 07:49:13 +02:00
|
|
|
# Copyright (c) 2020 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
|
2020-09-16 09:44:02 +02:00
|
|
|
Version: 3.0.2
|
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
|
2020-09-16 09:44:02 +02:00
|
|
|
Source0: https://dl.bintray.com/%{name}/source/%{name}-%{version}.tar.gz
|
2017-01-02 16:38:04 +01:00
|
|
|
Source2: %{name}.keyring
|
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
|
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
|
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
|
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 \
|
|
|
|
--enable-linux-affinity \
|
|
|
|
--enable-taskstats \
|
2018-04-12 14:11:41 +02:00
|
|
|
--enable-delayacct \
|
2016-10-24 09:43:45 +02:00
|
|
|
--enable-cgroup
|
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}
|
2007-05-25 04:32:37 +02:00
|
|
|
|
|
|
|
%changelog
|