%define module XML-LibXML-Iterator %define name perl-%{module} %define version 1.00 %define release %mkrel 4 Name: %{name} Version: %{version} Release: %{release} Summary: XML::LibXML's Tree Iteration Class License: GPL or Artistic Group: Development/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/XML/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel BuildRequires: perl(XML::LibXML) BuildRequires: perl(XML::NodeFilter) %description XML::LibXML::Iterator is an iterator class for XML::LibXML parsed documents. This class allows to iterate the document tree as it were a linear data structure. %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 Changes README %{perl_vendorlib}/XML/* %{_mandir}/*/* %changelog * Wed May 03 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.00-4mdk - Fix According to perl Policy - Source URL - BuildRequires * Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.00-3mdk - fix BuildRequires * Mon Nov 01 2004 Michael Scherer <misc@mandrake.org> 1.00-2mdk - BuildRequires * Mon Aug 30 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.00-1mdk - Initial MDK release, needed by perl-XML-XUpdate-LibXML.