代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。