Name: perl-HTML-Selector-XPath Version: 0.14 Release: 1%{?dist} Summary: CSS Selector to XPath compiler License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTML-Selector-XPath/ Source0: http://www.cpan.org/authors/id/C/CO/CORION/HTML-Selector-XPath-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 1:5.8.1 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Base) BuildRequires: perl(Test::More) # for improved tests BuildRequires: perl(HTML::TreeBuilder::XPath) BuildRequires: perl(Test::Pod) >= 1.00 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description HTML::Selector::XPath is a utility function to compile CSS2 selector to the equivalent XPath expression. %prep %setup -q -n HTML-Selector-XPath-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Jan 18 2012 Ralf Corsépius - 0.14-1 - Upstream update. * Fri Nov 25 2011 Ralf Corsépius 0.12-1 - Upstream update. * Sat Oct 22 2011 Ralf Corsépius 0.09-1 - Upstream update. * Mon Sep 19 2011 Ralf Corsépius 0.08-1 - Upstream update. * Sun Mar 27 2011 Ralf Corsépius 0.07-1 - Upstream update. * Fri Feb 18 2011 Ralf Corsépius 0.06-2 - Fix bogus changelog entry. * Fri Feb 18 2011 Ralf Corsépius 0.06-1 - Upstream update. * Tue Feb 08 2011 Fedora Release Engineering - 0.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Ralf Corsépius 0.04-1 - Initial Fedora package.