114 lines
3.4 KiB
RPMSpec
114 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package htop (Version 0.8)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: htop
|
|
Url: http://htop.sourceforge.net
|
|
Summary: An Interactive text-mode Process Viewer for Linux
|
|
Version: 0.8
|
|
Release: 7
|
|
License: GPL v2 or later
|
|
Group: System/Monitoring
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Patch0: %{name}-desktop-file-fix-thoenig-01.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: ncurses-devel
|
|
AutoReqProv: on
|
|
|
|
%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
|
|
|
|
%build
|
|
%configure \
|
|
--enable-taskstats
|
|
make
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%clean
|
|
rm -rf %{_buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
%{_mandir}/*/%{name}*
|
|
|
|
%changelog
|
|
* Thu Jul 31 2008 puzel@suse.cz
|
|
- configure with --enable-taskstats to enable
|
|
per-processes IO statistics
|
|
- use %%configure and %%makeinstall macros
|
|
* Fri Jul 11 2008 bwalle@suse.de
|
|
- update to htop 0.8
|
|
* Ability to change sort column with the mouse by clicking
|
|
column titles (click again to invert order)
|
|
* Add support for Linux per-process IO statistics, enabled with
|
|
the --enable-taskstats flag, which requires a kernel compiled
|
|
with taskstats support.
|
|
* Add Unicode support, enabled with the --enable-unicode flag,
|
|
which requires libncursesw. (thanks to Sergej Pupykin)
|
|
* BUGFIX: Fix display of CPU count for threaded processes. When
|
|
user threads are hidden, process now shows the sum of
|
|
processor usage for all processors. When user threads are
|
|
displayed, each thread shows its own processor usage,
|
|
including the root thread.
|
|
* BUGFIX: avoid crashing when using many meters
|
|
- change source tarball format to bzip2
|
|
* Mon Nov 26 2007 thoenig@suse.de
|
|
- Update to htop 0.7
|
|
- Changes:
|
|
* CPU affinity configuration ('a' key)
|
|
* Improve display of tree view, properly nesting
|
|
threads of the same app based on TGID.
|
|
* IO-wait time now counts as idle time, which is a more
|
|
accurate description. It is still available in
|
|
split time, now called detailed CPU time.
|
|
(thanks to Samuel Thibault for the report)
|
|
* BUGFIX: Correct display of TPGID field
|
|
* Add TGID field
|
|
* BUGFIX: Don't crash with invalid command-line flags
|
|
(thanks to Nico Golde for the report)
|
|
* Fix GCC 4.3 compilation issues
|
|
(thanks to Martin Michlmayr for the report)
|
|
* OpenVZ support, enabled at compile-time with
|
|
the --enable-openvz flag.
|
|
(thanks to Sergey Lychko)
|
|
* Sat Jun 02 2007 thoenig@suse.de
|
|
- Update to htop 0.6.6
|
|
- Changes:
|
|
* Add support of NLWP field
|
|
* BUGFIX: Fix use of configurable /proc location
|
|
* Fix memory percentage calculation and make it saner
|
|
* Added display of DRS, DT, LRS and TRS
|
|
* BUGFIX: LRS and DRS memory values were flipped
|
|
* BUGFIX: Don't crash on very high UIDs
|
|
* Tue May 22 2007 thoenig@suse.de
|
|
- Initial package submission (htop 0.6.5)
|
|
- Add patch htop-desktop-file-fix-thoenig-01.patch
|