%define modname HTML-Tree %define modver 4.2 Summary: Build and scan parse-trees of HTML Name: perl-%{modname} Epoch: 1 Version: %perl_convert_version %{modver} Release: 16 License: GPLv2+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{modname}/ Source0: http://www.cpan.org/authors/id/S/SB/SBURKE/%{modname}-%{modver}.tar.gz BuildArch: noarch BuildRequires: perl(Test::More) BuildRequires: perl-devel BuildRequires: perl-HTML-Parser %description This distribution contains a suite of modules for representing, creating, and extracting information from HTML syntax trees; there is also relevent documentation. These modules used to be part of the libwww-perl distribution, but are now unbundled in order to facilitate a separate development track. %prep %setup -qn %{modname}-%{modver} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc README Changes %{perl_vendorlib}/HTML %{_bindir}/* %{_mandir}/man3/*