Cleanup and build the last packages for Fedora 37
This commit is contained in:
48
fedora/SPECS/archive/htop.spec
Normal file
48
fedora/SPECS/archive/htop.spec
Normal file
@@ -0,0 +1,48 @@
|
||||
%global betaversion beta5
|
||||
Name: htop
|
||||
Version: 3.0.5
|
||||
Release: 1%{?dist}
|
||||
Summary: System Top
|
||||
|
||||
Group: System
|
||||
License: GPL
|
||||
URL: https://hisham.hm/htop/
|
||||
SOURCE0: %name-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: lm_sensors-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}
|
||||
|
||||
|
||||
%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
|
||||
%{_datarootdir}/icons/hicolor/scalable/apps/htop.svg
|
||||
%{_mandir}/man1/htop.1.gz
|
||||
%{_datarootdir}/pixmaps/htop.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Mar 7 2021 Daniel Steiner <daniel.steiner@greenmail.ch> - 3.0.5
|
||||
- Update to 3.0.5 version.
|
||||
|
||||
Reference in New Issue
Block a user