114 Star 0 Fork 5

src-openEuler / perl-Text-CharWidth

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Text-CharWidth.spec 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
duyyb 提交于 2019-12-04 11:09 . package init
Name: perl-Text-CharWidth
Version: 0.04
Release: 36
License: GPL+ or Artistic
Summary: Get the number of columns occupied by the terminal string
URL: https://metacpan.org/release/Text-CharWidth
Source0: https://cpan.metacpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-%{version}.tar.gz
BuildRequires: make perl-devel perl-generators perl(Exporter) perl(XSLoader) perl(strict)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(Test::Simple) perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
This package provides and wcswidth (3) and wcwidth (3) equivalent functions.
While also providing mblen (3) equivalent to the subroutine.
%package help
Summary: Help documents for perl-Text-CharWidth
%description help
Man pages and other related help documents for perl-Text-CharWidth.
%prep
%autosetup -n Text-CharWidth-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc README Changes
%{perl_vendorarch}/{Text,auto/Text}
%files help
%{_mandir}/man3/Text::CharWidth.3pm*
%changelog
* Fri Nov 29 2019 duyeyu <duyeyu@huawei.com> - 0.04-36
- Package init
1
https://gitee.com/src-openeuler/perl-Text-CharWidth.git
git@gitee.com:src-openeuler/perl-Text-CharWidth.git
src-openeuler
perl-Text-CharWidth
perl-Text-CharWidth
openEuler-20.03-LTS

搜索帮助