5 Star 0 Fork 2

src-openEuler/perl-HTML-GenToc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-HTML-GenToc.spec 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
xuhe 提交于 2024-04-15 09:57 . Package init
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-HTML-GenToc.git
git@gitee.com:src-openeuler/perl-HTML-GenToc.git
src-openeuler
perl-HTML-GenToc
perl-HTML-GenToc
master

搜索帮助