代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/perl-Unicode-LineBreak 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: perl-Unicode-LineBreak
Version: 2019.001
Release: 5
Summary: An algorithm for unicode line breaking
License: GPL+ or Artistic
URL: https://metacpan.org/release/Unicode-LineBreak
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Unicode-LineBreak-%{version}.tar.gz
BuildRequires: libthai-devel coreutils findutils make perl-interpreter perl-devel
BuildRequires: perl-generators perl(Config) perl(ExtUtils::MakeMaker) perl(strict)
BuildRequires: pkgconfig sed sombok-devel perl(Carp) perl(constant) perl(Encode) >= 1.98
BuildRequires: perl(Exporter) perl(overload) perl(strict) perl(vars) perl(warnings)
BuildRequires: perl(XSLoader) perl(Test::More) >= 0.45 perl(MIME::Charset) >= 1.006.2
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) perl(Encode) >= 1.98
%{?filter_setup:
%filter_from_requires /perl(Unicode::LineBreak::Constants)/d
%filter_from_provides /^perl(Unicode::LineBreak)$/d
}
%{?perl_default_filter}
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Unicode::LineBreak::Constants\\)
%global __requires_exclude %__requires_exclude|^perl\\(constant\\)\s*$
%global __requires_exclude %__requires_exclude|^perl\\(Encode\\)\s*$
%global __requires_exclude %__requires_exclude|^perl\\(MIME::Charset\\)\s*$
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Unicode::LineBreak\\)$
%description
Unicode defines several characters as providing vertical whitespace, like the carriage return or
newline characters. Unicode also gathers several characters under the banner of a linebreak sequence.
A Unicode linebreak matches the two-character CRLF grapheme or any of the seven vertical whitespace
characters.
%package help
Summary: Help documents for perl-Unicode-LineBreak package
%description help
Help documents for perl-Unicode-LineBreak package.
%prep
%autosetup -n Unicode-LineBreak-%{version} -p1
rm -rf sombok
sed -i -e '/^sombok/d' MANIFEST
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
install -d $RPM_BUILD_ROOT%{_mandir}/ja/man3
for mod in Text::LineFold Unicode::GCString Unicode::LineBreak; do
mv $RPM_BUILD_ROOT%{_mandir}/man3/POD2::JA::$mod.3pm \
$RPM_BUILD_ROOT%{_mandir}/ja/man3/$mod.3pm
done
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license ARTISTIC GPL
%{perl_vendorarch}/{auto/*,Unicode*,Text,POD2}
%files help
%doc Changes Changes.REL1 README Todo.REL1
%{_mandir}/man3/*
%{_mandir}/ja/man3/*
%changelog
* Fri Jan 10 2020 wutao <[email protected]> - 2019.001-5
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。