forked from pool/perl-XML-DOM
Compare commits
12 Commits
b2bc3718ab
...
9673dadd2f
Author | SHA256 | Date | |
---|---|---|---|
9673dadd2f | |||
|
f6ba257d60 | ||
|
73d1241f7a | ||
|
19bf62452d | ||
|
30260adf03 | ||
|
d89f815e14 | ||
|
9472b033f0 | ||
|
d06c8c142f | ||
|
e770a4057f | ||
|
a4c8476b40 | ||
|
6f122a0b0b | ||
|
1e1bad12eb |
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.
BIN
XML-DOM-1.44.tar.gz
(Stored with Git LFS)
BIN
XML-DOM-1.44.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
XML-DOM-1.46.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-DOM-1.46.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 13:50:46 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
- Fix license tag, remove CHECK(...) and use correct
|
||||
"you can redistribute it and/or modify it under the same terms as
|
||||
Perl itself." aka GPL-1.0+ OR Artistic-1.0
|
||||
- Use https for URL and SourceURL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 22 06:24:58 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.46
|
||||
see /usr/share/doc/packages/perl-XML-DOM/Changes
|
||||
|
||||
1.46 (tjmather) 09/21/2016
|
||||
- Correct name passed to WriteMakefile to XML::DOM (was XML/Dom)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 21 07:36:37 UTC 2015 - cfarrell@suse.com
|
||||
|
||||
- license update: Artistic-1.0 or GPL-1.0+
|
||||
CHECK(...) not valid
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 19 09:51:00 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.45
|
||||
see /usr/share/doc/packages/perl-XML-DOM/Changes
|
||||
|
||||
1.45 (tjmather) 08/16/2015
|
||||
- Fix pod errors and a typo ( Florian Schlichting )
|
||||
- properly encode output for printToFile ( Martin Ferrari, Gregor Herrmann )
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:10:44 UTC 2011 - coolo@suse.com
|
||||
|
||||
- use original .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:36:09 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-XML-DOM (Version 1.44)
|
||||
# spec file for package perl-XML-DOM
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,25 +12,23 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-XML-DOM
|
||||
Version: 1.46
|
||||
Release: 0
|
||||
%define cpan_name XML-DOM
|
||||
Summary: Perl module for building DOM Level 1 compliant document structures
|
||||
Version: 1.44
|
||||
Release: 153
|
||||
License: Artistic
|
||||
Summary: Perl Module for Building Dom Level 1 Compliant Document Structures
|
||||
# "You can redistribute it and/or modify it under the same terms as Perl itself"
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
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
|
||||
URL: https://metacpan.org/pod/XML::DOM
|
||||
Source0: https://cpan.metacpan.org/authors/id/T/TJ/TJMATHER/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(LWP::UserAgent)
|
||||
@@ -41,25 +39,57 @@ 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
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
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:
|
||||
--------
|
||||
Enno Derksen <enno@att.com>
|
||||
Clark Cooper <coopercc@netheaven.com>
|
||||
XML::DOM::Parser is derived from XML::Parser. It parses XML strings or
|
||||
files and builds a data structure that conforms to the API of the Document
|
||||
Object Model as described at http://www.w3.org/TR/REC-DOM-Level-1. See the
|
||||
XML::Parser manpage for other available features of the XML::DOM::Parser
|
||||
class. Note that the 'Style' property should not be used (it is set
|
||||
internally.)
|
||||
|
||||
The XML::Parser _NoExpand_ option is more or less supported, in that it
|
||||
will generate EntityReference objects whenever an entity reference is
|
||||
encountered in character data. I'm not sure how useful this is. Any
|
||||
comments are welcome.
|
||||
|
||||
As described in the synopsis, when you create an XML::DOM::Parser object,
|
||||
the parse and parsefile methods create an _XML::DOM::Document_ object from
|
||||
the specified input. This Document object can then be examined, modified
|
||||
and written back out to a file or converted to a string.
|
||||
|
||||
When using XML::DOM with XML::Parser version 2.19 and up, setting the
|
||||
XML::DOM::Parser option _KeepCDATA_ to 1 will store CDATASections in
|
||||
CDATASection nodes, instead of converting them to Text nodes. Subsequent
|
||||
CDATASection nodes will be merged into one. Let me know if this is a
|
||||
problem.
|
||||
|
||||
When using XML::Parser 2.27 and above, you can suppress expansion of
|
||||
parameter entity references (e.g. %pent;) in the DTD, by setting
|
||||
_ParseParamEnt_ to 1 and _ExpandParamEnt_ to 0. See Hidden Nodes for
|
||||
details.
|
||||
|
||||
A Document has a tree structure consisting of _Node_ objects. A Node may
|
||||
contain other nodes, depending on its type. A Document may have Element,
|
||||
Text, Comment, and CDATASection nodes. Element nodes may have Attr,
|
||||
Element, Text, Comment, and CDATASection nodes. The other nodes may not
|
||||
have any child nodes.
|
||||
|
||||
This module adds several node types that are not part of the DOM spec
|
||||
(yet.) These are: ElementDecl (for <!ELEMENT ...> declarations),
|
||||
AttlistDecl (for <!ATTLIST ...> declarations), XMLDecl (for <?xml ...?>
|
||||
declarations) and AttDef (for attribute definitions in an AttlistDecl.)
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@@ -67,18 +97,11 @@ Authors:
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# 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_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc BUGS Changes FAQ.xml README XML-Parser-2.31.patch
|
||||
%defattr(-,root,root,755)
|
||||
%doc BUGS Changes FAQ.xml README samples XML-Parser-2.31.patch
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user