From 8e5afd8662ae570ff4c262c3236ed06d789b9c39 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2015 08:02:01 +0000 Subject: import rh-perl520-perl-Term-ANSIColor-4.03-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..43614f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Term-ANSIColor-4.03.tar.gz diff --git a/.rh-perl520-perl-Term-ANSIColor.metadata b/.rh-perl520-perl-Term-ANSIColor.metadata new file mode 100644 index 0000000..eb1ded0 --- /dev/null +++ b/.rh-perl520-perl-Term-ANSIColor.metadata @@ -0,0 +1 @@ +43f0df44b07af08c5198d7ee49e1674421d50346 SOURCES/Term-ANSIColor-4.03.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Term-ANSIColor.spec b/SPECS/perl-Term-ANSIColor.spec new file mode 100644 index 0000000..861090b --- /dev/null +++ b/SPECS/perl-Term-ANSIColor.spec @@ -0,0 +1,57 @@ +%{?scl:%scl_package perl-Term-ANSIColor} + +Name: %{?scl_prefix}perl-Term-ANSIColor +Version: 4.03 +Release: 3%{?dist} +Summary: Color screen output using ANSI escape sequences +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Term-ANSIColor/ +Source0: http://www.cpan.org/modules/by-module/Term/Term-ANSIColor-%{version}.tar.gz +BuildArch: noarch +BuildRequires: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl(Carp) +BuildRequires: %{?scl_prefix}perl(Exporter) +BuildRequires: %{?scl_prefix}perl(lib) +BuildRequires: %{?scl_prefix}perl(Module::Build) +BuildRequires: %{?scl_prefix}perl(overload) +BuildRequires: %{?scl_prefix}perl(strict) +BuildRequires: %{?scl_prefix}perl(Test::More) +BuildRequires: %{?scl_prefix}perl(warnings) +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) + +%description +This module has two interfaces, one through color() and colored() and the +other through constants. It also offers the utility functions uncolor(), +colorstrip(), colorvalid(), and coloralias(), which have to be explicitly +imported to be used. + +%prep +%setup -q -n Term-ANSIColor-%{version} +chmod -c -x examples/* + +%build +%{?scl:scl enable %{scl} '}perl Build.PL installdirs=vendor && ./Build%{?scl:'} + +%install +%{?scl:scl enable %{scl} '}./Build install destdir=$RPM_BUILD_ROOT create_packlist=0%{?scl:'} + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} '}./Build test%{?scl:'} + +%files +%doc examples LICENSE NEWS README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Aug 27 2014 Jitka Plesnikova - 4.03-3 +- Perl 5.20 rebuild + +* Mon Aug 11 2014 David Dick - 4.03-2 +- Re-adding for master + +* Tue Jul 22 2014 David Dick - 4.03-1 +- Initial release