Package init
This commit is contained in:
commit
9ce01ba4eb
BIN
Term-ANSIColor-4.06.tar.gz
Normal file
BIN
Term-ANSIColor-4.06.tar.gz
Normal file
Binary file not shown.
65
perl-Term-ANSIColor.spec
Normal file
65
perl-Term-ANSIColor.spec
Normal file
@ -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 <shenyangyang4@huawei.com> - 4.06-510
|
||||||
|
- Type:NA
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:move the directory of README
|
||||||
|
|
||||||
|
* Mon Sep 23 2019 shenyangyang<shenyangyang4@huawei.com> - 4.06-509
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:revise requires of perl
|
||||||
|
|
||||||
|
* Fri Aug 30 2019 hexiaowen <hexiaowen@huawei.com> 4.06-508
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user