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