%perl_module XML-Twig 3.29 11 Summary: A perl module for processing huge XML documents in tree mode. License: distributable Group: Development/Libraries URL: http://search.cpan.org/dist/%{pkgname}/ Source0: http://www.cpan.org/authors/id/M/MI/MIROD/%{pkgname}-%{version}.tar.gz Requires: expat >= 1.95.5 Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-root BuildRequires: perl >= 0:5.00503, expat-devel >= 1.95.5 BuildRequires: perl-XML-Parser BuildRequires: perl(Test::Simple) BuildRequires: perl(LWP), perl(HTML::Entities) BuildRequires: perl(XML::XPath), perl(XML::Simple) BuildRequires: perl(IO::Scalar) #BuildRequires: perl(Tie::IxHash), perl(Test::Pod) #BuildRequires: perl(XML::Handler::YAWriter), perl(XML::SAX::Writer) %description This module provides a way to process XML documents. It is build on top of XML::Parser. XML::Twig offers a tree interface to the document, while allowing you to output the parts of it that have been completely processed. It allows minimal resource (CPU and memory) usage by building the tree only for the parts of the documents that need actual processing, through the use of the twig_roots and twig_print_outside_roots options. %prep %setup -q -n %{pkgname}-%{version} %build %perl_configure # INSTALLDIRS=vendor make # Fails on RH9, RH80, but not RH7.3 ... #perl_makecheck %install rm -rf %{buildroot} %perl_makeinstall %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{perl_vendorlib}/XML/Twig.pm %{perl_vendorlib}/XML/Twig %{perl_man3dir}/XML::Twig.3pm* %{perl_bin}/xml_* %{perl_man1dir}/xml_*.1* %changelog * Sat Oct 20 2007 Axel Thimm - Update to 3.29. * Fri Aug 27 2004 Axel Thimm - Update to 3.16. * Thu Oct 30 2003 Axel Thimm - Updated to 3.11. * Mon Apr 7 2003 Axel Thimm - Adapted to new macros (complete rewrite). * Wed Nov 13 2002 Axel Thimm - updated to 3.09 * Mon Aug 26 2002 Chip Turner - rebuild for build failure * Tue Aug 6 2002 Chip Turner - automated release bump and build * Wed May 29 2002 cturner@redhat.com - Specfile autogenerated