smem-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. Name: smem
  2. Version: 1.5
  3. Release: 1%{?_dist_release}
  4. Summary: Report application memory usage in a meaningful way
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. BuildArch: noarch
  8. License: GPLv2+
  9. URL: http://www.selenic.com/smem/
  10. Source0: http://www.selenic.com/smem/download/smem-%{version}.tar.xz
  11. Patch0: smem-1.5-python3path.patch
  12. %description
  13. smem is a tool that can give numerous reports on memory usage on Linux
  14. systems. Unlike existing tools, smem can report proportional set size (PSS),
  15. which is a more meaningful representation of the amount of memory used by
  16. libraries and applications in a virtual memory system.
  17. Because large portions of physical memory are typically shared among
  18. multiple applications, the standard measure of memory usage known as
  19. resident set size (RSS) will significantly overestimate memory usage. PSS
  20. instead measures each application's "fair share" of each shared area to give
  21. a realistic measure.
  22. %prep
  23. %setup -q
  24. %patch0 -p1 -b py3
  25. %build
  26. %install
  27. install -D -p -m 755 smem $RPM_BUILD_ROOT/%{_bindir}/smem
  28. install -D -p -m 644 smem.8 $RPM_BUILD_ROOT/%{_mandir}/man8/smem.8
  29. %files
  30. %license COPYING
  31. %{_bindir}/smem
  32. %{_mandir}/man8/smem.8*
  33. %changelog
  34. * Sat Apr 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.5-1
  35. - new upstream release.
  36. * Sat May 28 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4-5
  37. - initial build for Vine Linux.
  38. * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
  39. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  40. * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
  41. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  42. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
  43. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  44. * Mon Dec 9 2013 Matthew Miller <mattdm@mattdm.org> - 1.4-1
  45. - update to 1.4 (small bugfixes)
  46. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  48. * Thu Mar 28 2013 Matthew Miller <mattdm@mattdm.org> - 1.3-1
  49. - update to 1.3 (small bugfixes)
  50. * Fri Feb 15 2013 Michal Schmidt <mschmidt@redhat.com> - 1.2-4
  51. - Drop the kernel Requires. Using Conflicts would have been acceptable,
  52. but 2.6.27 is ancient history anyway.
  53. - Remove spec file elements no longer required by current packaging guidelines
  54. (Group, BuildRoot, explicit buildroot cleaning, defattr).
  55. * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  57. * Mon Oct 29 2012 Matthew Miller <mattdm@mattdm.org> - 1.2-2
  58. - now we have an upstream tarball. thanks, upstream!
  59. * Mon Oct 29 2012 Matthew Miller <mattdm@mattdm.org> - 1.2-1
  60. - 1.2; no upstream tarball, but tagged in the hg repo.
  61. - resolves bz #757908 (-m and -u fail as non-root)
  62. - resolves bz #864504 (failure in presense of unknown uids)
  63. * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  65. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  67. * Wed Aug 10 2011 Matthew Miller <mattdm@mattdm.org> - 1.0-2
  68. - don't hardcode version in source name above, because that
  69. will lead to me confusing myself. trust me.
  70. - no longer install sample script as documentation
  71. * Wed Aug 10 2011 Matthew Miller <mattdm@mattdm.org> - 1.0-1
  72. - update to 1.0 (bugzilla #678249)
  73. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  75. * Wed Nov 11 2009 Matthew Miller <mattdm@mattdm.org> - 0.9-1
  76. - update to 0.9
  77. - drop add-hoc index.html doc; add man pages
  78. - drop patches, which are now upstream
  79. - not currently building smemcap.c into an executable -- it's new,
  80. and would switch the package from being noarch. will deal with that
  81. in a future update of the package.
  82. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  84. * Thu May 7 2009 Matthew Miller <mattdm@mattdm.org> - 0.1-4
  85. - remove smem.pdf at request of upstream
  86. - patch0: 741bd2646ebf -- add GPLv2+ and copyright notice
  87. - patch1: 4320ad746bcc -- check that kernel release >= 2.6.27
  88. * Thu Apr 30 2009 Matthew Miller <mattdm@mattdm.org> - 0.1-3
  89. - fix minor rpmlint concerns raised in review (bz #498490)
  90. * Thu Apr 30 2009 Matthew Miller <mattdm@mattdm.org> - 0.1-2
  91. - whoops -- fixed group
  92. * Thu Apr 30 2009 Matthew Miller <mattdm@mattdm.org> - 0.1-1
  93. - initial specfile
  94. - note gplv2+ license -- added in svn and will be in next code release