]> git.pld-linux.org Git - packages/htop.git/blob - htop.spec
4118a70eda050dae9a2460e26421190828d8d457
[packages/htop.git] / htop.spec
1 Summary:        An interactive process viewer
2 Summary(pl):    Interaktywna przegl±darka procesów
3 Name:           htop
4 Version:        0.6.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://dl.sourceforge.net/htop/%{name}-%{version}.tar.gz
9 # Source0-md5:  51255f2b3632888e7de511a5a47dd785
10 Patch0:         %{name}-desktop.patch
11 URL:            http://htop.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  ncurses-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 htop is an interactive text-mode process viewer for Linux. It aims to
19 be a better 'top'.
20
21 %description -l pl
22 htop jest interaktywn±, tekstow± przegl±dark± procesów dla Linuksa.
23 Jej celem jest bycie lepsz± odmian± programu 'top'.
24
25 %prep
26 %setup -q
27 %patch0 -p1
28 %{__sed} -i -e 's/curses.h/ncurses\/curses.h/' configure.ac
29
30 %build
31 %{__aclocal}
32 %{__autoconf}
33 %configure
34 %{__make} \
35         CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc AUTHORS ChangeLog README
49 %attr(755,root,root) %{_bindir}/*
50 %{_desktopdir}/htop.desktop
51 %{_mandir}/man1/*
52 %{_pixmapsdir}/htop.png
This page took 0.071381 seconds and 2 git commands to generate.