8f2cfd
Name:           perl-XML-Simple
8f2cfd
Version:        2.20
8f2cfd
Release:        5%{?dist}
8f2cfd
Summary:        Easy API to maintain XML in Perl
8f2cfd
Group:          Development/Libraries
8f2cfd
License:        GPL+ or Artistic
8f2cfd
URL:            http://search.cpan.org/dist/XML-Simple/
8f2cfd
Source0:        http://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-%{version}.tar.gz
8f2cfd
BuildArch:      noarch
8f2cfd
BuildRequires:  perl(Carp)
8f2cfd
BuildRequires:  perl(Exporter)
8f2cfd
BuildRequires:  perl(ExtUtils::MakeMaker)
8f2cfd
BuildRequires:  perl(File::Spec)
8f2cfd
BuildRequires:  perl(IO::Handle)
8f2cfd
BuildRequires:  perl(Storable)
8f2cfd
#BuildRequires:  perl(XML::LibXML)
8f2cfd
#BuildRequires:  perl(XML::LibXML::Common)
8f2cfd
BuildRequires:  perl(XML::NamespaceSupport)
8f2cfd
BuildRequires:  perl(XML::Parser)
8f2cfd
BuildRequires:  perl(XML::SAX)
8f2cfd
# Tests only
8f2cfd
BuildRequires:  perl(base)
8f2cfd
BuildRequires:  perl(IO::File)
8f2cfd
BuildRequires:  perl(Test::More)
8f2cfd
BuildRequires:  perl(Tie::IxHash)
8f2cfd
BuildRequires:  perl(XML::SAX::Base)
8f2cfd
Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
8f2cfd
Requires:       perl(File::Spec)
8f2cfd
Requires:       perl(IO::Handle)
8f2cfd
Requires:       perl(Storable)
8f2cfd
Requires:       perl(XML::NamespaceSupport)
8f2cfd
Requires:       perl(XML::Parser)
8f2cfd
Requires:       perl(XML::SAX)
8f2cfd
8f2cfd
%description
8f2cfd
The XML::Simple module provides a simple API layer on top of an
8f2cfd
underlying XML parsing module (either XML::Parser or one of the SAX2
8f2cfd
parser modules).
8f2cfd
8f2cfd
%prep
8f2cfd
%setup -q -n XML-Simple-%{version}
8f2cfd
8f2cfd
%build
8f2cfd
perl Makefile.PL INSTALLDIRS=vendor
8f2cfd
make %{?_smp_mflags}
8f2cfd
8f2cfd
%install
8f2cfd
make pure_install PERL_INSTALL_ROOT=%{buildroot}
8f2cfd
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
8f2cfd
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
8f2cfd
chmod -R u+w %{buildroot}/*
8f2cfd
8f2cfd
%check
8f2cfd
make test
8f2cfd
8f2cfd
%files
8f2cfd
%doc Changes README
8f2cfd
%{perl_vendorlib}/XML/
8f2cfd
%{_mandir}/man3/*.3*
8f2cfd
8f2cfd
%changelog
8f2cfd
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.20-5
8f2cfd
- Mass rebuild 2013-12-27
8f2cfd
8f2cfd
* Fri Aug 24 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.20-4
8f2cfd
- Add test BR perl(XML::SAX::Base)
8f2cfd
- Add R perl(IO::Handle), remove duplicate R perl(File::Spec).
8f2cfd
8f2cfd
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-3
8f2cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8f2cfd
8f2cfd
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 2.20-2
8f2cfd
- Perl 5.16 rebuild
8f2cfd
8f2cfd
* Thu Jun 21 2012 Petr Šabata <contyk@redhat.com> - 2.20-1
8f2cfd
- 2.20 bump
8f2cfd
- Modernize spec
8f2cfd
8f2cfd
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.18-12
8f2cfd
- Perl 5.16 rebuild
8f2cfd
8f2cfd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-11
8f2cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8f2cfd
8f2cfd
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 2.18-10
8f2cfd
- Perl mass rebuild
8f2cfd
8f2cfd
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-9
8f2cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8f2cfd
8f2cfd
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.18-8
8f2cfd
- 661697 rebuild for fixing problems with vendorach/lib
8f2cfd
8f2cfd
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.18-7
8f2cfd
- Mass rebuild with perl-5.12.0
8f2cfd
8f2cfd
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.18-6
8f2cfd
- rebuild against perl 5.10.1
8f2cfd
8f2cfd
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-5
8f2cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8f2cfd
8f2cfd
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-4
8f2cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8f2cfd
8f2cfd
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.18-3
8f2cfd
- Rebuild for perl 5.10 (again)
8f2cfd
8f2cfd
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.18-2
8f2cfd
- rebuild for new perl
8f2cfd
8f2cfd
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.18-1
8f2cfd
- Update to latest upstream version.
8f2cfd
8f2cfd
* Tue Oct 23 2007 Robin Norwood <rnorwood@redhat.com> - 2.17-2
8f2cfd
- Remove BR: perl
8f2cfd
8f2cfd
* Mon Aug 13 2007 Robin Norwood <rnorwood@redhat.com> - 2.17-1
8f2cfd
- Update to latest CPAN version: 2.17
8f2cfd
- Add BuildRequires
8f2cfd
- Fix macro-in-changelog rpmlint warning
8f2cfd
- Fix license tag
8f2cfd
8f2cfd
* Tue Dec 05 2006 Robin Norwood <rnorwood@redhat.com> - 2.16-2
8f2cfd
- Fix incorrect 'Release' tag - removed extra dot.
8f2cfd
8f2cfd
* Sat Dec 02 2006 Robin Norwood <rnorwood@redhat.com> - 2.16-1
8f2cfd
- Upgrade to latest CPAN version: 2.16
8f2cfd
8f2cfd
* Wed Jun  7 2006 Jason Vas Dias <jvdias@redhat.com> - 2.14-4
8f2cfd
- fix bug 191911: make test fails when default Parser is XML::SAX::PurePerl -
8f2cfd
                  succeeds when default Parser is XML::LibXML::SAX -
8f2cfd
                  +BuildRequires: perl(XML::LibXML) perl(XML::LibXML::Common)
8f2cfd
8f2cfd
* Wed Jun  7 2006 Matthias Clasen <mclasen@redhat.com> - 2.14-2.2
8f2cfd
- Require perl-XML-Parser (#193985)
8f2cfd
8f2cfd
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 2.14-2.1
8f2cfd
- rebuild for new perl-5.8.8
8f2cfd
8f2cfd
* Tue Jan 17 2006 Matthias Clasen <mclasen@redhat.com> - 2.14-2
8f2cfd
- Pull perl-XML-Simple from Extras into Core 
8f2cfd
  for dependency reasons
8f2cfd
8f2cfd
* Fri Sep  9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.14-1
8f2cfd
- Update to 2.14.
8f2cfd
- Added the dist tag.
8f2cfd
8f2cfd
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.13-2
8f2cfd
- rebuilt
8f2cfd
8f2cfd
* Sat Nov 27 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.13-1
8f2cfd
- Update to 2.13.
8f2cfd
8f2cfd
* Wed May 12 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.4
8f2cfd
- Avoid creation of the perllocal.pod file (make pure_install).
8f2cfd
8f2cfd
* Thu May  6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.3
8f2cfd
- build requirement for perl < 5.8.0 - perl(Storable)
8f2cfd
8f2cfd
* Thu May  6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.2
8f2cfd
- missing $RPM_OPT_FLAGS in the %%build section.
8f2cfd
- optional test module as build requirement perl(Tie::IxHash).
8f2cfd
8f2cfd
* Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.12-0.fdr.1
8f2cfd
- Update to 2.12.
8f2cfd
- Require perl(:MODULE_COMPAT_*).
8f2cfd
8f2cfd
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.11-0.fdr.1
8f2cfd
- Update to 2.11.
8f2cfd
- Reduce directory ownership bloat.
8f2cfd
8f2cfd
* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.09-0.fdr.2
8f2cfd
- Use INSTALLARCHLIB workaround in %%install.
8f2cfd
8f2cfd
* Wed Sep 10 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.09-0.fdr.1
8f2cfd
- Update to 2.09.
8f2cfd
8f2cfd
* Wed Sep  3 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.08-0.fdr.1
8f2cfd
- First build.