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