Name: perl-IO-String Version: 1.08 Release: 19%{?dist} Summary: Emulate file interface for in-core strings Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/IO-String/ Source0: http://www.cpan.org/authors/id/G/GA/GAAS/IO-String-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(Data::Dumper) BuildRequires: perl(IO::Handle) # Tests: BuildRequires: perl(Test) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Data::Dumper) Requires: perl(IO::Handle) %description The "IO::String" module provides the "IO::File" interface for in-core strings. An "IO::String" object can be attached to a string, and makes it possible to use the normal file operations for reading or writing data, as well as for seeking to various locations of the string. This is useful when you want to use a library module that only provides an interface to file handles on data that you have in a string variable. Note that perl-5.8 and better has built-in support for "in memory" files, which are set up by passing a reference instead of a filename to the open() call. The reason for using this module is that it makes the code backwards compatible with older versions of Perl. %prep %setup -q -n IO-String-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' chmod -R u+w %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/IO/ %{_mandir}/man3/*.3* %changelog * Fri Dec 27 2013 Daniel Mach - 1.08-19 - Mass rebuild 2013-12-27 * Thu Nov 15 2012 Petr Šabata - 1.08-18 - Modernize the spec a bit - Drop command macros * Fri Jul 20 2012 Fedora Release Engineering - 1.08-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 06 2012 Petr Pisar - 1.08-16 - Perl 5.16 rebuild * Fri Jun 01 2012 Petr Pisar - 1.08-15 - Clean spec file - Specify all dependencies * Fri Jan 13 2012 Fedora Release Engineering - 1.08-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 1.08-13 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.08-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 1.08-11 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 1.08-10 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.08-9 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.08-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.08-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.08-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 1.08-5 - Rebuild for perl 5.10 (again) * Thu Jan 10 2008 Tom "spot" Callaway - 1.08-4 - rebuild for new perl * Fri Oct 26 2007 Robin Norwood - 1.08-3 - Fix various package review issues: - Remove BR: perl - Remove "|| :" from check section - Add dist tag - Fix Source URL - Fix old changelog entries - Resolves: bz#226265 * Tue Oct 16 2007 Tom "spot" Callaway - 1.08-2 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Wed Jul 12 2006 Jesse Keating - 1.08-1.2 - rebuild * Fri Feb 03 2006 Jason Vas Dias - 1.08-1.1 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jason Vas Dias - 1.08-1 - 1.08 * Sun Nov 06 2005 Florian La Roche - 1.07 * Fri Apr 7 2005 Michael Schwendt - rebuilt * Wed Nov 24 2004 Jose Pedro Oliveira - 1.06-1 - Update to 1.06. * Sun Jul 04 2004 Jose Pedro Oliveira - 1.05-0.fdr.1 - First build.