%define real_name Class-XPath Summary: Class-XPath module for perl Name: perl-%{real_name} Version: 1.4 Release: %mkrel 2 License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: %{real_name}-%{version}.tar.bz2 BuildRequires: perl-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description This module adds XPath-style matching to your object trees. This means that you can find nodes using an XPath-esque query with "match()" from anywhere in the tree. Also, the "xpath()" method returns a unqique path to a given node which can be used as an identifier. %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Class/XPath.pm %{_mandir}/*/* %changelog * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.4-2mdv2008.0 + Revision: 86182 - rebuild * Wed Sep 13 2006 Oden Eriksson <oeriksson@mandriva.com> 1.4-1mdv2007.0 - rebuild * Thu Jul 14 2005 Oden Eriksson <oeriksson@mandriva.com> 1.4-1mdk - initial Mandriva package