]> git.pld-linux.org Git - packages/htop.git/blob - htop.spec
0896e03ef29cd90623c0aeadf992401c80e6db4d
[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:  libunwind-devel
18 BuildRequires:  lm_sensors-devel
19 BuildRequires:  ncurses-devel
20 BuildRequires:  pkgconfig
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xz
23 Requires:       libcap-libs >= 2.21
24 Requires:       libnl >= 3.0
25 Suggests:       lm_sensors-libs
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 htop is an interactive text-mode process viewer for Linux. It aims to
30 be a better 'top'.
31
32 %description -l hu.UTF-8
33 htop egy interaktív szöveges módú processz megjelenítő Linuxra.
34 Lényegében egy jobb 'top' szeretne lenni.
35
36 %description -l pl.UTF-8
37 htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa.
38 Jej celem jest bycie lepszą odmianą programu 'top'.
39
40 %prep
41 %setup -q
42
43 # don't require /proc at build time
44 sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac
45
46 %build
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         --enable-openvz \
53         --enable-unicode \
54         --enable-vserver
55 %{__make}
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)
68 %doc AUTHORS ChangeLog README
69 %attr(755,root,root) %{_bindir}/htop
70 %{_desktopdir}/htop.desktop
71 %{_iconsdir}/hicolor/scalable/apps/htop.svg
72 %{_pixmapsdir}/htop.png
73 %{_mandir}/man1/htop.1*
This page took 0.068729 seconds and 2 git commands to generate.