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