]> git.pld-linux.org Git - packages/htop.git/blob - htop.spec
5b862dcfcc46e2daa8ed893430fee7a5d09735ec
[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.1.2
6 Release:        1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        https://github.com/htop-dev/htop/releases/download/%{version}/%{name}-%{version}.tar.xz
10 # Source0-md5:  13f3be1bb11165c0c46d8b3ff7e17f45
11 URL:            https://htop.dev/
12 BuildRequires:  autoconf >= 2.69
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  gcc >= 5:3.0
15 BuildRequires:  libcap-devel >= 2.21
16 BuildRequires:  libnl-devel >= 3.0
17 BuildRequires:  libtool
18 BuildRequires:  libunwind-devel
19 BuildRequires:  lm_sensors-devel
20 BuildRequires:  ncurses-devel
21 BuildRequires:  pkgconfig
22 BuildRequires:  tar >= 1:1.22
23 BuildRequires:  xz
24 Requires:       libcap-libs >= 2.21
25 Requires:       libnl >= 3.0
26 Suggests:       lm_sensors-libs
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
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
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'.
40
41 %prep
42 %setup -q
43
44 # don't require /proc at build time
45 sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac
46
47 %build
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --enable-openvz \
55         --enable-unicode \
56         --enable-vserver
57 %{__make}
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)
70 %doc AUTHORS ChangeLog README
71 %attr(755,root,root) %{_bindir}/htop
72 %{_desktopdir}/htop.desktop
73 %{_iconsdir}/hicolor/scalable/apps/htop.svg
74 %{_pixmapsdir}/htop.png
75 %{_mandir}/man1/htop.1*
This page took 0.026921 seconds and 3 git commands to generate.