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