114 Star 0 Fork 3

src-openEuler / perl-Parse-Yapp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Parse-Yapp.spec 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 21:08 . Package init
Name: perl-Parse-Yapp
Summary: Perl extension for generating and using LALR parsers
Version: 1.21
Release: 5
License: GPL+ or Artistic
URL: https://metacpan.org/release/Parse-Yapp
Source0: https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils make perl-generators perl-interpreter perl(vars)
BuildRequires: perl(Carp) perl(ExtUtils::MakeMaker) >= 6.76 perl(strict)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules that
let you generate and use yacc like thread safe (reentrant) parsers with perl
object oriented interface. The script yapp is a front-end to the Parse::Yapp
module and let you easily create a Perl OO parser from an input grammar file.
%package_help
%prep
%autosetup -p1 -n Parse-Yapp-%{version}
chmod 644 README lib/Parse/{*.pm,Yapp/*.pm}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
chmod -R u+w %{buildroot}/*
%check
make test
%files
%{_bindir}/yapp
%{perl_vendorlib}/Parse/
%files help
%doc Changes README
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%changelog
* Tue Dec 3 2019 caomeng<caomeng5@huawei.com> - 1.21-5
- Package init
1
https://gitee.com/src-openeuler/perl-Parse-Yapp.git
git@gitee.com:src-openeuler/perl-Parse-Yapp.git
src-openeuler
perl-Parse-Yapp
perl-Parse-Yapp
openEuler-20.03-LTS

搜索帮助