%define module XML-Grove %define version 0.46alpha %define release %mkrel 10 Summary: Provides the information set of parsed XML/HTML/SGML trees Name: perl-%{module} Version: %{version} Release: %{release} License: Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-buildroot/ Requires: perl BuildArch: noarch %description The XML::Grove Perl module provides simple access to the information set of parsed XML, HTML, or SGML instances using a tree of Perl hashes. This package also includes several extensions to XML::Grove that provide the following: - returning element contents as a string - returning element contents as XML, HTML, or Canonical XML - processing entire groves using the visitor pattern - processing entire groves using PerlSAX - running a filter over all nodes in the grove - substituting values into an XML template grove - indexing a grove by ID or other attributes - accessing elements and objects via URL-like paths - create grove objects using an easy shorthand %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %{_mandir}/*/* %{perl_vendorlib}/XML/* %changelog * Wed Jun 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.46alpha-10mdv2009.0 + Revision: 224623 - rebuild * Thu Mar 06 2008 Oden Eriksson <oeriksson@mandriva.com> 0.46alpha-9mdv2008.1 + Revision: 180656 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Jan 14 2007 Olivier Thauvin <nanardon@mandriva.org> 0.46alpha-8mdv2007.0 + Revision: 108411 - rebuild + Guillaume Rousse <guillomovitch@mandriva.org> - Import perl-XML-Grove * Mon Jan 10 2005 Stefan van der Eijk <stefan@mandrake.org> 0.46alpha-7mdk - upload to contrib