]> git.pld-linux.org Git - packages/htop.git/blobdiff - htop.spec
up to 3.2.2
[packages/htop.git] / htop.spec
index 17db974c5d79a4af51e45591ef2851c1c495a94f..d1e4671e01287f5984ba7485a88dd9c4366a0e32 100644 (file)
--- a/htop.spec
+++ b/htop.spec
@@ -2,18 +2,27 @@ Summary:      An interactive process viewer
 Summary(hu.UTF-8):     Egy interaktív processz megjelenítő
 Summary(pl.UTF-8):     Interaktywna przeglądarka procesów
 Name:          htop
-Version:       3.0.5
+Version:       3.2.2
 Release:       1
 License:       GPL v2
 Group:         Applications/System
-Source0:       https://github.com/htop-dev/htop/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 4a5da60cde7fe64b6f3dd5cd2d036342
+Source0:       https://github.com/htop-dev/htop/releases/download/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 65242dcb1dc2564d647cbb4171a3914b
 URL:           https://htop.dev/
-BuildRequires: autoconf >= 2.65
+BuildRequires: autoconf >= 2.69
 BuildRequires: automake >= 1:1.11
 BuildRequires: gcc >= 5:3.0
-BuildRequires: libtool
+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
@@ -35,16 +44,12 @@ Jej celem jest bycie lepszą odmianą programu 'top'.
 sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac
 
 %build
-%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags ncursesw)"
 %configure \
-       --enable-cgroup \
        --enable-openvz \
-       --enable-taskstats \
        --enable-unicode \
        --enable-vserver
 %{__make}
This page took 0.161476 seconds and 4 git commands to generate.