You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
htop/htop.spec

65 lines
1.3 KiB

11 years ago
Name: htop
Version: 3.3.0
Release: %autorelease
11 years ago
Summary: Interactive process viewer
License: GPLv2+
11 years ago
URL: http://hisham.hm/htop/
Source0: https://github.com/htop-dev/htop/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
11 years ago
BuildRequires: desktop-file-utils
BuildRequires: ncurses-devel
%if 0%{?rhel} == 8
BuildRequires: platform-python
BuildRequires: /usr/bin/pathfix.py
%else
11 years ago
BuildRequires: python
%endif
11 years ago
BuildRequires: libtool
BuildRequires: make
BuildRequires: lm_sensors-devel
BuildRequires: hwloc-devel
BuildRequires: libcap-devel
BuildRequires: libnl3-devel
%description
htop is an interactive text-mode process viewer for Linux, similar to
top(1).
%prep
%autosetup -p1
%if 0%{?rhel} == 8
pathfix.py -pni "/usr/libexec/platform-python" scripts/
%endif
%build
autoreconf -vfi
%configure \
--enable-openvz \
--enable-vserver \
--enable-hwloc \
--enable-unicode \
--enable-sensors \
--enable-delayacct \
--enable-capabilities
%make_build
%install
%make_install
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%files
%doc AUTHORS ChangeLog README
%license COPYING
%{_bindir}/htop
19 years ago
%{_datadir}/pixmaps/htop.png
4 years ago
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/htop.1*
%changelog
%autochangelog