Blame SPECS/perl-IO-stringy.spec

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