Name: perl-XML-DOM-XPath
Summary: Perl extension to add XPath support to XML::DOM, using XML::XPath engine
Version: 0.14
Release: 2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-DOM-XPath/
Description: XML::DOM::XPath is a helper module for XML::DOM that adds XPath support to it.
It uses XML::XPath to resolve the XPath queries.
In truth this should only be used if you have existing code using XML::DOM. If you start a new project and if you can install XML::LibXML (and libxml2 on which it is based) then you will get a DOM, XPAth support and a lot more power and speed.
The build was succesful. The following RPMs were generated:
The build was succesful. The following RPMs were generated:
The spec file used by the build system currently has the following contents:
# $Id$
# Authority: dries
# Upstream: Michel Rodriguez <mirod$cpan,org>
### EL6 ships with perl-XML-DOM-XPath-0.14-4.el6
%{?el6:# Tag: rfx}
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name XML-DOM-XPath
Summary: Perl extension to add XPath support to XML::DOM, using XML::XPath engine
Name: perl-XML-DOM-XPath
Version: 0.14
Release: 2%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-DOM-XPath/
Source: http://www.cpan.org/modules/by-module/XML/XML-DOM-XPath-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
%description
XML::DOM::XPath is a helper module for XML::DOM that adds XPath support to it.
It uses XML::XPath to resolve the XPath queries.
In truth this should only be used if you have existing code using XML::DOM.
If you start a new project and if you can install XML::LibXML (and libxml2
on which it is based) then you will get a DOM, XPAth support and a lot more
power and speed.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/XML::DOM::XPath.3pm*
%dir %{perl_vendorlib}/XML/
%dir %{perl_vendorlib}/XML/DOM/
#%{perl_vendorlib}/XML/DOM/XPath/
%{perl_vendorlib}/XML/DOM/XPath.pm
%changelog
* Tue Jul 26 2011 Yury V. Zaytsev <yury@shurup.com> - 0.14-2
- RFX'ed on RHEL6.
* Wed May 14 2008 Dag Wieers <dag@wieers.com> - 0.14-1
- Updated to release 0.14.
* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 0.13-1
- Updated to release 0.13.
* Tue Sep 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.12-1
- Initial package.