]> git.pld-linux.org Git - packages/htop.git/blame - htop.spec
- release 2
[packages/htop.git] / htop.spec
CommitLineData
9b6194e5 1Summary: An interactive process viewer
9cf402c0 2Summary(hu.UTF-8): Egy interaktív processz megjelenítő
b81062a7 3Summary(pl.UTF-8): Interaktywna przeglądarka procesów
9b6194e5 4Name: htop
b54dc8a5 5Version: 0.9
4a446312 6Release: 2
f29b2e2d 7License: GPL v2
9b6194e5 8Group: Applications/System
e121fc88 9Source0: http://downloads.sourceforge.net/htop/%{name}-%{version}.tar.gz
b54dc8a5 10# Source0-md5: 7c5507f35f363f3f40183a2ba3c561f8
8c719714 11Patch0: %{name}-desktop.patch
056b76e0 12Patch2: %{name}-field-titles.patch
690fe1ec 13URL: http://htop.sourceforge.net/
4bf512dd 14BuildRequires: autoconf >= 2.57
60759b7b 15BuildRequires: automake
4bf512dd 16BuildRequires: gcc >= 5:3.0
f29b2e2d 17BuildRequires: libtool
9b6194e5 18BuildRequires: ncurses-devel
eb0f5d76 19BuildRequires: python
20BuildRequires: python-modules
9b6194e5 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24htop is an interactive text-mode process viewer for Linux. It aims to
25be a better 'top'.
26
9cf402c0
ZU
27%description -l hu.UTF-8
28htop egy interaktív szöveges módú processz megjelenítő Linuxra.
29Lényegében egy jobb 'top' szeretne lenni.
30
88f42c18
JR
31%description -l pl.UTF-8
32htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa.
33Jej celem jest bycie lepszą odmianą programu 'top'.
9b6194e5 34
35%prep
36%setup -q
8c719714 37%patch0 -p1
056b76e0 38%patch2 -p1
9b6194e5 39
eb0f5d76 40# don't require /proc at build time
41sed '/^AC_CHECK_FILE($PROCDIR/d' -i configure.ac
42
9b6194e5 43%build
f29b2e2d 44%{__libtoolize}
60759b7b 45%{__aclocal}
871b5231 46%{__autoconf}
4bf512dd
JB
47%{__autoheader}
48%{__automake}
67a3eb10
JB
49CPPFLAGS="%{rpmcppflags} -I/usr/include/ncursesw"
50LDFLAGS="%{rpmldflags} -ltinfow"
e65ee0a9 51%configure \
77de7425 52 --enable-openvz \
67a3eb10
JB
53 --enable-unicode \
54 --enable-vserver
e65ee0a9 55%{__make}
9b6194e5 56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
3d00ea62 68%doc AUTHORS ChangeLog README
f29b2e2d 69%attr(755,root,root) %{_bindir}/htop
3d00ea62 70%{_desktopdir}/htop.desktop
3d00ea62 71%{_pixmapsdir}/htop.png
67a3eb10 72%{_mandir}/man1/htop.1*
This page took 0.040541 seconds and 4 git commands to generate.