]> git.pld-linux.org Git - packages/htop.git/blob - htop.spec
- 0.8.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:        0.8.2
6 Release:        1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        http://dl.sourceforge.net/htop/%{name}-%{version}.tar.gz
10 # Source0-md5:  78c2382dc4ff0cf5a29a5c3bc1e556ec
11 Patch0:         %{name}-desktop.patch
12 Patch2:         %{name}-field-titles.patch
13 URL:            http://htop.sourceforge.net/
14 BuildRequires:  autoconf >= 2.57
15 BuildRequires:  automake
16 BuildRequires:  gcc >= 5:3.0
17 BuildRequires:  libtool
18 BuildRequires:  ncurses-devel
19 BuildRequires:  sed >= 4.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 htop is an interactive text-mode process viewer for Linux. It aims to
24 be a better 'top'.
25
26 %description -l hu.UTF-8
27 htop egy interaktív szöveges módú processz megjelenítő Linuxra.
28 Lényegében egy jobb 'top' szeretne lenni.
29
30 %description -l pl.UTF-8
31 htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa.
32 Jej celem jest bycie lepszą odmianą programu 'top'.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch2 -p1
38 %{__sed} -i -e 's/curses.h/ncurses\/curses.h/' configure.ac
39
40 %build
41 %{__libtoolize}
42 %{__aclocal}
43 %{__autoconf}
44 %{__autoheader}
45 %{__automake}
46 CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
47 %configure \
48         --enable-openvz \
49         --enable-vserver \
50         --enable-unicode
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog README
65 %attr(755,root,root) %{_bindir}/htop
66 %{_desktopdir}/htop.desktop
67 %{_mandir}/man1/*
68 %{_pixmapsdir}/htop.png
This page took 0.07594 seconds and 4 git commands to generate.