packages: perl-Proc-Wait3/perl-Proc-Wait3.spec (NEW) added

aredridel aredridel at pld-linux.org
Wed May 11 06:55:38 CEST 2011


Author: aredridel                    Date: Wed May 11 04:55:38 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
added

---- Files affected:
packages/perl-Proc-Wait3:
   perl-Proc-Wait3.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Proc-Wait3/perl-Proc-Wait3.spec
diff -u /dev/null packages/perl-Proc-Wait3/perl-Proc-Wait3.spec:1.1
--- /dev/null	Wed May 11 06:55:38 2011
+++ packages/perl-Proc-Wait3/perl-Proc-Wait3.spec	Wed May 11 06:55:33 2011
@@ -0,0 +1,116 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Proc
+%define		pnam	Wait3
+%include	/usr/lib/rpm/macros.perl
+Summary:	Proc::Wait3 - Perl extension for wait3 system call
+#Summary(pl.UTF-8):	
+Name:		perl-Proc-Wait3
+Version:	0.04
+Release:	1
+License:	unknown
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Proc/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	d87ce5f3557eb86bfa5bafb9f2e028e3
+# generic URL, check or change before uncommenting
+#URL:		http://search.cpan.org/dist/Proc-Wait3/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+If any child processes have exited, this call will "reap" the zombies
+similar to the perl "wait" function.
+
+By default, it will return immediately and if there are no dead
+children, everything will be undefined.  If you pass in a true
+argument, it will block until a child exits (or it gets a signal).
+
+ $pid         PID of exiting child
+
+ $status      exit status of child, just like C<$?>
+
+ $utime       floating point user cpu seconds
+
+ $stime       floating point system cpu seconds
+
+ $maxrss      the maximum resident set size utilized (in kilobytes).
+
+ $minflt      the number of page faults serviced without any I/O
+              activity; here I/O activity is avoided by "reclaiming" a
+              page frame from the list of pages awaiting reallocation.
+
+ $majflt      the number of page faults serviced that required I/O
+              activity.
+
+ $nswap       the number of times a process was "swapped" out of main
+              memory.
+
+ $inblock     the number of times the file system had to perform input.
+
+ $oublock     the number of times the file system had to perform output.
+
+ $msgsnd      the number of messages sent over sockets.
+
+ $msgrcv      the number of messages received from sockets.
+
+ $nsignals    the number of signals delivered.
+
+ $nvcsw       the number of times a context switch resulted due to a
+              process voluntarily giving up the processor before its
+              time slice was completed (usually to await availability of
+              a resource).
+
+ $nivcsw      the number of times a context switch resulted due to a
+              higher priority process becoming runnable or because the
+              current process exceeded its time slice.
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?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_vendorarch}/Proc/*.pm
+%dir %{perl_vendorarch}/auto/Proc/Wait3
+%{perl_vendorarch}/auto/Proc/Wait3/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Proc/Wait3/*.so
+%{_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  2011/05/11 04:55:33  aredridel
+added
+
================================================================


More information about the pld-cvs-commit mailing list