%perl_module HTML-Tree 3.18 6 Summary: Build and scan parse-trees of HTML. Group: Applications/CPAN Vendor: Sean M. Burke License: Artistic URL: http://search.cpan.org/~sburke/%{pkgname}-%{version}/ Source: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/%{pkgname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl(HTML::Parser) >= 2.19, perl(HTML::Tagset) >= 3.02 BuildArch: noarch %description HTML-Tree is a suite of Perl modules for making parse trees out of HTML source. It consists of mainly two modules, whose documentation you should refer to: HTML::TreeBuilder and HTML::Element. %prep %setup -q -n %{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}/HTML/AsSubs.pm %{perl_vendorlib}/HTML/Element.pm %{perl_vendorlib}/HTML/Element %{perl_vendorlib}/HTML/Parse.pm %{perl_vendorlib}/HTML/Tree.pm %{perl_vendorlib}/HTML/Tree %{perl_vendorlib}/HTML/TreeBuilder.pm %{perl_man3dir}/HTML::AsSubs.3pm* %{perl_man3dir}/HTML::Element*.3pm* %{perl_man3dir}/HTML::Parse.3pm* %{perl_man3dir}/HTML::Tree*.3pm* %changelog * Thu Oct 30 2003 Axel Thimm - Updated to 3.18. * Mon Apr 7 2003 Axel Thimm - Updated to 3.17. - Adapted to new macros. * Wed Jan 8 2003 Axel Thimm - Initial build (cpan2rpm).