]> git.pld-linux.org Git - packages/htop.git/blob - htop.spec
up to 3.0.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.0.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:  695cb3f6d6eae13f53c74c491da449ea
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 BuildRequires:  python
18 BuildRequires:  python-modules
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 htop is an interactive text-mode process viewer for Linux. It aims to
23 be a better 'top'.
24
25 %description -l hu.UTF-8
26 htop egy interaktív szöveges módú processz megjelenítő Linuxra.
27 Lényegében egy jobb 'top' szeretne lenni.
28
29 %description -l pl.UTF-8
30 htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa.
31 Jej celem jest bycie lepszą odmianą programu 'top'.
32
33 %prep
34 %setup -q
35
36 # don't require /proc at build time
37 sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac
38
39 %build
40 %{__libtoolize}
41 %{__aclocal}
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags ncursesw)"
46 %configure \
47         --enable-cgroup \
48         --enable-openvz \
49         --enable-taskstats \
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 %{_pixmapsdir}/htop.png
69 %{_mandir}/man1/htop.1*
This page took 0.072581 seconds and 3 git commands to generate.