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