Sync from SUSE:ALP:Source:Standard:1.0 perl-XML-DOM revision 93ac41d78c50d1b9e59ed813748e80ce
This commit is contained in:
commit
57c8973ab2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
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
|
194
perl-XML-DOM.changes
Normal file
194
perl-XML-DOM.changes
Normal file
@ -0,0 +1,194 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- enable parallel build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 15 13:30:38 CET 2009 - anicka@suse.cz
|
||||||
|
|
||||||
|
- do not ignore test results (bnc#465994)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 9 16:20:55 CET 2006 - anicka@suse.cz
|
||||||
|
|
||||||
|
- require perl-libwww-perl (#149416)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:40:02 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 1 13:32:10 CEST 2005 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- update to 1.44
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 1 12:34:53 CET 2005 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- require perl-XML-RegExp
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 16 12:03:40 CEST 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- ignore testsuite output for the moment
|
||||||
|
to build dependant packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 26 17:35:56 CET 2004 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- update to 1.43
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 10 22:32:47 CET 2004 - adrian@suse.de
|
||||||
|
|
||||||
|
- build as user
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 18 12:26:36 CEST 2003 - poeml@suse.de
|
||||||
|
|
||||||
|
- use install_vendor and new %perl_process_packlist macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 18:04:31 CEST 2003 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- fix filelist
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 19 11:35:51 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- remove perllocal.pod
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 27 20:28:30 CET 2002 - prehak@suse.cz
|
||||||
|
|
||||||
|
- updated to version 1.42
|
||||||
|
- reenabled make test except fot one test
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 31 16:21:48 MEST 2002 - mls@suse.de
|
||||||
|
|
||||||
|
- disable 'make test' for now as unicode stuff seems to be
|
||||||
|
incompatible with perl-5.8.0. Waiting for new release...
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 23 14:17:34 CEST 2002 - prehak@suse.cz
|
||||||
|
|
||||||
|
- update to version 1.39
|
||||||
|
- enabled make test
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de
|
||||||
|
|
||||||
|
- remove race in .packlist generation
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 15 12:52:18 CET 2002 - rvasice@suse.cz
|
||||||
|
|
||||||
|
- update to version 1.36
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 16 14:27:10 CEST 2001 - rvasice@suse.cz
|
||||||
|
|
||||||
|
- update to 1.31
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 10 13:14:58 CET 2000 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- renamed p_xmldom -> perl-XML-DOM
|
||||||
|
- bzipped sources
|
||||||
|
- fixed file list
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 21 16:43:14 CEST 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- adapted for perl-5.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 20 16:02:00 CEST 2000 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- added BuildRoot
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 21 14:57:06 CET 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- fixed filelist: use macro for mandir
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 18 16:56:13 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- Fix %files list.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 10 16:51:35 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- Update: version 1.25.
|
||||||
|
- Use %{version} instead %{ver} (predefined).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 10 12:19:03 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- Add missing DOM.pm to the %files list (#1630).
|
||||||
|
- Use version macro.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||||
|
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 4 18:12:55 MEST 1999 - ke@suse.de
|
||||||
|
|
||||||
|
- New package: version 1.23.
|
||||||
|
|
||||||
|
|
107
perl-XML-DOM.spec
Normal file
107
perl-XML-DOM.spec
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-XML-DOM
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
# "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: 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
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
|
BuildRequires: perl(XML::Parser) >= 2.30
|
||||||
|
BuildRequires: perl(XML::Parser::PerlSAX) >= 0.07
|
||||||
|
BuildRequires: perl(XML::RegExp)
|
||||||
|
Requires: perl(LWP::UserAgent)
|
||||||
|
Requires: perl(XML::Parser) >= 2.30
|
||||||
|
Requires: perl(XML::Parser::PerlSAX) >= 0.07
|
||||||
|
Requires: perl(XML::RegExp)
|
||||||
|
%{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.
|
||||||
|
|
||||||
|
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
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,755)
|
||||||
|
%doc BUGS Changes FAQ.xml README samples XML-Parser-2.31.patch
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user