%define upstream_name Test-XPath %define upstream_version 0.16 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Test XML and HTML content and structure with XPath expressions License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Builder) BuildRequires: perl(XML::LibXML) BuildArch: noarch Suggests: perl(HTML::Selector::XPath) %description Test::XPath is a Perl extension that allows one to use the power of XPath expressions to validate the structure of one's XML and HTML documents. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install ./Build install destdir=%{buildroot} %files %doc Changes META.json META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.160.0-2.mga3 + Revision: 373923 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Dec 25 2012 shlomif <shlomif> 0.160.0-1.mga3 + Revision: 335080 - Fixes - imported package perl-Test-XPath