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:
committed by
Git OBS Bridge
parent
e656c65a33
commit
3f1fb2f268
BIN
XML-DOM-1.44.tar.bz2
(Stored with Git LFS)
BIN
XML-DOM-1.44.tar.bz2
(Stored with Git LFS)
Binary file not shown.
@@ -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
|
||||
|
||||
|
@@ -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 <coopercc@netheaven.com>
|
||||
|
||||
%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
|
||||
|
Reference in New Issue
Block a user