12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- Name: perl-XML-DOM
- Version: 1.44
- Release: 7%{?_dist_release}
- Summary: DOM extension to XML::Parser
- Group: Development/Libraries
- License: GPL+ or Artistic
- URL: http://search.cpan.org/dist/XML-DOM/
- Source0: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-DOM-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- # perl(XML::Parser::PerlSAX)
- BuildRequires: perl-libxml-perl
- BuildRequires: perl-XML-RegExp
- # for testing perl(LWP::UserAgent)
- BuildRequires: perl-libwww-perl
- Requires: perl-XML-Parser
- Requires: perl-libwww-perl
- Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version)
- Obsoletes: perl-libxml-enno <= 1.02
- %description
- This is a Perl extension to XML::Parser. It adds a new 'Style' to
- XML::Parser, called 'Dom', that allows XML::Parser to build an Object
- Oriented datastructure with a DOM Level 1 compliant interface. For a
- description of the DOM (Document Object Model), see
- http://www.w3.org/DOM/
- %prep
- %setup -q -n XML-DOM-%{version}
- cat <<EOF > %{name}-prov
- #!/bin/sh
- %{__perl_provides} \$* | grep -v 'perl(XML::XQL::Node)'
- EOF
- %define __perl_provides %{_builddir}/XML-DOM-%{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 -type d -depth -exec rmdir {} 2>/dev/null ';'
- chmod -R u+w $RPM_BUILD_ROOT/*
- %check
- make test
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %doc BUGS Changes README
- %{perl_vendorlib}/XML/
- %{_mandir}/man3/XML::*.3*
- %changelog
- * Sat Aug 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.44-7
- - Initial build for Vine Linux
- * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-6
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-5
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-4
- - Rebuild for perl 5.10 (again)
- * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-3
- - rebuild for new perl
- * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-2.1
- - correct license tag
- - add BR: perl(ExtUtils::MakeMaker)
- * Thu Jun 29 2006 Orion Poplawski <orion@cora.nwra.com> - 1.44-2
- - Bump for new perl version (#196667)
- * Sat Nov 5 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.44-1
- - First Fedora Extras release (#172331).
- * Thu Oct 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.44-0.1
- - First build (#128879).
|