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