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