SHA256
1
0
forked from pool/htop
htop/htop.spec
Marcus Meissner cc4a4e70dd Accepting request 234764 from home:Dmitry_R:branches:Base:System
- Update to version 1.0.3
  * Tag all children ('c' key)
  * Fixes in accounting of guest time when using virtualization
  * Performance improvements
  * Further performance improvements due to conditional parsing
    of IO data depending on selected fields.
  * Better consistency in coloring.
  * Increase limit of buffer when tracing a deep nested process tree.
  * Display pagefault stats.
  * BUGFIX: Fix crash when adding meters and toggling detailed CPU time.
  * Add column to track the OOM-killer score of processes
  * Rebase htop-stdgnu.patch

OBS-URL: https://build.opensuse.org/request/show/234764
OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=25
2014-05-28 06:12:37 +00:00

77 lines
2.1 KiB
RPMSpec

#
# spec file for package htop
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: htop
Version: 1.0.3
Release: 0
Summary: An Interactive text-mode Process Viewer for Linux
License: GPL-2.0+
Group: System/Monitoring
Url: http://hisham.hm/htop
Source0: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz
Patch0: htop-desktop-file-fix-thoenig-01.patch
Patch1: htop-stdgnu.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
BuildRequires: ncurses-devel
BuildRequires: python
BuildRequires: update-desktop-files
Recommends: strace
Recommends: lsof
%description
htop is an interactive text-mode process viewer for Linux. It aims to
be a better 'top' and requires ncurses. It is tested with Linux 2.6,
but is also reported to work (and was originally developed) with the
2.4 series.
Authors:
--------
Hisham H. Muhammad
%prep
%setup
%patch0 -p0
%patch1 -p1
%build
export CFLAGS="%{optflags} `ncursesw6-config --cflags`"
export LDFLAGS="`ncursesw6-config --libs`"
autoreconf -fiv
%configure \
--enable-unicode \
--enable-taskstats \
--enable-cgroup
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
%suse_update_desktop_file -i %name System Monitor
%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/*/%{name}*
%changelog