50cc78
Summary:	I/O on in-core objects like strings and arrays for Perl
50cc78
Name:		perl-IO-stringy
50cc78
Version:	2.111
50cc78
Release:	9%{?dist}
50cc78
License:	GPL+ or Artistic
50cc78
Group:		Development/Libraries
50cc78
URL:		http://search.cpan.org/dist/IO-stringy/
50cc78
Source0:	http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/IO-stringy-%{version}.tar.gz
50cc78
BuildArch:	noarch
50cc78
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
50cc78
# Module Build
50cc78
BuildRequires:	perl-interpreter
50cc78
BuildRequires:	perl-generators
50cc78
BuildRequires:	perl(ExtUtils::MakeMaker)
50cc78
# Module Runtime
50cc78
BuildRequires:	perl(Carp)
50cc78
BuildRequires:	perl(Exporter)
50cc78
BuildRequires:	perl(FileHandle)
50cc78
BuildRequires:	perl(IO::File)
50cc78
BuildRequires:	perl(IO::Handle)
50cc78
BuildRequires:	perl(overload)
50cc78
BuildRequires:	perl(strict)
50cc78
BuildRequires:	perl(Symbol)
50cc78
BuildRequires:	perl(vars)
50cc78
# Test Suite
50cc78
BuildRequires:	perl(File::Basename)
50cc78
BuildRequires:	perl(lib)
50cc78
# Runtime
50cc78
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
50cc78
50cc78
# Avoid doc-file dependency on /usr/bin/perl
50cc78
%{?perl_default_filter}
50cc78
50cc78
%description
50cc78
This toolkit primarily provides modules for performing both traditional
50cc78
and object-oriented I/O) on things *other* than normal filehandles; in
50cc78
particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
50cc78
50cc78
In the more-traditional IO::Handle front, we have IO::AtomicFile, which
50cc78
may be used to painlessly create files that are updated atomically.
50cc78
50cc78
And in the "this-may-prove-useful" corner, we have IO::Wrap, whose
50cc78
exported wraphandle() function will clothe anything that's not a blessed
50cc78
object in an IO::Handle-like wrapper... so you can just use OO syntax
50cc78
and stop worrying about whether your function's caller handed you a
50cc78
string, a globref, or a FileHandle.
50cc78
50cc78
%prep
50cc78
%setup -q -n IO-stringy-%{version}
50cc78
50cc78
%build
50cc78
perl Makefile.PL INSTALLDIRS=vendor
50cc78
make %{?_smp_mflags}
50cc78
50cc78
%install
50cc78
rm -rf %{buildroot}
50cc78
make pure_install DESTDIR=%{buildroot}
50cc78
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
50cc78
%{_fixperms} %{buildroot}
50cc78
50cc78
%check
50cc78
make test
50cc78
50cc78
%clean
50cc78
rm -rf %{buildroot}
50cc78
50cc78
%files
50cc78
%if 0%{?_licensedir:1}
50cc78
%license COPYING
50cc78
%else
50cc78
%doc COPYING
50cc78
%endif
50cc78
%doc README examples/
50cc78
%{perl_vendorlib}/IO/
50cc78
%{_mandir}/man3/IO::AtomicFile.3*
50cc78
%{_mandir}/man3/IO::InnerFile.3*
50cc78
%{_mandir}/man3/IO::Lines.3*
50cc78
%{_mandir}/man3/IO::Scalar.3*
50cc78
%{_mandir}/man3/IO::ScalarArray.3*
50cc78
%{_mandir}/man3/IO::Stringy.3*
50cc78
%{_mandir}/man3/IO::Wrap.3*
50cc78
%{_mandir}/man3/IO::WrapTie.3*
50cc78
50cc78
%changelog
50cc78
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-9
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
50cc78
50cc78
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-8
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
50cc78
50cc78
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.111-7
50cc78
- Perl 5.26 rebuild
50cc78
50cc78
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-6
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
50cc78
50cc78
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.111-5
50cc78
- Perl 5.24 rebuild
50cc78
50cc78
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-4
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
50cc78
50cc78
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.111-3
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
50cc78
50cc78
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.111-2
50cc78
- Perl 5.22 rebuild
50cc78
50cc78
* Thu Apr 23 2015 Paul Howarth <paul@city-fan.org> - 2.111-1
50cc78
- Update to 2.111
50cc78
  - Update maintainer's name, which is now Dianne Skoll
50cc78
- Use %%license where possible
50cc78
50cc78
* Mon Jan 26 2015 Petr Pisar <ppisar@redhat.com> - 2.110-28
50cc78
- Filter provides/requires from docdir
50cc78
50cc78
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 2.110-27
50cc78
- Specify all dependencies
50cc78
50cc78
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.110-26
50cc78
- Perl 5.20 rebuild
50cc78
50cc78
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110-25
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
50cc78
50cc78
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110-24
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
50cc78
50cc78
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.110-23
50cc78
- Perl 5.18 rebuild
50cc78
50cc78
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110-22
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
50cc78
50cc78
* Thu Nov 15 2012 Petr Šabata <contyk@redhat.com> - 2.110-21
50cc78
- BuildRequire perl(lib)
50cc78
50cc78
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110-20
50cc78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
50cc78
50cc78
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.110-19
50cc78
- Perl 5.16 rebuild
50cc78
50cc78
* Fri Apr  6 2012 Paul Howarth <paul@city-fan.org> 2.110-18
50cc78
- don't build-require modules that this package provides (problem stupidly
50cc78
  introduced in previous release)
50cc78
- don't need to remove empty directories from buildroot
50cc78
- drop %%defattr, redundant since rpm 4.4
50cc78
50cc78
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> 2.110-17
50cc78
- spec clean-up:
50cc78
  - nobody else likes macros for commands
50cc78
  - use DESTDIR rather than PERL_INSTALL_ROOT
50cc78
  - add buildreqs for core perl modules, which may be dual-lived
50cc78
50cc78
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 2.110-16
50cc78
- perl mass rebuild
50cc78
50cc78
* Tue Feb  8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.110-15
50cc78
- rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
50cc78
50cc78
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> 2.110-14
50cc78
- rebuild to fix problems with vendorarch/lib (#661697)
50cc78
50cc78
* Sun May  2 2010 Marcela Maslanova <mmaslano@redhat.com> 2.110-13
50cc78
- mass rebuild with perl-5.12.0
50cc78
50cc78
* Fri Jan 15 2010 Paul Howarth <paul@city-fan.org> 2.110-12
50cc78
- spec cleanups (see also merge review #552564)
50cc78
50cc78
* Sun Dec 20 2009 Robert Scheck <robert@fedoraproject.org> 2.110-11
50cc78
- rebuilt against perl 5.10.1
50cc78
50cc78
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.110-10
50cc78
- rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
50cc78
50cc78
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.110-9
50cc78
- rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
50cc78
50cc78
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.110-8
50cc78
- rebuild for perl 5.10 (again)
50cc78
50cc78
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.110-7
50cc78
- rebuild for new perl
50cc78
50cc78
* Mon Aug 13 2007 Paul Howarth <paul@city-fan.org> 2.110-6
50cc78
- clarify license as GPL v1 or later, or Artistic (same as perl)
50cc78
50cc78
* Wed Apr 18 2007 Paul Howarth <paul@city-fan.org> 2.110-5
50cc78
- buildrequire perl(ExtUtils::MakeMaker)
50cc78
50cc78
* Sun Sep 17 2006 Paul Howarth <paul@city-fan.org> 2.110-4
50cc78
- add dist tag
50cc78
- fix argument order in find command with -depth
50cc78
50cc78
* Tue Aug 29 2006 Paul Howarth <paul@city-fan.org> 2.110-3
50cc78
- use search.cpan.org download URL
50cc78
- use full paths for all commands used in build
50cc78
- assume rpm knows about %%check and %%{perl_vendorlib}
50cc78
- cosmetic spec file changes
50cc78
50cc78
* Wed Apr 06 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
50cc78
- rebuilt
50cc78
50cc78
* Tue Feb 15 2005 Ville Skyttä <ville.skytta at iki.fi> 2.110-1
50cc78
- 2.110
50cc78
- some specfile cleanups, bringing it closer to spectemplate-perl.spec
50cc78
50cc78
* Wed Dec 31 2003 Ville Skyttä <ville.skytta at iki.fi> 2.109-0.fdr.1
50cc78
- update to 2.109
50cc78
50cc78
* Thu Oct  2 2003 Michael Schwendt <rh0212ms[AT]arcor.de> 2.108-0.fdr.4
50cc78
- package is now using vendor directories
50cc78
50cc78
* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.3
50cc78
- package is now noarch
50cc78
- rm-ing perllocal.pod instead of excluding it
50cc78
50cc78
* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.2
50cc78
- changed Group tag value
50cc78
- "make test" in build section
50cc78
- added missing directory
50cc78
50cc78
* Sun Jun 15 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.1
50cc78
- initial build