[1338] | 1 | Name: perl-Stream-Buffered
|
---|
| 2 | Version: 0.03
|
---|
| 3 | Release: 1%{?dist}
|
---|
| 4 | Summary: Temporary buffer to save bytes
|
---|
| 5 | License: GPL+ or Artistic
|
---|
| 6 | Group: Development/Libraries
|
---|
| 7 | Vendor: bww bitwise works GmbH
|
---|
| 8 | URL: http://search.cpan.org/dist/Stream-Buffered/
|
---|
| 9 | Source0: http://www.cpan.org/authors/id/D/DO/DOY/Stream-Buffered-%{version}.tar.gz
|
---|
| 10 | BuildArch: noarch
|
---|
| 11 | BuildRequires: perl-generators
|
---|
| 12 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
| 13 | BuildRequires: perl(base)
|
---|
| 14 | BuildRequires: perl(strict)
|
---|
| 15 | BuildRequires: perl(warnings)
|
---|
| 16 | BuildRequires: perl(IO::File) >= 1.14
|
---|
| 17 | BuildRequires: perl(FileHandle)
|
---|
| 18 | BuildRequires: perl(Test::More)
|
---|
| 19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
---|
| 20 |
|
---|
| 21 | %description
|
---|
| 22 | Stream::Buffered is a buffer class to store arbitrary length of byte
|
---|
| 23 | strings and then get a seekable filehandle once everything is buffered. It
|
---|
| 24 | uses PerlIO and/or temporary file to save the buffer depending on the
|
---|
| 25 | length of the size.
|
---|
| 26 |
|
---|
| 27 | %prep
|
---|
| 28 | %setup -q -n Stream-Buffered-%{version}
|
---|
| 29 |
|
---|
| 30 | %build
|
---|
| 31 | %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
| 32 | make %{?_smp_mflags}
|
---|
| 33 | make manifypods
|
---|
| 34 |
|
---|
| 35 | %install
|
---|
| 36 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
---|
| 37 | %{_fixperms} $RPM_BUILD_ROOT/*
|
---|
| 38 | find %{buildroot} -type f -name .packlist -delete
|
---|
| 39 |
|
---|
| 40 | %check
|
---|
| 41 | #make test
|
---|
| 42 |
|
---|
| 43 | %files
|
---|
| 44 | %doc Changes README
|
---|
| 45 | %{perl_vendorlib}/*
|
---|
| 46 | %{_mandir}/man3/*
|
---|
| 47 |
|
---|
| 48 | %changelog
|
---|
| 49 | * Wed Mar 07 2018 Elbert Pol <elbert.pol@gmail.com> - 0.03-1
|
---|
| 50 | - initial rpm for OS2
|
---|