Package init
This commit is contained in:
commit
b69be48aad
BIN
XML-Parser-2.44.tar.gz
Normal file
BIN
XML-Parser-2.44.tar.gz
Normal file
Binary file not shown.
58
perl-XML-Parser.spec
Normal file
58
perl-XML-Parser.spec
Normal file
@ -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 <buildteam@openeuler.org> - 1:2.44-2
|
||||||
|
- Adjust requires
|
||||||
|
|
||||||
|
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:2.44-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user