2007-05-25 04:32:37 +02:00
|
|
|
#
|
2009-07-04 10:53:15 +02:00
|
|
|
# spec file for package htop (Version 0.8.3)
|
2007-05-25 04:32:37 +02:00
|
|
|
#
|
2009-07-04 10:53:15 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-05-25 04:32:37 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-07-11 22:45:50 +02:00
|
|
|
|
2007-05-25 04:32:37 +02:00
|
|
|
Name: htop
|
2007-11-26 20:43:22 +01:00
|
|
|
Url: http://htop.sourceforge.net
|
|
|
|
Summary: An Interactive text-mode Process Viewer for Linux
|
2009-07-04 10:53:15 +02:00
|
|
|
Version: 0.8.3
|
|
|
|
Release: 1
|
2007-11-26 20:43:22 +01:00
|
|
|
License: GPL v2 or later
|
2007-05-25 04:32:37 +02:00
|
|
|
Group: System/Monitoring
|
2008-07-11 22:45:50 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2007-05-25 04:32:37 +02:00
|
|
|
Patch0: %{name}-desktop-file-fix-thoenig-01.patch
|
2008-11-21 15:21:46 +01:00
|
|
|
Patch1: %{name}-non-printable-characters.patch
|
2007-05-25 04:32:37 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-11-21 15:21:46 +01:00
|
|
|
BuildRequires: ncurses-devel python
|
2009-07-04 10:53:15 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
Recommends: strace
|
|
|
|
Recommends: lsof
|
2007-11-26 20:43:22 +01:00
|
|
|
AutoReqProv: on
|
2007-05-25 04:32:37 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
htop is an interactive text-mode process viewer for Linux. It aims to
|
2007-11-26 20:43:22 +01:00
|
|
|
be a better 'top' and requires ncurses. It is tested with Linux 2.6,
|
2007-05-25 04:32:37 +02:00
|
|
|
but is also reported to work (and was originally developed) with the
|
|
|
|
2.4 series.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hisham H. Muhammad
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch0 -p0
|
2008-11-21 15:21:46 +01:00
|
|
|
%patch1 -p1
|
2007-05-25 04:32:37 +02:00
|
|
|
|
|
|
|
%build
|
2008-08-02 04:00:42 +02:00
|
|
|
%configure \
|
|
|
|
--enable-taskstats
|
2007-05-25 04:32:37 +02:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2008-08-02 04:00:42 +02:00
|
|
|
%makeinstall
|
2009-07-04 10:53:15 +02:00
|
|
|
%suse_update_desktop_file -i %name System Monitor
|
2007-05-25 04:32:37 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{_buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_mandir}/*/%{name}*
|
|
|
|
|
|
|
|
%changelog
|