]>
Commit | Line | Data |
---|---|---|
9b6194e5 | 1 | Summary: An interactive process viewer |
9cf402c0 | 2 | Summary(hu.UTF-8): Egy interaktív processz megjelenítő |
b81062a7 | 3 | Summary(pl.UTF-8): Interaktywna przeglądarka procesów |
9b6194e5 | 4 | Name: htop |
8131f371 | 5 | Version: 3.0.1 |
71b8cc9c | 6 | Release: 1 |
f29b2e2d | 7 | License: GPL v2 |
9b6194e5 | 8 | Group: Applications/System |
2032e93a | 9 | Source0: https://github.com/htop-dev/htop/archive/%{version}/%{name}-%{version}.tar.gz |
8131f371 | 10 | # Source0-md5: c09908bacb5e22454715547aed88c3af |
2032e93a | 11 | URL: https://htop.dev/ |
c637f88b JB |
12 | BuildRequires: autoconf >= 2.65 |
13 | BuildRequires: automake >= 1:1.11 | |
4bf512dd | 14 | BuildRequires: gcc >= 5:3.0 |
f29b2e2d | 15 | BuildRequires: libtool |
9b6194e5 | 16 | BuildRequires: ncurses-devel |
eb0f5d76 | 17 | BuildRequires: python |
18 | BuildRequires: python-modules | |
9b6194e5 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | htop is an interactive text-mode process viewer for Linux. It aims to | |
23 | be a better 'top'. | |
24 | ||
9cf402c0 ZU |
25 | %description -l hu.UTF-8 |
26 | htop egy interaktív szöveges módú processz megjelenítő Linuxra. | |
27 | Lényegében egy jobb 'top' szeretne lenni. | |
28 | ||
88f42c18 JR |
29 | %description -l pl.UTF-8 |
30 | htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa. | |
31 | Jej celem jest bycie lepszą odmianą programu 'top'. | |
9b6194e5 | 32 | |
33 | %prep | |
34 | %setup -q | |
35 | ||
eb0f5d76 | 36 | # don't require /proc at build time |
2032e93a | 37 | sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac |
eb0f5d76 | 38 | |
9b6194e5 | 39 | %build |
f29b2e2d | 40 | %{__libtoolize} |
60759b7b | 41 | %{__aclocal} |
871b5231 | 42 | %{__autoconf} |
4bf512dd JB |
43 | %{__autoheader} |
44 | %{__automake} | |
0bb09b3d | 45 | CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags ncursesw)" |
e65ee0a9 | 46 | %configure \ |
9c8be7a9 | 47 | --enable-cgroup \ |
77de7425 | 48 | --enable-openvz \ |
9c8be7a9 | 49 | --enable-taskstats \ |
67a3eb10 JB |
50 | --enable-unicode \ |
51 | --enable-vserver | |
e65ee0a9 | 52 | %{__make} |
9b6194e5 | 53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
3d00ea62 | 65 | %doc AUTHORS ChangeLog README |
f29b2e2d | 66 | %attr(755,root,root) %{_bindir}/htop |
3d00ea62 | 67 | %{_desktopdir}/htop.desktop |
3d00ea62 | 68 | %{_pixmapsdir}/htop.png |
67a3eb10 | 69 | %{_mandir}/man1/htop.1* |