From b0aca420d40db1dd8cd36d144147c3ae312c52a9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 12:00:46 +0000 Subject: import perl-XML-Simple-2.25-1.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d79d908 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/XML-Simple-2.25.tar.gz diff --git a/.perl-XML-Simple.metadata b/.perl-XML-Simple.metadata new file mode 100644 index 0000000..ee14bcb --- /dev/null +++ b/.perl-XML-Simple.metadata @@ -0,0 +1 @@ +2642718bf55485798de4693ac34f051c1eaff5c9 SOURCES/XML-Simple-2.25.tar.gz diff --git a/SPECS/perl-XML-Simple.spec b/SPECS/perl-XML-Simple.spec new file mode 100644 index 0000000..e3cd977 --- /dev/null +++ b/SPECS/perl-XML-Simple.spec @@ -0,0 +1,246 @@ +# Run optional test +%bcond_without perl_XML_Simple_enables_optional_test + +Name: perl-XML-Simple +Version: 2.25 +Release: 1%{?dist} +Summary: Easy API to maintain XML in Perl +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/XML-Simple/ +Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Storable) +BuildRequires: perl(vars) +BuildRequires: perl(warnings::register) +BuildRequires: perl(XML::NamespaceSupport) >= 1.04 +BuildRequires: perl(XML::Parser) +BuildRequires: perl(XML::SAX) >= 0.15 +# Tests only +BuildRequires: perl(base) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(FileHandle) +BuildRequires: perl(IO::File) +BuildRequires: perl(Test::More) +BuildRequires: perl(XML::SAX::Base) +%if %{with perl_XML_Simple_enables_optional_test} +# Optional tests only +BuildRequires: perl(Tie::IxHash) +%endif +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(File::Basename) +Requires: perl(File::Spec) +Requires: perl(IO::Handle) +Requires: perl(Storable) +Requires: perl(XML::NamespaceSupport) >= 1.04 +Requires: perl(XML::Parser) +Requires: perl(XML::SAX) >= 0.15 + +%description +The XML::Simple module provides a simple API layer on top of an +underlying XML parsing module (either XML::Parser or one of the SAX2 +parser modules). + +%prep +%setup -q -n XML-Simple-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +chmod -R u+w %{buildroot}/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Mar 19 2018 Petr Pisar - 2.25-1 +- 2.25 bump + +* Fri Feb 09 2018 Fedora Release Engineering - 2.24-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.24-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 05 2017 Jitka Plesnikova - 2.24-2 +- Perl 5.26 rebuild + +* Tue Apr 18 2017 Jitka Plesnikova - 2.24-1 +- 2.24 bump + +* Sat Feb 11 2017 Fedora Release Engineering - 2.22-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon May 16 2016 Jitka Plesnikova - 2.22-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 2.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Dec 07 2015 Petr Šabata - 2.22-1 +- 2.22 bump + +* Fri Dec 04 2015 Petr Šabata - 2.21-1 +- 2.21 bump +- Package the license text +- Spec cleanup + +* Thu Jun 18 2015 Fedora Release Engineering - 2.20-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 06 2015 Jitka Plesnikova - 2.20-10 +- Perl 5.22 rebuild + +* Thu Aug 28 2014 Jitka Plesnikova - 2.20-9 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.20-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 2.20-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 24 2013 Petr Pisar - 2.20-6 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.20-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Aug 24 2012 Jitka Plesnikova - 2.20-4 +- Add test BR perl(XML::SAX::Base) +- Add R perl(IO::Handle), remove duplicate R perl(File::Spec). + +* Fri Jul 20 2012 Fedora Release Engineering - 2.20-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 28 2012 Petr Pisar - 2.20-2 +- Perl 5.16 rebuild + +* Thu Jun 21 2012 Petr Šabata - 2.20-1 +- 2.20 bump +- Modernize spec + +* Fri Jun 15 2012 Petr Pisar - 2.18-12 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.18-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Jul 19 2011 Petr Sabata - 2.18-10 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 2.18-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 23 2010 Marcela Maslanova - 2.18-8 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri May 07 2010 Marcela Maslanova - 2.18-7 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 2.18-6 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 2.18-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 2.18-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 2.18-3 +- Rebuild for perl 5.10 (again) + +* Mon Jan 28 2008 Tom "spot" Callaway - 2.18-2 +- rebuild for new perl + +* Thu Oct 25 2007 Robin Norwood - 2.18-1 +- Update to latest upstream version. + +* Tue Oct 23 2007 Robin Norwood - 2.17-2 +- Remove BR: perl + +* Mon Aug 13 2007 Robin Norwood - 2.17-1 +- Update to latest CPAN version: 2.17 +- Add BuildRequires +- Fix macro-in-changelog rpmlint warning +- Fix license tag + +* Tue Dec 05 2006 Robin Norwood - 2.16-2 +- Fix incorrect 'Release' tag - removed extra dot. + +* Sat Dec 02 2006 Robin Norwood - 2.16-1 +- Upgrade to latest CPAN version: 2.16 + +* Wed Jun 7 2006 Jason Vas Dias - 2.14-4 +- fix bug 191911: make test fails when default Parser is XML::SAX::PurePerl - + succeeds when default Parser is XML::LibXML::SAX - + +BuildRequires: perl(XML::LibXML) perl(XML::LibXML::Common) + +* Wed Jun 7 2006 Matthias Clasen - 2.14-2.2 +- Require perl-XML-Parser (#193985) + +* Fri Feb 03 2006 Jason Vas Dias - 2.14-2.1 +- rebuild for new perl-5.8.8 + +* Tue Jan 17 2006 Matthias Clasen - 2.14-2 +- Pull perl-XML-Simple from Extras into Core + for dependency reasons + +* Fri Sep 9 2005 Jose Pedro Oliveira - 2.14-1 +- Update to 2.14. +- Added the dist tag. + +* Wed Apr 6 2005 Michael Schwendt - 2.13-2 +- rebuilt + +* Sat Nov 27 2004 Jose Pedro Oliveira - 0:2.13-1 +- Update to 2.13. + +* Wed May 12 2004 Jose Pedro Oliveira - 0:2.12-0.fdr.4 +- Avoid creation of the perllocal.pod file (make pure_install). + +* Thu May 6 2004 Jose Pedro Oliveira - 0:2.12-0.fdr.3 +- build requirement for perl < 5.8.0 - perl(Storable) + +* Thu May 6 2004 Jose Pedro Oliveira - 0:2.12-0.fdr.2 +- missing $RPM_OPT_FLAGS in the %%build section. +- optional test module as build requirement perl(Tie::IxHash). + +* Mon Apr 26 2004 Ville Skyttä - 0:2.12-0.fdr.1 +- Update to 2.12. +- Require perl(:MODULE_COMPAT_*). + +* Sun Mar 14 2004 Ville Skyttä - 0:2.11-0.fdr.1 +- Update to 2.11. +- Reduce directory ownership bloat. + +* Tue Nov 18 2003 Ville Skyttä - 0:2.09-0.fdr.2 +- Use INSTALLARCHLIB workaround in %%install. + +* Wed Sep 10 2003 Ville Skyttä - 0:2.09-0.fdr.1 +- Update to 2.09. + +* Wed Sep 3 2003 Ville Skyttä - 0:2.08-0.fdr.1 +- First build.