Name: perl-Term-ANSIColor Version: 5.01 Release: 1 Summary: Color screen output using ANSI escape sequences License: GPL+ URL: https://metacpan.org/release/Term-ANSIColor Source0: https://cpan.metacpan.org/modules/by-module/Term/Term-ANSIColor-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils, make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) %description This Perl module is a simple and convenient interface to the ANSI terminal escape sequences for color (from ECMA-48, also included in ISO 6429). The color sequences are provided in two forms, either as constants for each color or via a function that takes the names of colors and returns the appropriate escape codes or wraps them around the provided text. The non-color text style codes from ANSI X3.64 (bold, dark, underline, and reverse, for example), which were also included in ECMA-48 and ISO 6429, are also supported. Also supported are the extended colors used for sixteen-color and 256-color emulators. %package_help %prep %setup -q -n Term-ANSIColor-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %make_build %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} %{buildroot}/* %check make test %files %defattr(-, root, root) %doc README %license LICENSE %{perl_vendorlib}/* %files help %defattr(-, root, root) %doc Changes examples %{_mandir}/man3/* %changelog * Wed Jul 22 2020 dingyue - 5.01-1 - Type:NA - ID:NA - SUG:NA - DESC:NA * Sat Dec 21 2019 openEuler Buildteam - 4.06-511 - Type:enhancement - ID:NA - SUG:NA - DESC:change mod of files * Sun Sep 29 2019 shenyangyang - 4.06-510 - Type:NA - ID:NA - SUG:NA - DESC:move the directory of README * Mon Sep 23 2019 shenyangyang - 4.06-509 - Type:enhancement - ID:NA - SUG:NA - DESC:revise requires of perl * Fri Aug 30 2019 hexiaowen 4.06-508 - Package init