8
0
forked from pool/perl-XML-DOM

Compare commits

...

12 Commits

Author SHA256 Message Date
9673dadd2f Accepting request 980483 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/980483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-DOM?expand=0&rev=21
2022-06-03 12:16:38 +00:00
Lars Vogdt
f6ba257d60 Accepting request 978731 from home:susnux:branches:devel:languages:perl
Fix license so this updated version can go into Factory

OBS-URL: https://build.opensuse.org/request/show/978731
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-DOM?expand=0&rev=20
2022-06-02 09:24:16 +00:00
Lars Vogdt
73d1241f7a Accepting request 429408 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/429408
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-DOM?expand=0&rev=19
2016-09-30 10:27:32 +00:00
Stephan Kulow
19bf62452d Accepting request 326601 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/326601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-DOM?expand=0&rev=20
2015-08-28 06:25:23 +00:00
Stephan Kulow
30260adf03 Accepting request 324751 from home:babelworx:ldig:branches:devel:languages:perl
license update: Artistic-1.0 or GPL-1.0+
CHECK(...) not valid

OBS-URL: https://build.opensuse.org/request/show/324751
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-DOM?expand=0&rev=17
2015-08-25 09:43:51 +00:00
Lars Vogdt
d89f815e14 Accepting request 324268 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/324268
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-DOM?expand=0&rev=16
2015-08-20 10:54:23 +00:00
Stephan Kulow
9472b033f0 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-DOM?expand=0&rev=15
2011-12-06 17:49:41 +00:00
Stephan Kulow
d06c8c142f Accepting request 92357 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-DOM?expand=0&rev=14
2011-11-21 11:50:19 +00:00
Stephan Kulow
e770a4057f use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-DOM?expand=0&rev=13
2011-11-18 11:46:56 +00:00
Stephan Kulow
a4c8476b40 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-DOM?expand=0&rev=12
2011-11-17 15:56:29 +00:00
Lars Vogdt
6f122a0b0b Autobuild autoformatter for 54693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-DOM?expand=0&rev=11
2010-12-05 21:28:11 +00:00
Lars Vogdt
1e1bad12eb Accepting request 54693 from devel:languages:perl
Accepted submit request 54693 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-DOM?expand=0&rev=10
2010-12-05 21:28:05 +00:00
6 changed files with 117 additions and 36 deletions

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)

Binary file not shown.

BIN
XML-DOM-1.46.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

23
cpanspec.yml Normal file
View 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

View File

@@ -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

View File

@@ -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