commit 9ce01ba4eb22b70d6459dca31c8942df41681765 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:13:18 2019 -0400 Package init diff --git a/Term-ANSIColor-4.06.tar.gz b/Term-ANSIColor-4.06.tar.gz new file mode 100644 index 0000000..fb63dad Binary files /dev/null and b/Term-ANSIColor-4.06.tar.gz differ diff --git a/perl-Term-ANSIColor.spec b/perl-Term-ANSIColor.spec new file mode 100644 index 0000000..af6215d --- /dev/null +++ b/perl-Term-ANSIColor.spec @@ -0,0 +1,65 @@ +Name: perl-Term-ANSIColor +Version: 4.06 +Release: 510 +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 + +%check +make test + +%files +%defattr(-, root, root) +%doc README +%license LICENSE +%{perl_vendorlib}/* + +%files help +%defattr(-, root, root) +%doc Changes examples +%{_mandir}/man3/* + +%changelog +* 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