5 Star 0 Fork 1

src-openEuler/perl-PPI-HTML

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-PPI-HTML.spec 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
konglidong 提交于 2024-03-07 09:47 . package init
Name: perl-PPI-HTML
Version: 1.08
Release: 1
Summary: Generate syntax-highlighted HTML for Perl using PPI
License: GPL+ or Artistic
URL: https://metacpan.org/release/PPI-HTML
Source0: https://cpan.metacpan.org/modules/by-module/PPI/PPI-HTML-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(inc::Module::Install)
# Module Run-time:
BuildRequires: perl(CSS::Tiny) >= 1.10
BuildRequires: perl(Params::Util) => 0.05
BuildRequires: perl(PPI::Document)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Script Run-time:
BuildRequires: perl(File::Slurp)
BuildRequires: perl(PPI) >= 0.990
# Tests:
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More) >= 0.47
# Dependencies
Requires: perl(CSS::Tiny) >= 1.10
Requires: perl(Params::Util) => 0.05
Requires: perl(PPI) >= 0.990
# Filter under specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(CSS::Tiny|Params::Util|PPI\\)$
%description
PPI::HTML converts Perl documents into syntax highlighted HTML pages.
%prep
%setup -q -n PPI-HTML-%{version}
# Remove bundled inc::Module::Install
rm -r inc/
sed -i '/^\/inc\//d' MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes README
%{_bindir}/ppi2html
%{perl_vendorlib}/PPI/
%{_mandir}/man3/PPI::HTML.3*
%changelog
* Thu Mar 07 2024 konglidong <konglidong@uniontech.com> - 1.08-1
- package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-PPI-HTML.git
git@gitee.com:src-openeuler/perl-PPI-HTML.git
src-openeuler
perl-PPI-HTML
perl-PPI-HTML
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385