]> git.pld-linux.org Git - packages/htop.git/blob - htop.spec
- no more separated libtinfo(w)
[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:        1.0
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:  325112ca7947ea1f6d6441f631e00384
11 Patch0:         %{name}-desktop.patch
12 URL:            http://htop.sourceforge.net/
13 BuildRequires:  autoconf >= 2.57
14 BuildRequires:  automake
15 BuildRequires:  gcc >= 5:3.0
16 BuildRequires:  libtool
17 BuildRequires:  ncurses-devel
18 BuildRequires:  python
19 BuildRequires:  python-modules
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
38 # don't require /proc at build time
39 sed '/^AC_CHECK_FILE($PROCDIR)/d' -i configure.ac
40
41 %build
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags ncursesw)"
48 LDFLAGS="%{rpmldflags}"
49 %configure \
50         --enable-cgroup \
51         --enable-openvz \
52         --enable-taskstats \
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.035892 seconds and 4 git commands to generate.