1 Summary: An interactive process viewer
2 Summary(pl.UTF-8): Interaktywna przeglądarka procesów
7 Group: Applications/System
8 Source0: http://dl.sourceforge.net/htop/%{name}-%{version}.tar.gz
9 # Source0-md5: 12c8e6e97bd50a4e0a4730d23675fc7b
10 Patch0: %{name}-desktop.patch
11 URL: http://htop.sourceforge.net/
12 BuildRequires: autoconf >= 2.57
13 BuildRequires: automake
14 BuildRequires: gcc >= 5:3.0
15 BuildRequires: ncurses-devel
16 BuildRequires: sed >= 4.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 htop is an interactive text-mode process viewer for Linux. It aims to
23 %description -l pl.UTF-8
24 htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa.
25 Jej celem jest bycie lepszą odmianą programu 'top'.
30 %{__sed} -i -e 's/curses.h/ncurses\/curses.h/' configure.ac
39 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc AUTHORS ChangeLog README
53 %attr(755,root,root) %{_bindir}/*
54 %{_desktopdir}/htop.desktop
56 %{_pixmapsdir}/htop.png