Blob Blame History Raw
Name:           htop
Version:        0.6.1
Release:        1%{?dist}
Summary:        Interactive process viewer

Group:          Applications/System
License:        GPL
URL:            http://htop.sourceforge.net/
Source0:        http://download.sourceforge.net/htop/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ncurses-devel

%description
htop is an interactive text-mode process viewer for Linux, similar to
top(1).


%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

desktop-file-install \
	--dir %{buildroot}%{_datadir}/applications \
	--vendor fedora \
	--add-category X-Fedora \
	--add-category Application \
	--delete-original \
	%{buildroot}%{_datadir}/applications/htop.desktop


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog README
%{_bindir}/htop
%{_datadir}/applications/*htop.desktop
%{_datadir}/pixmaps/htop.png
%{_mandir}/man1/htop.1*


%changelog
* Wed May 10 2006 Dawid Gajownik <gajownik[AT]fedora.pl> - 0.6.1-1
- Update to 0.6.1

* Tue Feb 14 2006 Dawid Gajownik <gajownik[AT]fedora.pl> - 0.6-3
- Rebuild for Fedora Extras 5

* Wed Dec 28 2005 Dawid Gajownik <gajownik[AT]fedora.pl> - 0.6-2
- Rebuild with updated tarball

* Wed Dec 28 2005 Dawid Gajownik <gajownik[AT]fedora.pl> - 0.6-1
- Version 0.6

* Fri Nov 11 2005 Dawid Gajownik <gajownik[AT]fedora.pl> - 0.5.4-2
- Don't use superflous CFLAGS variable (Dmitry Butskoy)
- Don't include AUTHORS and NEWS files

* Thu Nov 10 2005 Dawid Gajownik <gajownik[AT]fedora.pl> - 0.5.4-1
- Initial RPM release.