]> git.pld-linux.org Git - packages/htop.git/blobdiff - htop.spec
up to 3.2.2
[packages/htop.git] / htop.spec
index 1fd9acf467200c70463c43dbb5b85ab35376360e..d1e4671e01287f5984ba7485a88dd9c4366a0e32 100644 (file)
--- a/htop.spec
+++ b/htop.spec
@@ -1,33 +1,58 @@
 Summary:       An interactive process viewer
-Summary(pl):   Interaktywna przegl±darka procesów
+Summary(hu.UTF-8):     Egy interaktív processz megjelenítő
+Summary(pl.UTF-8):     Interaktywna przeglądarka procesów
 Name:          htop
-Version:       0.6.2
+Version:       3.2.2
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         Applications/System
-Source0:       http://dl.sourceforge.net/htop/%{name}-%{version}.tar.gz
-# Source0-md5: 995e76b7fd18c05fb7fb5ef10a2166ca
-Patch0:                %{name}-desktop.patch
-URL:           http://htop.sourceforge.net/
+Source0:       https://github.com/htop-dev/htop/releases/download/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 65242dcb1dc2564d647cbb4171a3914b
+URL:           https://htop.dev/
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake >= 1:1.11
+BuildRequires: gcc >= 5:3.0
+BuildRequires: libcap-devel >= 2.21
+BuildRequires: libnl-devel >= 3.0
+BuildRequires: libunwind-devel
+BuildRequires: lm_sensors-devel
 BuildRequires: ncurses-devel
+BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires:      libcap-libs >= 2.21
+Requires:      libnl >= 3.0
+Suggests:      lm_sensors-libs
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 htop is an interactive text-mode process viewer for Linux. It aims to
 be a better 'top'.
 
-%description -l pl
-htop jest interaktywn±, tekstow± przegl±dark± procesów dla Linuksa. Jej
-celem jest bycie lepsz± odmian± programu 'top'.
+%description -l hu.UTF-8
+htop egy interaktív szöveges módú processz megjelenítő Linuxra.
+Lényegében egy jobb 'top' szeretne lenni.
+
+%description -l pl.UTF-8
+htop jest interaktywną, tekstową przeglądarką procesów dla Linuksa.
+Jej celem jest bycie lepszą odmianą programu 'top'.
 
 %prep
 %setup -q
-%patch0 -p1
+
+# don't require /proc at build time
+sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac
 
 %build
-%configure
-%{__make} \
-       CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --enable-openvz \
+       --enable-unicode \
+       --enable-vserver
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -41,7 +66,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/htop
 %{_desktopdir}/htop.desktop
-%{_mandir}/man1/*
+%{_iconsdir}/hicolor/scalable/apps/htop.svg
 %{_pixmapsdir}/htop.png
+%{_mandir}/man1/htop.1*
This page took 0.027446 seconds and 4 git commands to generate.