2019-12-17 09:59:37 +08:00
|
|
|
Name: perl-Unicode-EastAsianWidth
|
2020-07-24 15:20:11 +08:00
|
|
|
Version: 12.0
|
|
|
|
|
Release: 1
|
2019-12-17 09:59:37 +08:00
|
|
|
Summary: East Asian Width properties
|
|
|
|
|
License: CC0
|
|
|
|
|
URL: https://metacpan.org/release/Unicode-EastAsianWidth
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch0: perl-Unicode-EastAsianWidth-no-inc.patch
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl perl-generators perl-Exporter perl-ExtUtils-MakeMaker
|
|
|
|
|
BuildRequires: perl-Module-Package perl-Pod-Markdown perl-Module-Package-Au
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module provide user-defined Unicode properties that deal with width
|
|
|
|
|
status of East Asian characters, as specified in
|
|
|
|
|
<http://www.unicode.org/unicode/reports/tr11/>.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n Unicode-EastAsianWidth-%{version} -p1
|
|
|
|
|
rm -rf inc/*
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/Unicode/
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-07-24 15:20:11 +08:00
|
|
|
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 12.0-1
|
|
|
|
|
- Package update
|
2019-12-17 09:59:37 +08:00
|
|
|
* Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.33-15
|
|
|
|
|
- Package init
|