diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fe494d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Term-ANSIColor-4.05.tar.gz diff --git a/.rh-perl524-perl-Term-ANSIColor.metadata b/.rh-perl524-perl-Term-ANSIColor.metadata new file mode 100644 index 0000000..eb54877 --- /dev/null +++ b/.rh-perl524-perl-Term-ANSIColor.metadata @@ -0,0 +1 @@ +286ed1afbceebff078638d877198fdbf9e03b96a SOURCES/Term-ANSIColor-4.05.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..b89c112 --- /dev/null +++ b/SPECS/perl-Term-ANSIColor.spec @@ -0,0 +1,87 @@ +%{?scl:%scl_package perl-Term-ANSIColor} + +Name: %{?scl_prefix}perl-Term-ANSIColor +Version: 4.05 +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: make +BuildRequires: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl-generators +BuildRequires: %{?scl_prefix}perl(Config) +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +BuildRequires: %{?scl_prefix}perl(File::Spec) +BuildRequires: %{?scl_prefix}perl(strict) +BuildRequires: %{?scl_prefix}perl(warnings) +# Run-time +BuildRequires: %{?scl_prefix}perl(Carp) +BuildRequires: %{?scl_prefix}perl(Exporter) +# Tests +BuildRequires: %{?scl_prefix}perl(lib) +BuildRequires: %{?scl_prefix}perl(overload) +BuildRequires: %{?scl_prefix}perl(Test::More) +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 Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'} + +%install +%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} '}make test%{?scl:'} + +%files +%doc LICENSE +%doc Changes examples README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jul 11 2016 Petr Pisar - 4.05-3 +- SCL + +* Sat May 14 2016 Jitka Plesnikova - 4.05-2 +- Perl 5.24 rebuild + +* Fri Apr 01 2016 Jitka Plesnikova - 4.05-1 +- 4.05 bump + +* Fri Mar 11 2016 Jitka Plesnikova - 4.04-1 +- 4.04 bump + +* Thu Feb 04 2016 Fedora Release Engineering - 4.03-347 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 4.03-346 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jun 04 2015 Jitka Plesnikova - 4.03-345 +- Increase release to favour standalone package + +* Thu Jun 04 2015 Jitka Plesnikova - 4.03-4 +- Perl 5.22 rebuild + +* 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