htop/htop.spec

63 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: htop
Version: 1.0.3
Release: 1mamba
Summary: An interactive process viewer for Linux
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://htop.sourceforge.net
Source: http://hisham.hm/htop/releases/%{version}/htop-%{version}.tar.gz
Patch0: htop-0.9-libplpa.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
BuildRequires: libplpa-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
htop is an interactive process viewer for Linux.
It is a text-mode application (for console or X terminals) and requires ncurses.
%prep
%setup -q
#%patch0 -p1
%build
rm -rf plpa-*/
autoreconf -isvf
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/htop
%{_datadir}/man/man1/*
%{_datadir}/applications/htop.desktop
%{_datadir}/pixmaps/htop.png
%doc AUTHORS COPYING
# ChangeLog NEWS README TODO
%changelog
* Wed Jun 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
- update to 1.0.3
* Sun Nov 11 2012 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Mon Apr 04 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9-1mamba
- package created by autospec