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