[perl-Stream-Buffered] Initial import.
corsepiu
corsepiu at fedoraproject.org
Tue May 21 06:07:25 UTC 2013
commit d7ea93f34675f71f480c0f4da28550a9d9c57ac8
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Tue May 21 08:07:14 2013 +0200
Initial import.
.gitignore | 1 +
perl-Stream-Buffered.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e61ce7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Stream-Buffered-0.02.tar.gz
diff --git a/perl-Stream-Buffered.spec b/perl-Stream-Buffered.spec
new file mode 100644
index 0000000..b350403
--- /dev/null
+++ b/perl-Stream-Buffered.spec
@@ -0,0 +1,51 @@
+Name: perl-Stream-Buffered
+Version: 0.02
+Release: 1%{?dist}
+Summary: Temporary buffer to save bytes
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Stream-Buffered/
+Source0: http://www.cpan.org/authors/id/D/DO/DOY/Stream-Buffered-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+BuildRequires: perl(IO::File)
+BuildRequires: perl(FileHandle)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Stream::Buffered is a buffer class to store arbitrary length of byte
+strings and then get a seekable filehandle once everything is buffered. It
+uses PerlIO and/or temporary file to save the buffer depending on the
+length of the size.
+
+%prep
+%setup -q -n Stream-Buffered-%{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
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Feb 05 2013 Ralf Corsépius <corsepiu at fedoraproject.org> 0.02-1
+- Initial Fedora package.
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..4d41bc8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+63d7776365a4ffd22f15002e03781c01 Stream-Buffered-0.02.tar.gz
More information about the scm-commits
mailing list