%define real_name Class-XPath Summary: Class-XPath module for perl Name: perl-%{real_name} Version: 1.4 Release: %mkrel 6 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 * Sun Jan 13 2013 umeabot <umeabot> 1.4-6.mga3 + Revision: 364527 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 13 2011 jquelin <jquelin> 1.4-5.mga1 + Revision: 10101 - imported package perl-Class-XPath