Files
rpms/fedora/SPECS/htop.spec

49 lines
1.1 KiB
RPMSpec
Raw Normal View History

2018-11-23 20:31:19 +01:00
%global betaversion beta5
2018-11-12 00:01:11 +01:00
Name: htop
2018-11-12 00:21:48 +01:00
Version: 3.0.0
2018-11-23 20:31:19 +01:00
Release: 5%{?dist}
2018-11-12 00:01:11 +01:00
Summary: System Top
Group: System
License: GPL
URL: https://hisham.hm/htop/
2018-11-23 20:31:19 +01:00
#SOURCE0: %name-%version.tar.gz
SOURCE0: %name-%{version}%{betaversion}.tar.gz
2018-11-12 00:01:11 +01:00
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
2018-11-23 20:31:19 +01:00
%setup -q -n %name-%{version}%{betaversion}
2018-11-12 00:01:11 +01:00
%build
./autogen.sh
2018-11-23 20:31:19 +01:00
./configure --prefix=%{_prefix}
make
2018-11-12 00:01:11 +01:00
%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
2018-11-23 20:31:19 +01:00
* Sun Nov 22 2018 Daniel Steiner <daniel.steiner@greenmail.ch> - 3.0.0
- htop beta build version 3.0.0 Beta 5.
2018-11-12 00:01:11 +01:00