2019-09-30 11:13:40 -04:00
|
|
|
Name: perl-XML-Parser
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 2.44
|
2020-05-13 17:08:46 +08:00
|
|
|
Release: 4
|
2019-09-30 11:13:40 -04:00
|
|
|
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
|
|
|
|
|
|
2020-05-13 17:08:46 +08:00
|
|
|
BuildRequires: gcc make perl-generators perl expat-devel perl-devel
|
2019-09-30 11:13:40 -04:00
|
|
|
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
|
2019-12-25 16:03:57 +08:00
|
|
|
%{_fixperms} %{buildroot}/*
|
2019-09-30 11:13:40 -04:00
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc Changes README samples/
|
|
|
|
|
%{perl_vendorarch}/XML/
|
|
|
|
|
%{perl_vendorarch}/auto/XML/
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-05-13 17:08:46 +08:00
|
|
|
* Wed May 13 2020 licunlong <licunlong1@huawei.com> - 1:2.44-4
|
|
|
|
|
- add perl-devel buildrequire
|
|
|
|
|
|
2019-12-25 16:03:57 +08:00
|
|
|
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:2.44-3
|
|
|
|
|
- Change mod of files
|
|
|
|
|
|
2019-09-30 11:13:40 -04:00
|
|
|
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:2.44-2
|
|
|
|
|
- Adjust requires
|
|
|
|
|
|
|
|
|
|
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:2.44-1
|
|
|
|
|
- Package init
|