File perl-IO-CaptureOutput.spec of Package perl-IO-CaptureOutput

# vim: set sw=4 ts=4 et nu:
# spec file for package perl-IO-CaptureOutput
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via

Name:           perl-IO-CaptureOutput
Version:        1.1102
Release:        0
Summary:        Capture STDOUT and STDERR from Perl code, subprocesses or XS
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  make
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Carp)
BuildRequires:  perl(Exporter)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::Basename)
BuildRequires:  perl(File::Spec)
BuildRequires:  perl(File::Temp)
BuildRequires:  perl(IO::File)
BuildRequires:  perl(Symbol)
BuildRequires:  perl(Test::More)
Requires:       perl(Carp)
Requires:       perl(Exporter)
Requires:       perl(File::Basename)
Requires:       perl(File::Spec)
Requires:       perl(File::Temp)
Requires:       perl(IO::File)
Requires:       perl(Symbol)

This module provides routines for capturing STDOUT and STDERR from perl
subroutines, forked system calls (e.g. system(), fork()) and from XS or C

%setup -q -n "IO-CaptureOutput-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL

%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}


%__make test

%{?buildroot:%__rm -rf "%{buildroot}"}

%doc Changes README
%dir %{perl_vendorlib}/IO
%dir %{perl_vendorarch}/auto/IO
%doc %{perl_man3dir}/IO::CaptureOutput.%{perl_man3ext}%{ext_man}

openSUSE Build Service is sponsored by