2015-04-17 07:17:44 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Proc-Wait3
|
|
|
|
#
|
2024-07-26 21:21:52 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2015-04-17 07:17:44 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-10-28 16:04:31 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-17 07:17:44 +00:00
|
|
|
#
|
|
|
|
|
2010-10-07 11:36:47 +00:00
|
|
|
|
2024-07-26 21:21:52 +00:00
|
|
|
%define cpan_name Proc-Wait3
|
2010-10-07 11:36:47 +00:00
|
|
|
Name: perl-Proc-Wait3
|
2024-07-26 21:21:52 +00:00
|
|
|
Version: 0.50.0
|
2010-10-07 11:36:47 +00:00
|
|
|
Release: 0
|
2024-07-26 21:21:52 +00:00
|
|
|
# 0.05 -> normalize -> 0.50.0
|
|
|
|
%define cpan_version 0.05
|
2020-10-28 16:04:31 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2024-07-26 21:21:52 +00:00
|
|
|
Summary: Perl extension for wait3 system call
|
2020-10-28 16:04:31 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-07-26 21:21:52 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/C/CT/CTILMES/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-17 07:17:44 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:46 +02:00
|
|
|
Source100: README.md
|
2010-10-07 11:36:47 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:48:47 +00:00
|
|
|
BuildRequires: perl-macros
|
2024-07-26 21:21:52 +00:00
|
|
|
Provides: perl(Proc::Wait3) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2015-04-17 07:17:44 +00:00
|
|
|
%{perl_requires}
|
2010-10-07 11:36:47 +00:00
|
|
|
|
|
|
|
%description
|
2015-04-17 07:17:44 +00:00
|
|
|
If any child processes have exited, this call will "reap" the zombies
|
|
|
|
similar to the perl "wait" function.
|
2010-10-07 11:36:47 +00:00
|
|
|
|
|
|
|
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).
|
|
|
|
|
2015-04-17 07:17:44 +00:00
|
|
|
$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.
|
|
|
|
|
2010-10-07 11:36:47 +00:00
|
|
|
%prep
|
2024-07-26 21:21:52 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2010-10-07 11:36:47 +00:00
|
|
|
|
|
|
|
%build
|
2020-10-28 16:04:31 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2024-07-26 21:21:52 +00:00
|
|
|
%make_build
|
2015-04-17 07:17:44 +00:00
|
|
|
|
|
|
|
%check
|
2020-10-28 16:04:31 +00:00
|
|
|
make test
|
2010-10-07 11:36:47 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2015-04-17 07:17:44 +00:00
|
|
|
%perl_gen_filelist
|
2010-10-07 11:36:47 +00:00
|
|
|
|
2015-04-17 07:17:44 +00:00
|
|
|
%files -f %{name}.files
|
2020-10-28 16:04:31 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
2010-10-07 11:36:47 +00:00
|
|
|
|
2015-04-17 07:17:44 +00:00
|
|
|
%changelog
|