%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} Name: perl-XML-Simple Version: 2.13 Release: 1 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-2.13.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(XML::SAX), perl(XML::NamespaceSupport), perl(XML::Parser) BuildRequires: perl(Tie::IxHash), perl(Storable) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # XML-SAX-ExpatXS up to 0.98 has known namespace bugs, and will cause the # tests to fail if it is installed as the default SAX parser. BuildConflicts: perl(XML::SAX::ExpatXS) %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 rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check || : make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/XML %{_mandir}/man3/*.3* %changelog * 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.