e625cc5
Name:           smem
4790373
Version:        1.4
d8eb964
Release:        4%{?dist}
e625cc5
Summary:        Report application memory usage in a meaningful way
e625cc5
e625cc5
License:        GPLv2+
e625cc5
URL:            http://www.selenic.com/smem/
d803421
Source0:        http://www.selenic.com/smem/download/smem-%{version}.tar.gz
e625cc5
BuildArch:      noarch
e625cc5
e625cc5
%description
e625cc5
smem is a tool that can give numerous reports on memory usage on Linux
e625cc5
systems. Unlike existing tools, smem can report proportional set size (PSS),
e625cc5
which is a more meaningful representation of the amount of memory used by
e625cc5
libraries and applications in a virtual memory system.
e625cc5
e625cc5
Because large portions of physical memory are typically shared among
e625cc5
multiple applications, the standard measure of memory usage known as
e625cc5
resident set size (RSS) will significantly overestimate memory usage. PSS
e625cc5
instead measures each application's "fair share" of each shared area to give
e625cc5
a realistic measure.
e625cc5
e625cc5
%prep
e625cc5
e625cc5
%setup -q
e625cc5
e625cc5
%build
e625cc5
e625cc5
e625cc5
%install
e625cc5
install -D -p -m 755 smem $RPM_BUILD_ROOT/%{_bindir}/smem
063b452
install -D -p -m 644 smem.8 $RPM_BUILD_ROOT/%{_mandir}/man8/smem.8
e625cc5
 
e625cc5
e625cc5
%files
19e2343
%doc COPYING
e625cc5
%{_bindir}/smem
063b452
%{_mandir}/man8/smem.8*
e625cc5
e625cc5
%changelog
d8eb964
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
d8eb964
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d8eb964
de81c97
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
de81c97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
de81c97
2b4e51d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
2b4e51d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2b4e51d
4790373
* Mon Dec  9 2013 Matthew Miller <mattdm@mattdm.org> - 1.4-1
4790373
- update to 1.4 (small bugfixes)
4790373
b8364ec
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
b8364ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b8364ec
84599f9
* Thu Mar 28 2013 Matthew Miller <mattdm@mattdm.org> - 1.3-1
84599f9
- update to 1.3 (small bugfixes)
84599f9
5565689
* Fri Feb 15 2013 Michal Schmidt <mschmidt@redhat.com> - 1.2-4
5565689
- Drop the kernel Requires. Using Conflicts would have been acceptable,
5565689
  but 2.6.27 is ancient history anyway.
4eb2dec
- Remove spec file elements no longer required by current packaging guidelines
4eb2dec
  (Group, BuildRoot, explicit buildroot cleaning, defattr).
5565689
cb04aed
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
cb04aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cb04aed
d803421
* Mon Oct 29 2012 Matthew Miller <mattdm@mattdm.org> - 1.2-2
d803421
- now we have an upstream tarball. thanks, upstream!
d803421
683bca2
* Mon Oct 29 2012 Matthew Miller <mattdm@mattdm.org> - 1.2-1
683bca2
- 1.2; no upstream tarball, but tagged in the hg repo.
683bca2
- resolves bz #757908 (-m and -u fail as non-root)
683bca2
- resolves bz #864504 (failure in presense of unknown uids)
683bca2
375e761
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
375e761
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
375e761
65b4e26
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
65b4e26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
65b4e26
19e2343
* Wed Aug 10 2011 Matthew Miller <mattdm@mattdm.org> - 1.0-2
19e2343
- don't hardcode version in source name above, because that
19e2343
  will lead to me confusing myself. trust me.
19e2343
- no longer install sample script as documentation
19e2343
fb899d4
* Wed Aug 10 2011 Matthew Miller <mattdm@mattdm.org> - 1.0-1
fb899d4
- update to 1.0 (bugzilla #678249)
fb899d4
2dad329
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
2dad329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2dad329
a7c9637
* Wed Nov 11 2009 Matthew Miller <mattdm@mattdm.org> - 0.9-1
063b452
- update to 0.9
063b452
- drop add-hoc index.html doc; add man pages
063b452
- drop patches, which are now upstream
063b452
- not currently building smemcap.c into an executable -- it's new,
063b452
  and would switch the package from being noarch. will deal with that
063b452
  in a future update of the package.
063b452
9e257eb
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
9e257eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9e257eb
808b1d2
* Thu May  7 2009 Matthew Miller <mattdm@mattdm.org> - 0.1-4
e625cc5
- remove smem.pdf at request of upstream
e625cc5
- patch0: 741bd2646ebf -- add GPLv2+ and copyright notice
e625cc5
- patch1: 4320ad746bcc -- check that kernel release >= 2.6.27
e625cc5
e625cc5
* Thu Apr 30 2009 Matthew Miller <mattdm@mattdm.org> - 0.1-3
e625cc5
- fix minor rpmlint concerns raised in review (bz #498490)
e625cc5
e625cc5
* Thu Apr 30 2009 Matthew Miller <mattdm@mattdm.org> - 0.1-2
e625cc5
- whoops -- fixed group
e625cc5
e625cc5
* Thu Apr 30 2009 Matthew Miller <mattdm@mattdm.org> - 0.1-1
e625cc5
- initial specfile
e625cc5
- note gplv2+ license -- added in svn and will be in next code release