%define modname IO-CaptureOutput %define modver 1.1104 Summary: Capture STDOUT and STDERR from Perl code, subprocesses or XS Name: perl-%{modname} Epoch: 1 Version: %perl_convert_version %{modver} Release: 2 License: GPLv2+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{modname} Source0: http://www.cpan.org/modules/by-module/IO/%{modname}-%{modver}.tar.gz BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::File) BuildRequires: perl(Symbol) BuildRequires: perl(Test::More) BuildRequires: perl(Module::Build::Compat) BuildRequires: perl-devel %description This module provides routines for capturing STDOUT and STDERR from perl subroutines, forked system calls (e.g. 'system()', 'fork()') and from XS or C modules. %prep %setup -qn %{modname}-%{modver} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/*