]> git.pld-linux.org Git - packages/htop.git/blob - htop.spec
- release 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.9
6 Release:        2
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        http://downloads.sourceforge.net/htop/%{name}-%{version}.tar.gz
10 # Source0-md5:  7c5507f35f363f3f40183a2ba3c561f8
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:  python
20 BuildRequires:  python-modules
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 %patch2 -p1
39
40 # don't require /proc at build time
41 sed '/^AC_CHECK_FILE($PROCDIR/d' -i configure.ac
42
43 %build
44 %{__libtoolize}
45 %{__aclocal}
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncursesw"
50 LDFLAGS="%{rpmldflags} -ltinfow"
51 %configure \
52         --enable-openvz \
53         --enable-unicode \
54         --enable-vserver
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog README
69 %attr(755,root,root) %{_bindir}/htop
70 %{_desktopdir}/htop.desktop
71 %{_pixmapsdir}/htop.png
72 %{_mandir}/man1/htop.1*
This page took 0.088932 seconds and 4 git commands to generate.