SHA256
1
0
forked from pool/htop
htop/htop.spec

77 lines
2.0 KiB
RPMSpec

#
# spec file for package htop (Version 0.6.6)
#
# Copyright (c) 2007 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: htop is an interactive text-mode process viewer for Linux. It aims to be a better 'top'.
Version: 0.6.6
Release: 1
License: GNU General Public License (GPL)
Group: System/Monitoring
Source0: %{name}-%{version}.tar.gz
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'. It 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 CFLAGS="$RPM_OPT_FLAGS" \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir}
make
%install
mkdir -p %{buildroot}/%{_bindir}
make install DESTDIR=%{buildroot}
%clean
rm -rf %{_buildroot}
%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/*/%{name}*
%changelog
* 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