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