5 Star 0 Fork 1

src-openEuler/perl-Text-Diff-HTML

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Text-Diff-HTML.spec 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
wanggang 提交于 2021-07-01 16:41 . init project
Name: perl-Text-Diff-HTML
Version: 0.08
Release: 1
Summary: XHTML format for Text::Diff::Unified
License: GPL+ or Artistic
URL: https://metacpan.org/release/Text-Diff-HTML
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMK/Text-Diff-HTML-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Module::Build)
# Module Runtime
BuildRequires: perl(constant)
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(strict)
BuildRequires: perl(Text::Diff) >= 0.11
BuildRequires: perl(vars)
# Test Suite
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.41
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This class subclasses Text::Diff::Unified, a formatting class provided by
the Text::Diff module, to add XHTML markup to the unified diff format. For
details on the interface of the diff() function, see the Text::Diff
documentation.
%prep
%setup -q -n Text-Diff-HTML-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT
%check
./Build test
%files
%license LICENSE
%doc Changes README.md
%{perl_vendorlib}/Text/
%{_mandir}/man3/Text::Diff::HTML.3pm*
%changelog
* Thu Jul 01 2021 Wang Gang <wanggang@kylinos.cn> - 0.08-1
- init project
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Text-Diff-HTML.git
git@gitee.com:src-openeuler/perl-Text-Diff-HTML.git
src-openeuler
perl-Text-Diff-HTML
perl-Text-Diff-HTML
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385