Ai
5 Star 0 Fork 1

src-openEuler/perl-Text-Reflow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Text-Reflow.spec 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
wanggang 提交于 2021-07-01 11:22 +08:00 . init project
Name: perl-Text-Reflow
Version: 1.17
Release: 1
Summary: Perl module for reflowing text files using Knuth's paragraphing algorithm
License: Perl
URL: https://metacpan.org/release/Text-Reflow
Source0: https://cpan.metacpan.org/authors/id/M/MW/MWARD/Text-Reflow-%{version}.tar.gz
# Build
BuildRequires: gcc
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(integer)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Tests only
BuildRequires: perl(Test::Simple)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
These routines will reflow the paragraphs in the given file, filehandle,
string or array using Knuth's paragraphing algorithm (as used in TeX) to
pick "good" places to break the lines.
%package -n reflow
Summary: A utility for reflowing text files using Knuth's paragraphing algorithm
License: GPLv2+
BuildArch: noarch
%description -n reflow
%{summary}.
%prep
%setup -q -n Text-Reflow-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Text
%{_mandir}/man3/*
%files -n reflow
%{_bindir}/reflow
%{_mandir}/man1/reflow*
%changelog
* Thu Jul 01 2021 Wang Gang <wanggang@kylinos.cn> - 1.17-1
- init project
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Text-Reflow.git
git@gitee.com:src-openeuler/perl-Text-Reflow.git
src-openeuler
perl-Text-Reflow
perl-Text-Reflow
master

搜索帮助