Name: perl-Stream-Buffered Version: 0.03 Release: 1%{?dist} Summary: Temporary buffer to save bytes License: GPL+ or Artistic Group: Development/Libraries Vendor: bww bitwise works GmbH 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-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(base) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(IO::File) >= 1.14 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 NO_PACKLIST=1 make %{?_smp_mflags} make manifypods %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* find %{buildroot} -type f -name .packlist -delete %check #make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Mar 07 2018 Elbert Pol - 0.03-1 - initial rpm for OS2