代码拉取完成,页面将自动刷新
Name: perl-HTML-GenToc
Version: 3.20
Release: 1
Summary: Generate a Table of Contents for HTML documents
License: GPL-2.0-or-later
URL: https://metacpan.org/release/HTML-GenToc
Source0: https://cpan.metacpan.org/authors/id/R/RU/RUBYKAT/HTML-GenToc-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-generators
BuildRequires: perl(Getopt::ArgvFile) >= 1.09
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::LinkList) >= 0.1501
BuildRequires: perl(HTML::SimpleParse) >= 0.1
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Distribution)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
%description
HTML::GenToc generates anchors and a table of contents for HTML documents.
Depending on the arguments, it will insert the information it generates, or
output to a string, a separate file or STDOUT.
%prep
%setup -q -n HTML-GenToc-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc Changes README OldChanges
%license LICENSE
%{perl_vendorlib}/HTML*
%{_bindir}/hypertoc
%{_mandir}/man1/hypertoc*
%{_mandir}/man3/HTML*
%changelog
* Mon Apr 15 2024 xuhe <xuhe@kylinos.cn> - 3.20-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。