[perl-IO-Capture-Extended] Import

Petr Pisar ppisar at fedoraproject.org
Mon Dec 12 16:55:19 UTC 2011


commit f12ae66f57b1582a1613a276a976f1c4fb826b85
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Dec 12 17:55:01 2011 +0100

    Import

 .gitignore                    |    1 +
 perl-IO-Capture-Extended.spec |   56 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e95cc29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/IO-Capture-Extended-0.11.tar.gz
diff --git a/perl-IO-Capture-Extended.spec b/perl-IO-Capture-Extended.spec
new file mode 100644
index 0000000..02a4948
--- /dev/null
+++ b/perl-IO-Capture-Extended.spec
@@ -0,0 +1,56 @@
+Name:           perl-IO-Capture-Extended
+Version:        0.11
+Release:        1%{?dist}
+Summary:        Extend functionality of IO::Capture
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/IO-Capture-Extended/
+Source0:        http://www.cpan.org/authors/id/J/JK/JKEENAN/IO-Capture-Extended-%{version}.tar.gz
+BuildArch:      noarch
+# Compile-time:
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(IO::Capture) >= 0.05
+BuildRequires:  perl(IO::Capture::Stderr)
+BuildRequires:  perl(IO::Capture::Stdout)
+# Tests only:
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Simple) >= 0.44
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(IO::Capture) >= 0.05
+
+%description
+IO::Capture::Extended is a distribution consisting of two classes, each of
+which is a collection of subroutines which are useful in extending the
+functionality of CPAN modules IO::Capture::Stdout and IO::Capture::Stderr,
+particularly when used in a testing context such as that provided by
+Test::Simple, Test::More or other modules built on Test::Builder.
+
+%prep
+%setup -q -n IO-Capture-Extended-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Dec 12 2011 Petr Pisar <ppisar at redhat.com> 0.11-1
+- Specfile autogenerated by cpanspec 1.78.
+- BuildRoot and defattr removed from spec code.
diff --git a/sources b/sources
index e69de29..b1d518c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3886ef237c2ac96a844eac58d62b4ff8  IO-Capture-Extended-0.11.tar.gz


More information about the scm-commits mailing list