Name: perl-XML-LibXML Epoch: 1 Version: 2.0128 Release: 1%{?dist} Summary: Perl Binding for libxml2 License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/XML-LibXML/ Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 0:5.008 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(parent) BuildRequires: perl(Test::More) BuildRequires: perl(XML::NamespaceSupport) >= 1.07 BuildRequires: perl(XML::SAX) >= 0.11 BuildRequires: perl(XML::SAX::Base) BuildRequires: perl(XML::SAX::Exception) Requires: perl(parent) Requires: perl(Test::More) Requires: perl(XML::NamespaceSupport) >= 1.07 Requires: perl(XML::SAX) >= 0.11 Requires: perl(XML::SAX::Base) Requires: perl(XML::SAX::Exception) 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 HACKING.txt LICENSE META.json README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/XML* %{_mandir}/man3/* %changelog * Fri Jan 27 2017 Dave Cross 2.0128-1 - Specfile autogenerated by cpanspec 1.78.