diff --git a/XML-DOM-1.44.tar.bz2 b/XML-DOM-1.44.tar.bz2 index bfe3f95..20bf59d 100644 --- a/XML-DOM-1.44.tar.bz2 +++ b/XML-DOM-1.44.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0a29e0696aaecc4c1537a45485d7ac53f6df59d170f742cd21da29cf2ca9eb2c +oid sha256:39e47ddaaa24d22f054f92c11d892904ffd0ed304f31aa10f48c6121899cce1a size 95082 diff --git a/perl-XML-DOM.changes b/perl-XML-DOM.changes index a90c7e7..705be4e 100644 --- a/perl-XML-DOM.changes +++ b/perl-XML-DOM.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 27 09:08:05 UTC 2010 - chris@computersalat.de + +- recreated by cpanspec 1.78 + o fix deps +- noarch + ------------------------------------------------------------------- Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de diff --git a/perl-XML-DOM.spec b/perl-XML-DOM.spec index e921144..f6ec66f 100644 --- a/perl-XML-DOM.spec +++ b/perl-XML-DOM.spec @@ -19,35 +19,37 @@ Name: perl-XML-DOM -BuildRequires: perl-Parse-Yapp perl-XML-RegExp perl-libwww-perl perl-libxml-perl +%define cpan_name XML-DOM +Summary: Perl module for building DOM Level 1 compliant document structures Version: 1.44 -Release: 145 -Requires: perl-XML-RegExp perl-libwww-perl -Provides: p_xmldom XML-DOM -Obsoletes: p_xmldom -AutoReqProv: on -Group: Development/Libraries/Perl +Release: 152 License: Artistic -Url: http://cpan.org/modules/by-module/XML/ -Summary: Perl Extension to XML::Parser -Source: XML-DOM-%{version}.tar.bz2 +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/XML-DOM/ +#Source: http://www.cpan.org/modules/by-module/XML/XML-DOM-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(XML::Parser) >= 2.30 +BuildRequires: perl(XML::Parser::PerlSAX) >= 0.07 +BuildRequires: perl(XML::RegExp) +Requires: perl = %{perl_version} +Requires: perl(LWP::UserAgent) +Requires: perl(XML::Parser) >= 2.30 +Requires: perl(XML::Parser::PerlSAX) >= 0.07 +Requires: perl(XML::RegExp) +# Provides: p_xmldom XML-DOM +# Obsoletes: p_xmldom %description -http://www.w3.org/DOM/ - -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. - -This is a beta version and although there will not be any major API -changes, minor changes may occur as we get feedback from the people on -the perl-xml mailing list. [You can subscribe to this list by sending a -message to subscribe-perl-xml@lyris.activestate.com.] - -For documentation read the manpages XML::Dom and XML::DOM::UTF8. - - +This module extends the XML::Parser module by Clark Cooper. The XML::Parser +module is built on top of XML::Parser::Expat, which is a lower level +interface to James Clark's expat library. Authors: -------- @@ -55,29 +57,30 @@ Authors: Clark Cooper %prep -%setup -n XML-DOM-%{version} -q +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make %{?_smp_mflags} -mv t/dom_jp_print.t t/dom_jp_print.tt # test rejected due to problems with UTF-8 +%{__perl} Makefile.PL INSTALLDIRS=vendor + +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install %perl_make_install -%perl_process_packlist +# do not perl_process_packlist (noarch) +# remove .packlist file +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch +# remove perllocal.pod file +%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_gen_filelist %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) -%doc BUGS Changes FAQ.xml README samples -%doc %{_mandir}/man?/* -%{perl_vendorarch}/auto/XML-DOM -%{perl_vendorlib}/XML -/var/adm/perl-modules/perl-XML-DOM +%files -f %{name}.files +%defattr(-,root,root,-) +%doc BUGS Changes FAQ.xml README XML-Parser-2.31.patch %changelog