package init
This commit is contained in:
parent
09e250ccec
commit
94079a4af6
BIN
XML-TokeParser-0.05.tar.gz
Normal file
BIN
XML-TokeParser-0.05.tar.gz
Normal file
Binary file not shown.
55
perl-XML-TokeParser.spec
Normal file
55
perl-XML-TokeParser.spec
Normal file
@ -0,0 +1,55 @@
|
||||
Name: perl-XML-TokeParser
|
||||
Version: 0.05
|
||||
Release: 28
|
||||
Summary: Simplified interface to XML::Parser
|
||||
License: GPL+ or Artistic
|
||||
|
||||
URL: https://metacpan.org/release/XML-TokeParser
|
||||
Source0: https://cpan.metacpan.org/authors/id/P/PO/PODMASTER/XML-TokeParser-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: make perl-interpreter perl-generators perl(Carp) perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(IO::File) perl(Test) perl(XML::Catalog) perl(XML::Parser) >= 2
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(IO::File) perl(XML::Catalog) perl(XML::Parser) >= 2
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
XML::TokeParser provides a procedural ("pull mode") interface to XML::Parser in much the same way
|
||||
that Gisle Aas' HTML::TokeParser provides a procedural interface to HTML::Parser. XML::TokeParser
|
||||
splits its XML input up into "tokens," each corresponding to an XML::Parser event.
|
||||
|
||||
%package help
|
||||
Summary: Help documentation of perl-XML-TokeParser package
|
||||
|
||||
%description help
|
||||
Help documentation of perl-XML-TokeParser package.
|
||||
|
||||
%prep
|
||||
%autosetup -n XML-TokeParser-%{version} -p1
|
||||
find . -type f | xargs sed -i -e 's/\r//'
|
||||
find . -type f | xargs chmod 0644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
%make_build test
|
||||
|
||||
%files
|
||||
%doc Changes README TODO TokeParser.xml
|
||||
%{perl_vendorlib}/XML*
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/XML*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 26 2020 zhaodan <zhaodan39@huawei.com> - 0.05-28
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user