Summary: An interactive process viewer Summary(pl): Interaktywna przeglądarka procesów Name: htop Version: 0.6.3 Release: 1 License: GPL Group: Applications/System Source0: http://dl.sourceforge.net/htop/%{name}-%{version}.tar.gz # Source0-md5: 51255f2b3632888e7de511a5a47dd785 Patch0: %{name}-desktop.patch URL: http://htop.sourceforge.net BuildRequires: autoconf BuildRequires: ncurses-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description htop is an interactive text-mode process viewer for Linux. It aims to be a better 'top'. %description -l pl htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa. Jej celem jest bycie lepszą odmianą programu 'top'. %prep %setup -q %patch0 -p1 %{__sed} -i -e 's/curses.h/ncurses\/curses.h/' configure.ac %build %{__autoconf} %configure %{__make} \ CFLAGS="%{rpmcflags} -I/usr/include/ncurses" %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog README %attr(755,root,root) %{_bindir}/* %{_desktopdir}/htop.desktop %{_mandir}/man1/* %{_pixmapsdir}/htop.png