diff --git a/.perl-XML-Simple.metadata b/.perl-XML-Simple.metadata new file mode 100644 index 0000000..79aa8f1 --- /dev/null +++ b/.perl-XML-Simple.metadata @@ -0,0 +1 @@ +2ececb0960deb51296916186000c63d55cc53092 SOURCES/XML-Simple-2.20.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-XML-Simple.spec b/SPECS/perl-XML-Simple.spec new file mode 100644 index 0000000..d42167a --- /dev/null +++ b/SPECS/perl-XML-Simple.spec @@ -0,0 +1,177 @@ +Name: perl-XML-Simple +Version: 2.20 +Release: 4%{?dist} +Summary: Easy API to maintain XML in Perl +Group: Development/Libraries +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 +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(Storable) +#BuildRequires: perl(XML::LibXML) +#BuildRequires: perl(XML::LibXML::Common) +BuildRequires: perl(XML::NamespaceSupport) +BuildRequires: perl(XML::Parser) +BuildRequires: perl(XML::SAX) +# Tests only +BuildRequires: perl(base) +BuildRequires: perl(IO::File) +BuildRequires: perl(Test::More) +BuildRequires: perl(Tie::IxHash) +BuildRequires: perl(XML::SAX::Base) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Spec) +Requires: perl(IO::Handle) +Requires: perl(Storable) +Requires: perl(XML::NamespaceSupport) +Requires: perl(XML::Parser) +Requires: perl(XML::SAX) + +%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 +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/XML/ +%{_mandir}/man3/*.3* + +%changelog +* 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. + +* Fri Apr 7 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.