]> git.pld-linux.org Git - packages/htop.git/blob - htop.spec
up to 3.0.2
[packages/htop.git] / htop.spec
1 Summary:        An interactive process viewer
2 Summary(hu.UTF-8):      Egy interaktív processz megjelenítő
3 Summary(pl.UTF-8):      Interaktywna przeglądarka procesów
4 Name:           htop
5 Version:        3.0.2
6 Release:        1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        https://github.com/htop-dev/htop/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  3295c83198ae764a42627aaa50dd8c90
11 URL:            https://htop.dev/
12 BuildRequires:  autoconf >= 2.65
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  gcc >= 5:3.0
15 BuildRequires:  libtool
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
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
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'.
30
31 %prep
32 %setup -q
33
34 # don't require /proc at build time
35 sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac
36
37 %build
38 %{__libtoolize}
39 %{__aclocal}
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags ncursesw)"
44 %configure \
45         --enable-cgroup \
46         --enable-openvz \
47         --enable-taskstats \
48         --enable-unicode \
49         --enable-vserver
50 %{__make}
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)
63 %doc AUTHORS ChangeLog README
64 %attr(755,root,root) %{_bindir}/htop
65 %{_desktopdir}/htop.desktop
66 %{_pixmapsdir}/htop.png
67 %{_mandir}/man1/htop.1*
This page took 0.15558 seconds and 3 git commands to generate.