]>
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 |
3a171ef0 | 5 | Version: 3.0.5 |
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 |
3a171ef0 | 10 | # Source0-md5: 4a5da60cde7fe64b6f3dd5cd2d036342 |
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 |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | htop is an interactive text-mode process viewer for Linux. It aims to | |
21 | be a better 'top'. | |
22 | ||
9cf402c0 ZU |
23 | %description -l hu.UTF-8 |
24 | htop egy interaktív szöveges módú processz megjelenítő Linuxra. | |
25 | Lényegében egy jobb 'top' szeretne lenni. | |
26 | ||
88f42c18 JR |
27 | %description -l pl.UTF-8 |
28 | htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa. | |
29 | Jej celem jest bycie lepszą odmianą programu 'top'. | |
9b6194e5 | 30 | |
31 | %prep | |
32 | %setup -q | |
33 | ||
eb0f5d76 | 34 | # don't require /proc at build time |
2032e93a | 35 | sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac |
eb0f5d76 | 36 | |
9b6194e5 | 37 | %build |
f29b2e2d | 38 | %{__libtoolize} |
60759b7b | 39 | %{__aclocal} |
871b5231 | 40 | %{__autoconf} |
4bf512dd JB |
41 | %{__autoheader} |
42 | %{__automake} | |
0bb09b3d | 43 | CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags ncursesw)" |
e65ee0a9 | 44 | %configure \ |
9c8be7a9 | 45 | --enable-cgroup \ |
77de7425 | 46 | --enable-openvz \ |
9c8be7a9 | 47 | --enable-taskstats \ |
67a3eb10 JB |
48 | --enable-unicode \ |
49 | --enable-vserver | |
e65ee0a9 | 50 | %{__make} |
9b6194e5 | 51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
3d00ea62 | 63 | %doc AUTHORS ChangeLog README |
f29b2e2d | 64 | %attr(755,root,root) %{_bindir}/htop |
3d00ea62 | 65 | %{_desktopdir}/htop.desktop |
9b7a0f92 | 66 | %{_iconsdir}/hicolor/scalable/apps/htop.svg |
3d00ea62 | 67 | %{_pixmapsdir}/htop.png |
67a3eb10 | 68 | %{_mandir}/man1/htop.1* |