]> git.pld-linux.org Git - packages/htop.git/blame - htop.spec
version macro in source0 url
[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
81d0aa47 5Version: 1.0.3
71b8cc9c 6Release: 1
f29b2e2d 7License: GPL v2
9b6194e5 8Group: Applications/System
1762d873 9Source0: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz
81d0aa47 10# Source0-md5: e768b9b55c033d9c1dffda72db3a6ac7
8c719714 11Patch0: %{name}-desktop.patch
81d0aa47 12URL: http://hisham.hm/htop/
4bf512dd 13BuildRequires: autoconf >= 2.57
60759b7b 14BuildRequires: automake
4bf512dd 15BuildRequires: gcc >= 5:3.0
f29b2e2d 16BuildRequires: libtool
9b6194e5 17BuildRequires: ncurses-devel
eb0f5d76 18BuildRequires: python
19BuildRequires: python-modules
9b6194e5 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23htop is an interactive text-mode process viewer for Linux. It aims to
24be a better 'top'.
25
9cf402c0
ZU
26%description -l hu.UTF-8
27htop egy interaktív szöveges módú processz megjelenítő Linuxra.
28Lényegében egy jobb 'top' szeretne lenni.
29
88f42c18
JR
30%description -l pl.UTF-8
31htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa.
32Jej celem jest bycie lepszą odmianą programu 'top'.
9b6194e5 33
34%prep
35%setup -q
8c719714 36%patch0 -p1
9b6194e5 37
eb0f5d76 38# don't require /proc at build time
0bb09b3d 39sed '/^AC_CHECK_FILE($PROCDIR)/d' -i configure.ac
eb0f5d76 40
9b6194e5 41%build
f29b2e2d 42%{__libtoolize}
60759b7b 43%{__aclocal}
871b5231 44%{__autoconf}
4bf512dd
JB
45%{__autoheader}
46%{__automake}
0bb09b3d 47CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags ncursesw)"
d39f80f5 48LDFLAGS="%{rpmldflags}"
e65ee0a9 49%configure \
9c8be7a9 50 --enable-cgroup \
77de7425 51 --enable-openvz \
9c8be7a9 52 --enable-taskstats \
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.105296 seconds and 4 git commands to generate.