%define module HTML-Tree %define version 3.18 %define release 1mdk Summary: Build and scan parse-trees of HTML. Name: perl-HTML-Tree Version: %{version} Release: %{release} Group: Development/Perl License: GPL or Artistic Url: http://www.cpan.org/ BuildRoot: %{_tmppath}/%{name}-buildroot BuildArch: noarch Source: http://www.cpan.org/authors/id/S/SB/SBURKE/%{module}-%{version}.tar.bz2 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 -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/HTML/* %{_mandir}/*/* %changelog * Wed Sep 17 2003 Stefan van der Eijk <stefan@eijk.nu> 3.18-1mdk - 3.18 - revamp .spec file * Thu Mar 27 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 3.16-2mdk - Recompiled for Mandrake 9.1 * Mon Mar 24 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 3.16-1mdk - Recompiled for Mandrake 9.0 * Wed Jan 8 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> - Initial build (cpan2rpm).