[meego-commits] 8670: New package Trunk/smem
Peter Zhu
no_reply at build.meego.com
Wed Oct 20 12:07:04 UTC 2010
Hi,
Adding new package smem in project Trunk. Please review and accept ASAP.
Justification for this new package:
Move to Trunk
Thank You,
Peter Zhu
[This message was auto-generated]
---
Request #8670:
submit: Trunk:Testing/smem(r1) -> Trunk/smem
Message:
Move to Trunk
State: new 2010-10-20T05:07:03 peter
Comment: None
This is a NEW package in Trunk project.
The files in the new package:
smem/
|__ Makefile
|__ smem-0.9.tar.gz
|__ smem.changes
|__ smem.spec
|__ smem.yaml
The content of the YAML file, smem.yaml:
===================================================================
Name : smem
Version : 0.9
Release : 1
Group : Development/Tools
Summary : A memory usage collection tool
Description: |
smem is a tool that can give numerous reports on memory usage on Linux systems. Unlike existing tools, smem can report proportional set size (PSS), which is a more meaningful representation of the amount of memory used by libraries and applications in a virtual memory system.
Sources :
- http://www.selenic.com/smem/download/smem-%{version}.tar.gz
Configure : none
License : GPLv2+
Builder : none
Requires:
- python
Files:
- "%doc COPYING"
- /usr/bin/smem
- /usr/bin/smemcap
- /usr/share/man/man8/smem.8.gz
===================================================================
The content of the spec file, smem.spec:
===================================================================
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.20
#
# >> macros
# << macros
Name: smem
Summary: A memory usage collection tool
Version: 0.9
Release: 1
Group: Development/Tools
License: GPLv2+
Source0: http://www.selenic.com/smem/download/smem-%{version}.tar.gz
Source100: smem.yaml
Requires: python
%description
smem is a tool that can give numerous reports on memory usage on Linux systems. Unlike existing tools, smem can report proportional set size (PSS), which is a more meaningful representation of the amount of memory used by libraries and applications in a virtual memory system.
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
make smemcap
gzip smem.8
# << build pre
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
mkdir -p $RPM_BUILD_ROOT/usr/bin/
install -m0755 smem smemcap $RPM_BUILD_ROOT/usr/bin/
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8
install -m0644 smem.8.gz $RPM_BUILD_ROOT/usr/share/man/man8/
# << install pre
# >> install post
# << install post
%files
%defattr(-,root,root,-)
%doc COPYING
/usr/bin/smem
/usr/bin/smemcap
/usr/share/man/man8/smem.8.gz
# >> files
# << files
===================================================================
More information about the MeeGo-commits
mailing list