Author: iarnell Update of /cvs/pkgs/rpms/perl-HTML-TreeBuilder-XPath/F-11 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13856/F-11 Modified Files: .cvsignore sources Added Files: perl-HTML-TreeBuilder-XPath.spec Log Message: initial import --- NEW FILE perl-HTML-TreeBuilder-XPath.spec --- Name: perl-HTML-TreeBuilder-XPath Version: 0.10 Release: 1%{?dist} Summary: Add XPath support to HTML::TreeBuilder License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/ Source0: http://www.cpan.org/authors/id/M/MI/MIROD/HTML-TreeBuilder-XPath-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTML::TreeBuilder) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(XML::XPathEngine) >= 0.12 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # not automatically detected Requires: perl(HTML::TreeBuilder) %description This module adds typical XPath methods to HTML::TreeBuilder, to make it easy to query a document. %prep %setup -q -n HTML-TreeBuilder-XPath-%{version} cat << \EOF > %{name}-prov #!/bin/sh %{__perl_provides} $* |\ sed -e '/perl(HTML::Element)/d' EOF %global __perl_provides %{_builddir}/HTML-TreeBuilder-XPath-%{version}/%{name}-prov chmod +x %{__perl_provides} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue May 05 2009 Iain Arnell 0.10-1 - Specfile autogenerated by cpanspec 1.77. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-HTML-TreeBuilder-XPath/F-11/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- .cvsignore 6 May 2009 21:12:25 -0000 1.1 +++ .cvsignore 7 May 2009 03:39:50 -0000 1.2 @@ -0,0 +1 @@ +HTML-TreeBuilder-XPath-0.10.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-HTML-TreeBuilder-XPath/F-11/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 6 May 2009 21:12:25 -0000 1.1 +++ sources 7 May 2009 03:39:50 -0000 1.2 @@ -0,0 +1 @@ +b886ba30166e3ae7b3ad9747d8115046 HTML-TreeBuilder-XPath-0.10.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list