Files
rpms/fedora/SPECS/htop.spec
2018-11-23 20:31:19 +01:00

49 lines
1.1 KiB
RPMSpec

%global betaversion beta5
Name: htop
Version: 3.0.0
Release: 5%{?dist}
Summary: System Top
Group: System
License: GPL
URL: https://hisham.hm/htop/
#SOURCE0: %name-%version.tar.gz
SOURCE0: %name-%{version}%{betaversion}.tar.gz
BuildRequires: gcc
BuildRequires: ncurses-devel
%description
This is htop, an interactive process viewer. It requires ncurses. It is developed primarily on Linux, but we also have code for running under FreeBSD and Mac OS X (help and testing are wanted for these platforms!)
This software has evolved considerably over the years, and is reasonably complete, but there is always room for improvement.
%prep
%setup -q -n %name-%{version}%{betaversion}
%build
./autogen.sh
./configure --prefix=%{_prefix}
make
%install
make install DESTDIR=%{buildroot}
%files
%doc AUTHORS COPYING ChangeLog INSTALL NEWS TESTPLAN
%{_bindir}/htop
%{_datarootdir}/applications/htop.desktop
%{_mandir}/man1
%{_mandir}/man1/htop.1.gz
%{_datarootdir}/pixmaps/htop.png
%changelog
* Sun Nov 22 2018 Daniel Steiner <daniel.steiner@greenmail.ch> - 3.0.0
- htop beta build version 3.0.0 Beta 5.