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