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