htop-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. Name: htop
  2. Version: 1.0
  3. Release: 1%{?_dist_release}
  4. Summary: Interactive process viewer
  5. Summary(ja): インタラクティブなプロセスビューア
  6. Group: Applications/System
  7. License: GPL+
  8. URL: http://htop.sourceforge.net/
  9. Source0: http://download.sourceforge.net/htop/%{name}-%{version}.tar.gz
  10. # Patch by Petr Holasek (pholasek@redhat.com)
  11. # Filed into upstream bugtracker:
  12. # http://sourceforge.net/tracker/?func=detail&aid=3169589&group_id=108839&atid=651635
  13. Patch4: htop-1.0-libpagemap.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  15. BuildRequires: desktop-file-utils
  16. BuildRequires: ncurses-devel, python, libtool, libpagemap-devel
  17. %description
  18. htop is an interactive text-mode process viewer for Linux, similar to
  19. top(1).
  20. %description -l ja
  21. htop は、top(1) コマンド同様の、Linux 用テキストモードで利用する
  22. インタラクティブなプロセスビューアです。
  23. %prep
  24. %setup -q
  25. %patch4 -p1 -b.pgmap
  26. sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in
  27. %build
  28. %configure --enable-openvz --enable-vserver --enable-taskstats \
  29. --enable-unicode --enable-native-affinity --enable-cgroup
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf %{buildroot}
  33. make install DESTDIR=%{buildroot}
  34. #remove empty direcories
  35. rm -rf %{buildroot}/%{_libdir}
  36. rm -rf %{buildroot}/%{_includedir}
  37. # remove desktop file
  38. rm -rf %{buildroot}/%{_datadir}/applications/
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS COPYING ChangeLog README
  44. %{_bindir}/htop
  45. %{_datadir}/pixmaps/htop.png
  46. %{_mandir}/man1/htop.1*
  47. %changelog
  48. * Tue Feb 28 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0-1
  49. - initial build for Vine Linux
  50. * Tue Feb 07 2012 Miloš Jakubíček <xjakub@fi.muni.cz> - 1.0-1
  51. - Update to 1.0
  52. - Build with --enable-openvz --enable-vserver --enable-taskstats
  53. --enable-unicode --enable-native-affinity --enable-cgroup
  54. - Drop htop-0.9-system-plpa.patch (no PLPA needed anymore)
  55. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  57. * Fri Apr 08 2011 Miloš Jakubíček <xjakub@fi.muni.cz> - 0.9-3
  58. - include patch by Petr Holasek (pholasek@redhat.com) that adds
  59. libpagemap support and introduces new -p cmd option and USS,
  60. PSS, SWAP columns
  61. * Sat Mar 19 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9-2
  62. - Clean up spec to match current guidelines
  63. - Drop desktop file. Resolves rhbz#689028
  64. * Sat Mar 05 2011 Miloš Jakubíček <xjakub@fi.muni.cz> - 0.9-1
  65. - Update to 0.9
  66. - Clean specfile, remove Polish translations, unused patches
  67. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-4
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  69. * Thu Mar 4 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.8.3-3
  70. - use plpa system copy instead of embedded one
  71. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Tue Jun 23 2009 Rafał Psota <rafalzaq@gmail.com> - 0.8.3-1
  74. - update to 0.8.3
  75. * Fri Jun 12 2009 Rafał Psota <rafalzaq@gmail.com> - 0.8.2-2
  76. - "htop aborts after hitting F6 key" fixed (#504795)
  77. * Tue Jun 02 2009 Rafał Psota <rafalzaq@gmail.com> - 0.8.2-1
  78. - update to 0.8.2
  79. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  81. * Thu Feb 05 2009 Rafał Psota <rafalzaq@gmail.com> - 0.8.1-3
  82. - "Tree view doesn't work with threads hidden" fixed (#481072)
  83. * Tue Nov 18 2008 Rafał Psota <rafalzaq@gmail.com> - 0.8.1-2
  84. - non-printable character filter patch (#504144)
  85. * Tue Oct 14 2008 Rafał Psota <rafalzaq@gmail.com> - 0.8.1-1
  86. - update to 0.8.1
  87. * Thu Jul 31 2008 Rafał Psota <rafalzaq@gmail.com> - 0.8-1
  88. - update to 0.8
  89. * Sun Apr 27 2008 Rafał Psota <rafalzaq@gmail.com> - 0.7-2
  90. - desktop file fix
  91. * Mon Feb 11 2008 Rafał Psota <rafalzaq@gmail.com> - 0.7-1
  92. - update to 0.7
  93. * Sat Dec 9 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.5-1
  94. - Update to 0.6.5
  95. * Wed Oct 4 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.4-1
  96. - Update to 0.6.4
  97. * Sat Sep 16 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.3-2
  98. - Rebuild for FE6
  99. * Sun Jul 30 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.3-1
  100. - Update to 0.6.3
  101. - Correct e-mail address in ChangeLog
  102. - Replace tabs with spaces
  103. * Sat May 20 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.2-1
  104. - Update to 0.6.2
  105. * Wed May 10 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.1-2
  106. - Add missing BR: desktop-file-utils
  107. * Wed May 10 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.1-1
  108. - Update to 0.6.1
  109. * Tue Feb 14 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6-3
  110. - Rebuild for Fedora Extras 5
  111. * Wed Dec 28 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6-2
  112. - Rebuild with updated tarball
  113. * Wed Dec 28 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6-1
  114. - Version 0.6
  115. * Fri Nov 11 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.5.4-2
  116. - Don't use superflous CFLAGS variable (Dmitry Butskoy)
  117. - Don't include AUTHORS and NEWS files
  118. * Thu Nov 10 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.5.4-1
  119. - Initial RPM release.