[perl-IO-Tee] Initial commit

Nick Bebout nb at fedoraproject.org
Thu Aug 14 21:51:19 UTC 2014


commit 178e7548e1d49a5e50d6a22c9264854dd69cdb8c
Author: Nick Bebout <nb at fedoraproject.org>
Date:   Thu Aug 14 16:51:20 2014 -0500

    Initial commit

 .gitignore       |    1 +
 perl-IO-Tee.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a81608a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/IO-Tee-0.64.tar.gz
diff --git a/perl-IO-Tee.spec b/perl-IO-Tee.spec
new file mode 100644
index 0000000..b26aa4a
--- /dev/null
+++ b/perl-IO-Tee.spec
@@ -0,0 +1,55 @@
+Name:           perl-IO-Tee
+Version:        0.64
+Release:        1%{?dist}
+Summary:        Multiplex output to multiple output handles
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/IO-Tee/
+Source0:        http://www.cpan.org/authors/id/K/KE/KENSHAN/IO-Tee-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker) perl(strict) perl(vars)
+BuildRequires:  perl(Carp) perl(IO::File) perl(IO::Handle) perl(Symbol)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+IO::Tee objects can be used to multiplex input and output in two different
+ways. The first way is to multiplex output to zero or more output handles.
+The IO::Tee constructor, given a list of output handles, returns a tied
+handle that can be written to. When written to (using print or printf), the
+IO::Tee object multiplexes the output to the list of handles originally
+passed to the constructor. As a shortcut, you can also directly pass a
+string or an array reference to the constructor, in which case
+IO::File::new is called for you with the specified argument or arguments.
+
+%prep
+%setup -q -n IO-Tee-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+ 
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Aug 08 2014 Nick Bebout <nb at fedoraproject.org> 0.64-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..8b23704 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+97d91e38fcadc1f01d8030a8d4f30701  IO-Tee-0.64.tar.gz


More information about the scm-commits mailing list