124 lines
3.9 KiB
RPMSpec
124 lines
3.9 KiB
RPMSpec
Name: perl-Capture-Tiny
|
|
Version: 0.18
|
|
Release: 3%{?dist}
|
|
Summary: Capture STDOUT and STDERR from Perl, XS or external programs
|
|
License: ASL 2.0
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Capture-Tiny/
|
|
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
|
BuildRequires: perl(Test::More) >= 0.62
|
|
# Tests only:
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(File::Temp)
|
|
BuildRequires: perl(IO::Handle)
|
|
BuildRequires: perl(Scalar::Util)
|
|
# Optional
|
|
BuildRequires: perl(Inline)
|
|
BuildRequires: perl(Inline::C)
|
|
BuildRequires: perl(Parse::RecDescent)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%description
|
|
Capture::Tiny provides a simple, portable way to capture anything sent to
|
|
STDOUT or STDERR, regardless of whether it comes from Perl, from XS code or
|
|
from an external program. Optionally, output can be teed so that it is
|
|
captured while being passed through to the original handles. Yes, it even
|
|
works on Windows. Stop guessing which of a dozen capturing modules to use
|
|
in any particular situation and just use this one.
|
|
|
|
%prep
|
|
%setup -q -n Capture-Tiny-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=perl
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes examples LICENSE perlcritic.rc README Todo
|
|
%{perl_privlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 0.18-2
|
|
- Perl 5.16 rebuild
|
|
|
|
* Mon May 07 2012 Petr Šabata <contyk@redhat.com> - 0.18-1
|
|
- 0.18 bump
|
|
|
|
* Thu Feb 23 2012 Petr Šabata <contyk@redhat.com> - 0.17-1
|
|
- 0.17 bump
|
|
|
|
* Mon Feb 13 2012 Petr Šabata <contyk@redhat.com> - 0.16-1
|
|
- 0.16 bump
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Mon Jan 02 2012 Petr Šabata <contyk@redhat.com> - 0.15-1
|
|
- 0.15 bump
|
|
|
|
* Mon Dec 05 2011 Petr Šabata <contyk@redhat.com> - 0.13-1
|
|
- 0.13 bump
|
|
|
|
* Fri Dec 02 2011 Petr Pisar <ppisar@redhat.com> - 0.12-1
|
|
- 0.12 bump
|
|
|
|
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-2
|
|
- Perl mass rebuild
|
|
|
|
* Fri May 20 2011 Petr Sabata <psabata@redhat.com> - 0.11-1
|
|
- 0.11 bump
|
|
- Removing defattr
|
|
|
|
* Wed Feb 09 2011 Petr Pisar <ppisar@redhat.com> - 0.10-1
|
|
- 0.10 bump
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Fri Jan 28 2011 Petr Pisar <ppisar@redhat.com> - 0.09-1
|
|
- 0.09 bump
|
|
- Remove BuildRoot stuff
|
|
- Migrate from Module::Build to ExtUtils::MakeMaker
|
|
- Install into perl core directory
|
|
|
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-2
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Mon Jun 21 2010 Petr Pisar <ppisar@redhat.com> - 0.08-1
|
|
- 0.08 bump (bug #606277)
|
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Wed Jan 7 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-1
|
|
- update
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-2
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Tue Aug 11 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-1
|
|
- update
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Mon Apr 27 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.05-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|