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