Sync from SUSE:SLFO:Main perl-XML-SAX-Expat revision 9fa7e61ca96fabe1c645f71beee02a52

This commit is contained in:
Adrian Schröter 2024-05-03 19:11:14 +02:00
commit c4181d8b05
5 changed files with 159 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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-SAX-Expat-0.51.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

30
cpanspec.yml Normal file
View File

@ -0,0 +1,30 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#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
post_section: |-
perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"

View File

@ -0,0 +1,26 @@
-------------------------------------------------------------------
Thu Jul 19 12:13:09 UTC 2018 - coolo@suse.com
- install the parser into ParserDetails.ini
-------------------------------------------------------------------
Sat Mar 22 19:05:10 UTC 2014 - coolo@suse.com
- updated to 0.51
- attempt to repair https://rt.cpan.org/Ticket/Display.html?id=86087
and the duplicate https://rt.cpan.org/Ticket/Display.html?id=88638
-------------------------------------------------------------------
Tue Jun 4 17:17:03 UTC 2013 - coolo@suse.com
- update to 0.50
- fixed broken link to SAX2 specification in POD
- added repository information to Makefile.PL
- added README file to satisfy packaging guidelines
-------------------------------------------------------------------
Fri Jun 3 08:49:46 UTC 2011 - coolo@novell.com
- initial package 0.40
* created by cpanspec 1.78.04

77
perl-XML-SAX-Expat.spec Normal file
View File

@ -0,0 +1,77 @@
#
# spec file for package perl-XML-SAX-Expat
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: perl-XML-SAX-Expat
Version: 0.51
Release: 0
%define cpan_name XML-SAX-Expat
Summary: SAX2 Driver for Expat (XML::Parser)
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/XML-SAX-Expat/
Source0: https://cpan.metacpan.org/authors/id/B/BJ/BJOERN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(XML::NamespaceSupport) >= 0.03
BuildRequires: perl(XML::Parser) >= 2.27
BuildRequires: perl(XML::SAX) >= 0.03
BuildRequires: perl(XML::SAX::Base) >= 1.00
Requires: perl(XML::NamespaceSupport) >= 0.03
Requires: perl(XML::Parser) >= 2.27
Requires: perl(XML::SAX) >= 0.03
Requires: perl(XML::SAX::Base) >= 1.00
%{perl_requires}
%description
This is an implementation of a SAX2 driver sitting on top of Expat
(XML::Parser) which Ken MacLeod posted to perl-xml and which I have
updated.
It is still incomplete, though most of the basic SAX2 events should be
available. The SAX2 spec is currently available from
http://perl-xml.sourceforge.net/perl-sax/.
A more friendly URL as well as a PODification of the spec are in the works.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%post
perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog