%global pkg_name Text-VisualWidth-PP %global pkg_version 0.05 %global rpm_pkg_version 0.05 %global rpm_pkg_release 1.n0i.1 Summary: Trimming text by the number of the column s of terminals and mobile phones 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/Text/%{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::Tiny) >= 0.035 BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Exporter) BuildRequires: perl(parent) BuildRequires: perl(Unicode::EastAsianWidth) >= 1.3 %description This module provides functions to treat half-width and full-width characters and display correct size of text in one line on terminals and mobile phones. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{perl_install} %files %defattr(-,root,root,-) %{perl_files} %doc Changes LICENSE README.md README.mkdn %changelog * Sat Oct 13 2018 Marius Feraru - 0.05-1.n0i.1 - version 0.05