Name: perl-XML-LibXML Version: 1.66 Release: 1%{?dist} Summary: Perl Binding for libxml2 License: Distributable, see LICENSE Group: Development/Libraries URL: http://search.cpan.org/dist/XML-LibXML/ Source0: http://www.cpan.org/modules/by-module/XML/XML-LibXML-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(XML::LibXML::Common) >= 0.13 BuildRequires: perl(XML::NamespaceSupport) >= 1.07 BuildRequires: perl(XML::SAX) >= 0.11 Requires: perl(XML::LibXML::Common) >= 0.13 Requires: perl(XML::NamespaceSupport) >= 1.07 Requires: perl(XML::SAX) >= 0.11 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module is an interface to libxml2, providing XML and HTML parsers with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 interface and a XML::XPath-like interface to XPath API of libxml2. The module is split into several packages which are not described in this section; unless stated otherwise, you only need to use XML::LibXML; in your programs. %prep %setup -q -n XML-LibXML-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 -type f -name '*.bs' -size 0 -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 LICENSE README %{perl_vendorarch}/auto/* %{perl_vendorarch}/XML* %{_mandir}/man3/* %changelog * Thu Mar 06 2008 Dave Cross 1.66-1 - Specfile autogenerated by cpanspec 1.74.