###############################################################################
name = htop
-version = 1.0
-release = 2
+version = 2.2.0
+release = 1
groups = Applications/System
url = http://htop.sourceforge.net/
summary = Interactive process viewer.
description
- htop is an interactive text-mode process viewer for Linux, similar to \
+ htop is an interactive text-mode process viewer for Linux, similar to
top(1).
end
-source_dl = http://sourceforge.net/projects/htop/files
+source_dl = http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/
+source_dl += http://hisham.hm/htop/releases/%{version}/
build
requires
ncurses-devel
end
- configure_options += \
- --sysconfdir=/etc
-
install_cmds
- rm -rf %{BUILDROOT}/usr/share/{applications,pixmaps}
+ rm -rf %{BUILDROOT}%{datadir}/{applications,pixmaps}
end
end