8
0
forked from pool/perl-XML-DOM

Accepting request 44036 from devel:languages:perl

Copy from devel:languages:perl/perl-XML-DOM based on submit request 44036 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/44036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-DOM?expand=0&rev=9
This commit is contained in:
OBS User autobuild
2010-08-01 15:17:56 +00:00
committed by Git OBS Bridge
parent e656c65a33
commit 3f1fb2f268
3 changed files with 49 additions and 39 deletions

BIN
XML-DOM-1.44.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@@ -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 Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de

View File

@@ -19,35 +19,37 @@
Name: perl-XML-DOM 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 Version: 1.44
Release: 145 Release: 152
Requires: perl-XML-RegExp perl-libwww-perl
Provides: p_xmldom XML-DOM
Obsoletes: p_xmldom
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License: Artistic
Url: http://cpan.org/modules/by-module/XML/ Group: Development/Libraries/Perl
Summary: Perl Extension to XML::Parser Url: http://search.cpan.org/dist/XML-DOM/
Source: XML-DOM-%{version}.tar.bz2 #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 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 %description
http://www.w3.org/DOM/ 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
This is a Perl extension to XML::Parser. It adds a new 'Style' to interface to James Clark's expat library.
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.
Authors: Authors:
-------- --------
@@ -55,29 +57,30 @@ Authors:
Clark Cooper <coopercc@netheaven.com> Clark Cooper <coopercc@netheaven.com>
%prep %prep
%setup -n XML-DOM-%{version} -q %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
mv t/dom_jp_print.t t/dom_jp_print.tt # test rejected due to problems with UTF-8 %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
%perl_make_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 %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-, root, root) %defattr(-,root,root,-)
%doc BUGS Changes FAQ.xml README samples %doc BUGS Changes FAQ.xml README XML-Parser-2.31.patch
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/XML-DOM
%{perl_vendorlib}/XML
/var/adm/perl-modules/perl-XML-DOM
%changelog %changelog