%perl_module XML-Simple 2.14 8 Summary: Easy API to maintain XML (esp config files). Group: Applications/CPAN License: Artistic Vendor: Grant McLean URL: http://search.cpan.org/author/GRANTM/%{pkgname}-%{version}/ Source: http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/%{pkgname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl(XML::Parser) #BuildRequires: perl(XML::SAX), perl(XML::NamespaceSupport) BuildRequires: perl(Test::More) BuildArch: noarch %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). Two functions are exported: "XMLin()" and "XMLout()". %prep %setup -q -n %{pkgname}-%{version} chmod -R u+w %{_builddir}/%{pkgname}-%{version} %build %perl_configure make %perl_makecheck %install rm -rf %{buildroot} %perl_makeinstall %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README Changes %{perl_vendorlib}/XML/Simple.pm %{perl_vendorlib}/XML/Simple %{perl_man3dir}/XML::Simple*.3pm* %changelog * Tue Dec 27 2005 Axel Thimm - Update to 2.14. * Thu Oct 30 2003 Axel Thimm - Updated to 2.09. * Mon Apr 7 2003 Axel Thimm - Update to 2.03. - Rewritten specfile with new macros. * Fri Jan 3 2003 Axel Thimm - Initial build (cpan2rpm).