]> git.pld-linux.org Git - packages/htop.git/blobdiff - htop.spec
up to 3.0.2
[packages/htop.git] / htop.spec
index 628354f76a924b10b3b40a32b2e1843ec537f149..a54a52f05cbfb97553184248539d14e000d12941 100644 (file)
--- a/htop.spec
+++ b/htop.spec
@@ -1,13 +1,18 @@
 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.1
+Version:       3.0.2
 Release:       1
 License:       GPL v2
 Group:         Applications/System
-Source0:       http://dl.sourceforge.net/htop/%{name}-%{version}.tar.gz
-# Source0-md5: f369aa17d4e28d0959080966687152e2
-URL:           http://htop.sourceforge.net/
+Source0:       https://github.com/htop-dev/htop/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 3295c83198ae764a42627aaa50dd8c90
+URL:           https://htop.dev/
+BuildRequires: autoconf >= 2.65
+BuildRequires: automake >= 1:1.11
+BuildRequires: gcc >= 5:3.0
+BuildRequires: libtool
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -15,17 +20,34 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 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± 'topu'.
+%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
 
+# 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"
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags ncursesw)"
+%configure \
+       --enable-cgroup \
+       --enable-openvz \
+       --enable-taskstats \
+       --enable-unicode \
+       --enable-vserver
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -39,7 +61,7 @@ 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/*
 %{_pixmapsdir}/htop.png
+%{_mandir}/man1/htop.1*
This page took 0.132327 seconds and 4 git commands to generate.