From 0c55d5cfa23ffa34a9fb33ae10693a8b70e82364 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 11 2019 13:39:59 +0000 Subject: import perl-IO-String-1.08-31.el8+733+86cf098e --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9e76b15 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/IO-String-1.08.tar.gz diff --git a/.perl-IO-String.metadata b/.perl-IO-String.metadata new file mode 100644 index 0000000..9c119bd --- /dev/null +++ b/.perl-IO-String.metadata @@ -0,0 +1 @@ +1a8cea5b19b6abb7f3731d6804073c0dd911d944 SOURCES/IO-String-1.08.tar.gz diff --git a/SPECS/perl-IO-String.spec b/SPECS/perl-IO-String.spec new file mode 100644 index 0000000..ac7dcbb --- /dev/null +++ b/SPECS/perl-IO-String.spec @@ -0,0 +1,176 @@ +Name: perl-IO-String +Version: 1.08 +Release: 31%{?dist} +Summary: Emulate file interface for in-core strings +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/IO-String/ +Source0: http://www.cpan.org/authors/id/G/GA/GAAS/IO-String-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(IO::Handle) +# Tests: +BuildRequires: perl(Test) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Data::Dumper) +Requires: perl(IO::Handle) + +%description +The "IO::String" module provides the "IO::File" interface for in-core +strings. An "IO::String" object can be attached to a string, and +makes it possible to use the normal file operations for reading or +writing data, as well as for seeking to various locations of the +string. This is useful when you want to use a library module that +only provides an interface to file handles on data that you have in a +string variable. + +Note that perl-5.8 and better has built-in support for "in memory" +files, which are set up by passing a reference instead of a filename +to the open() call. The reason for using this module is that it makes +the code backwards compatible with older versions of Perl. + + +%prep +%setup -q -n IO-String-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +chmod -R u+w %{buildroot}/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/IO/ +%{_mandir}/man3/*.3* + + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 1.08-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.08-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.08-29 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.08-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.08-27 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.08-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1.08-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 1.08-24 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 1.08-23 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.08-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.08-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jul 18 2013 Petr Pisar - 1.08-20 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.08-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 15 2012 Petr Šabata - 1.08-18 +- Modernize the spec a bit +- Drop command macros + +* Fri Jul 20 2012 Fedora Release Engineering - 1.08-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 06 2012 Petr Pisar - 1.08-16 +- Perl 5.16 rebuild + +* Fri Jun 01 2012 Petr Pisar - 1.08-15 +- Clean spec file +- Specify all dependencies + +* Fri Jan 13 2012 Fedora Release Engineering - 1.08-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 17 2011 Marcela Mašláňová - 1.08-13 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.08-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Dec 20 2010 Marcela Maslanova - 1.08-11 +- 661697 rebuild for fixing problems with vendorach/lib + +* Sun May 02 2010 Marcela Maslanova - 1.08-10 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 1.08-9 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 1.08-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.08-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.08-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.08-5 +- Rebuild for perl 5.10 (again) + +* Thu Jan 10 2008 Tom "spot" Callaway - 1.08-4 +- rebuild for new perl + +* Fri Oct 26 2007 Robin Norwood - 1.08-3 +- Fix various package review issues: +- Remove BR: perl +- Remove "|| :" from check section +- Add dist tag +- Fix Source URL +- Fix old changelog entries +- Resolves: bz#226265 + +* Tue Oct 16 2007 Tom "spot" Callaway - 1.08-2 +- correct license tag +- add BR: perl(ExtUtils::MakeMaker) + +* Wed Jul 12 2006 Jesse Keating - 1.08-1.2 +- rebuild + +* Fri Feb 03 2006 Jason Vas Dias - 1.08-1.1 +- rebuild for new perl-5.8.8 + +* Fri Dec 16 2005 Jason Vas Dias - 1.08-1 +- 1.08 + +* Sun Nov 06 2005 Florian La Roche +- 1.07 + +* Fri Apr 7 2005 Michael Schwendt +- rebuilt + +* Wed Nov 24 2004 Jose Pedro Oliveira - 1.06-1 +- Update to 1.06. + +* Sun Jul 04 2004 Jose Pedro Oliveira - 1.05-0.fdr.1 +- First build.