%global pkg_name Unicode-EastAsianWidth-Detect %global pkg_version 0.03 %global rpm_pkg_version 0.03 %global rpm_pkg_release 1.n0i.1 Summary: Detect CJK Language Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: https://metacpan.org/release/%{pkg_name} Source0: https://cpan.metacpan.org/authors/id/Unicode/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Module::Build) >= 0.38 BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(CPAN::Meta) BuildRequires: perl(CPAN::Meta::Prereqs) %description Unicode::EastAsianWidth::Detect is module that can detect the locale is CJK or not. For example, most of users who uses CJK languages are thinking that Easy Asian Width Ambiguous Widths should be double cells. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{perl_install} %files %defattr(-,root,root,-) %{perl_files} %doc Changes eg/ LICENSE README.md %changelog * Sat Oct 13 2018 Marius Feraru - 0.03-1.n0i.1 - version 0.03