Name: htop Version: 0.9 Release: 4%{?dist} Summary: Interactive process viewer Group: Applications/System License: GPL+ URL: http://htop.sourceforge.net/ Source0: http://download.sourceforge.net/htop/%{name}-%{version}.tar.gz # Use system plpa Patch3: htop-0.9-system-plpa.patch # Patch by Petr Holasek (pholasek@redhat.com) # Filed into upstream bugtracker: # http://sourceforge.net/tracker/?func=detail&aid=3169589&group_id=108839&atid=651635 Patch4: htop-0.9-libpagemap.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils BuildRequires: ncurses-devel, python, libtool, plpa-devel, libpagemap-devel %description htop is an interactive text-mode process viewer for Linux, similar to top(1). %prep %setup -q %patch3 -p1 -b .noplpa %patch4 -p1 sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in # We will use the plpa system copy instead. rm -rf plpa-1.1/ autoreconf -i %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT #remove empty direcories rm -rf $RPM_BUILD_ROOT%{libdir} rm -rf $RPM_BUILD_ROOT%{includedir} # remove desktop file rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/ %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README TODO %{_bindir}/htop %{_datadir}/pixmaps/htop.png %{_mandir}/man1/htop.1* %changelog * Fri Jan 13 2012 Fedora Release Engineering - 0.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Apr 08 2011 Miloš Jakubíček - 0.9-3 - include patch by Petr Holasek (pholasek@redhat.com) that adds libpagemap support and introduces new -p cmd option and USS, PSS, SWAP columns * Sat Mar 19 2011 Rahul Sundaram - 0.9-2 - Clean up spec to match current guidelines - Drop desktop file. Resolves rhbz#689028 * Sat Mar 05 2011 Miloš Jakubíček - 0.9-1 - Update to 0.9 - Clean specfile, remove Polish translations, unused patches * Wed Feb 09 2011 Fedora Release Engineering - 0.8.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Mar 4 2010 Tom "spot" Callaway - 0.8.3-3 - use plpa system copy instead of embedded one * Fri Jul 24 2009 Fedora Release Engineering - 0.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jun 23 2009 Rafał Psota - 0.8.3-1 - update to 0.8.3 * Fri Jun 12 2009 Rafał Psota - 0.8.2-2 - "htop aborts after hitting F6 key" fixed (#504795) * Tue Jun 02 2009 Rafał Psota - 0.8.2-1 - update to 0.8.2 * Tue Feb 24 2009 Fedora Release Engineering - 0.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 05 2009 Rafał Psota - 0.8.1-3 - "Tree view doesn't work with threads hidden" fixed (#481072) * Tue Nov 18 2008 Rafał Psota - 0.8.1-2 - non-printable character filter patch (#504144) * Tue Oct 14 2008 Rafał Psota - 0.8.1-1 - update to 0.8.1 * Thu Jul 31 2008 Rafał Psota - 0.8-1 - update to 0.8 * Sun Apr 27 2008 Rafał Psota - 0.7-2 - desktop file fix * Mon Feb 11 2008 Rafał Psota - 0.7-1 - update to 0.7 * Sat Dec 9 2006 Dawid Gajownik - 0.6.5-1 - Update to 0.6.5 * Wed Oct 4 2006 Dawid Gajownik - 0.6.4-1 - Update to 0.6.4 * Sat Sep 16 2006 Dawid Gajownik - 0.6.3-2 - Rebuild for FE6 * Sun Jul 30 2006 Dawid Gajownik - 0.6.3-1 - Update to 0.6.3 - Correct e-mail address in ChangeLog - Replace tabs with spaces * Sat May 20 2006 Dawid Gajownik - 0.6.2-1 - Update to 0.6.2 * Wed May 10 2006 Dawid Gajownik - 0.6.1-2 - Add missing BR: desktop-file-utils * Wed May 10 2006 Dawid Gajownik - 0.6.1-1 - Update to 0.6.1 * Tue Feb 14 2006 Dawid Gajownik - 0.6-3 - Rebuild for Fedora Extras 5 * Wed Dec 28 2005 Dawid Gajownik - 0.6-2 - Rebuild with updated tarball * Wed Dec 28 2005 Dawid Gajownik - 0.6-1 - Version 0.6 * Fri Nov 11 2005 Dawid Gajownik - 0.5.4-2 - Don't use superflous CFLAGS variable (Dmitry Butskoy) - Don't include AUTHORS and NEWS files * Thu Nov 10 2005 Dawid Gajownik - 0.5.4-1 - Initial RPM release.