SPECS: perl-Linux-Smaps.spec (NEW) - initial revision
baggins
baggins at pld-linux.org
Sat Nov 29 18:39:43 CET 2008
Author: baggins Date: Sat Nov 29 17:39:43 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
SPECS:
perl-Linux-Smaps.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Linux-Smaps.spec
diff -u /dev/null SPECS/perl-Linux-Smaps.spec:1.1
--- /dev/null Sat Nov 29 18:39:43 2008
+++ SPECS/perl-Linux-Smaps.spec Sat Nov 29 18:39:37 2008
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Linux
+%define pnam Smaps
+Summary: Linux::Smaps - a Perl interface to /proc/PID/smaps
+Summary(pl.UTF-8): Linux::Smaps - perlowy interfejs do /proc/PID/smaps
+Name: perl-Linux-Smaps
+Version: 0.06
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://search.cpan.org/CPAN/authors/id/O/OP/OPI/Linux-Smaps-0.06.tar.gz
+# Source0-md5: 3a99ff939e0f7df06ff3b3bdf417657d
+URL: http://search.cpan.org/~opi/Linux-Smaps/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Class::Member) >= 1.3
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The /proc/PID/smaps files in modern linuxes provides very detailed
+information about a processes memory consumption. It particularly
+includes a way to estimate the effect of copy-on-write.
+This module implements a Perl interface.
+
+%description -l pl.UTF-8
+Pliki /proc/PID/smaps w nowych linuksach dostarczają bardzo
+szczegółowych informacji dotyczących zyżycia pamięci przez
+procesy.
+Ten moduł dostarcza interfejs perlowy do tych plików.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Linux/*.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/11/29 17:39:37 baggins
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list