Blob Blame History Raw
Name:           perl-String-TtyLength
Version:        0.02
Release:        2%{?dist}
Summary:        Length or width of string excluding ANSI tty codes
License:        GPL+ or Artistic
BuildArch:      noarch
# build requirements
BuildRequires:  make
BuildRequires:  perl-generators
BuildRequires:  perl-interpreter
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
# runtime requirements
BuildRequires:  perl(Exporter)
BuildRequires:  perl(parent)
BuildRequires:  perl(strict)
BuildRequires:  perl(Unicode::EastAsianWidth) >= 12.0
BuildRequires:  perl(warnings)
# test requirements
BuildRequires:  perl(Test2::V0)
BuildRequires:  perl(utf8)
Requires:       perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))


This module provides two functions which tell you the length and width
of a string as it will appear on a terminal (tty), excluding any ANSI
escape codes.

%setup -q -n String-TtyLength-%{version}

/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1

%{_fixperms} $RPM_BUILD_ROOT/*

%{make_build} test

%doc Changes README
%license LICENSE

* Wed Jan 27 2021 Fedora Release Engineering <> - 0.02-2
- Rebuilt for

* Sun Sep 13 2020 Emmanuel Seyman <> - 0.02-1
- Initial specfile, based on the one autogenerated by cpanspec 1.78.