%define upstream_name Test-XPath %define upstream_version 0.16 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 5 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 Recommends: 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 * Wed Oct 15 2014 umeabot <umeabot> 0.160.0-5.mga5 + Revision: 741416 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.160.0-4.mga5 + Revision: 686583 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Fri Oct 18 2013 umeabot <umeabot> 0.160.0-3.mga4 + Revision: 515446 - Mageia 4 Mass Rebuild * 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 * Tue Dec 25 2012 cpan2dist 0.16-1mga - initial mageia release, generated with cpan2dist