commit b69be48aad4fc93c634049ef05f163f82c9e0f05 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:13:40 2019 -0400 Package init diff --git a/XML-Parser-2.44.tar.gz b/XML-Parser-2.44.tar.gz new file mode 100644 index 0000000..7b266f3 Binary files /dev/null and b/XML-Parser-2.44.tar.gz differ diff --git a/perl-XML-Parser.spec b/perl-XML-Parser.spec new file mode 100644 index 0000000..fedbce4 --- /dev/null +++ b/perl-XML-Parser.spec @@ -0,0 +1,58 @@ +Name: perl-XML-Parser +Epoch: 1 +Version: 2.44 +Release: 2 +Summary: Perl module for parsing XML documents +License: GPLv1+ or Artistic 1.0 +URL: https://metacpan.org/release/XML-Parser +Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-%{version}.tar.gz + +BuildRequires: gcc make perl-generators perl expat-devel +Requires: perl + +%description +This module provides ways to parse XML documents. It is built on +top of XML::Parser::Expat, which is a lower level interface to +James Clark's expat library. Each call to one of the parsing +methods creates a new instance of XML::Parser::Expat which is +then used to parse the document. Expat options may be provided +when the XML::Parser object is created. These options are then +passed on to the Expat object on each parse call. They can also +be given as extra arguments to the parse methods, in which case +they override options given at XML::Parser creation time. + +%package help +Summary: Man page for %{name} +BuildArch: noarch + +%description help +%{summary}. + +%prep +%autosetup -n XML-Parser-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 +%make_build + +%install +%make_install + +%check +make test + +%files +%defattr(-,root,root) +%doc Changes README samples/ +%{perl_vendorarch}/XML/ +%{perl_vendorarch}/auto/XML/ + +%files help +%{_mandir}/man3/*.3* + +%changelog +* Tue Sep 24 2019 openEuler Buildteam - 1:2.44-2 +- Adjust requires + +* Fri Sep 6 2019 openEuler Buildteam - 1:2.44-1 +- Package init