[perl-PerlIO-Layers] Import

Petr Pisar ppisar at fedoraproject.org
Wed Jun 20 12:59:07 UTC 2012


commit 20223a477a79223f3ecea92610ee0460049c8b25
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Jun 20 14:58:32 2012 +0200

    Import

 .gitignore              |    1 +
 perl-PerlIO-Layers.spec |   56 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b22af58 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PerlIO-Layers-0.010.tar.gz
diff --git a/perl-PerlIO-Layers.spec b/perl-PerlIO-Layers.spec
new file mode 100644
index 0000000..c89e383
--- /dev/null
+++ b/perl-PerlIO-Layers.spec
@@ -0,0 +1,56 @@
+Name:           perl-PerlIO-Layers
+Version:        0.010
+Release:        1%{?dist}
+Summary:        Querying your file handle capabilities
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/PerlIO-Layers/
+Source0:        http://www.cpan.org/authors/id/L/LE/LEONT/PerlIO-Layers-%{version}.tar.gz
+BuildRequires:  perl(Module::Build) >= 0.37
+# Run-time
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter) >= 5.57
+BuildRequires:  perl(List::MoreUtils)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(XSLoader)
+# Tests
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More) >= 0.82
+# Optional tests
+BuildRequires:  perl(Test::Script) >= 1.05
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Perl file handles are implemented as a stack of layers, with the bottom-
+most usually doing the actual IO and the higher ones doing buffering,
+encoding/decoding or transformations. PerlIO::Layers allows you to query
+the file handle properties concerning these layers.
+
+%prep
+%setup -q -n PerlIO-Layers-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/PerlIO*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jun 19 2012 Petr Pisar <ppisar at redhat.com> 0.010-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..da1a281 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b8aff92d8f9446e54cca34b5780cee72  PerlIO-Layers-0.010.tar.gz


More information about the scm-commits mailing list