2017-12-12 12:00:48 +00:00
|
|
|
# Run optional test
|
2018-04-06 12:33:45 +00:00
|
|
|
%if ! (0%{?rhel})
|
2017-12-12 12:00:48 +00:00
|
|
|
%bcond_without perl_Term_ANSIColor_enables_optional_test
|
2018-04-06 12:33:45 +00:00
|
|
|
%else
|
|
|
|
%bcond_with perl_Term_ANSIColor_enables_optional_test
|
|
|
|
%endif
|
2017-12-12 12:00:48 +00:00
|
|
|
|
2014-08-11 08:11:53 +00:00
|
|
|
Name: perl-Term-ANSIColor
|
2020-01-21 13:41:38 +00:00
|
|
|
Version: 5.01
|
2022-07-22 11:19:34 +00:00
|
|
|
Release: 490%{?dist}
|
2014-08-11 08:11:53 +00:00
|
|
|
Summary: Color screen output using ANSI escape sequences
|
2022-12-20 16:55:01 +00:00
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
2018-06-04 12:44:22 +00:00
|
|
|
URL: https://metacpan.org/release/Term-ANSIColor
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Term/Term-ANSIColor-%{version}.tar.gz
|
2014-08-11 08:11:53 +00:00
|
|
|
BuildArch: noarch
|
2016-12-06 15:31:57 +00:00
|
|
|
BuildRequires: coreutils
|
2016-03-11 14:52:27 +00:00
|
|
|
BuildRequires: make
|
2017-07-12 12:51:14 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2016-06-24 07:50:51 +00:00
|
|
|
BuildRequires: perl-generators
|
2016-03-11 14:52:27 +00:00
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time
|
2014-08-11 08:11:53 +00:00
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter)
|
2016-03-11 14:52:27 +00:00
|
|
|
# Tests
|
2016-12-06 15:31:57 +00:00
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Temp)
|
2014-08-11 08:11:53 +00:00
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Test::More)
|
2017-05-12 11:29:40 +00:00
|
|
|
# Optional tests
|
2017-12-12 12:00:48 +00:00
|
|
|
%if %{with perl_Term_ANSIColor_enables_optional_test} && !%{defined perl_bootstrap}
|
2017-05-12 11:29:40 +00:00
|
|
|
BuildRequires: perl(IPC::System::Simple)
|
|
|
|
%endif
|
2014-08-11 08:11:53 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%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
|
2020-01-09 14:02:24 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{make_build}
|
2014-08-11 08:11:53 +00:00
|
|
|
|
|
|
|
%install
|
2020-01-09 14:02:24 +00:00
|
|
|
%{make_install}
|
2014-08-11 08:11:53 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
2016-03-11 14:52:27 +00:00
|
|
|
make test
|
2014-08-11 08:11:53 +00:00
|
|
|
|
|
|
|
%files
|
2016-03-11 14:52:27 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc Changes examples README
|
2014-08-11 08:11:53 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2022-07-22 11:19:34 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.01-490
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-03 11:04:01 +00:00
|
|
|
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.01-489
|
|
|
|
- Perl 5.36 re-rebuild of bootstrapped packages
|
|
|
|
|
2022-05-30 14:11:20 +00:00
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.01-488
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2022-01-21 05:29:44 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.01-480
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 00:01:36 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.01-479
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-24 07:27:16 +00:00
|
|
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.01-478
|
|
|
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
|
|
|
|
2021-05-21 08:01:54 +00:00
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.01-477
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2021-01-27 04:48:51 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.01-459
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 19:03:31 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.01-458
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-26 15:43:07 +00:00
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 5.01-457
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
2020-06-22 11:44:33 +00:00
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 5.01-456
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2020-01-30 04:46:28 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.01-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-21 13:41:38 +00:00
|
|
|
* Tue Jan 21 2020 Jitka Plesnikova <jplesnik@redhat.com> - 5.01-1
|
|
|
|
- 5.01 bump
|
|
|
|
|
2020-01-09 14:02:24 +00:00
|
|
|
* Thu Jan 09 2020 Jitka Plesnikova <jplesnik@redhat.com> - 5.00-1
|
|
|
|
- 5.00 bump
|
|
|
|
|
2019-07-26 06:53:18 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.06-440
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-02 21:00:06 +00:00
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.06-439
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
2019-05-30 09:03:01 +00:00
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.06-438
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2019-02-02 00:26:25 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.06-419
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 19:59:57 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.06-418
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-01 07:05:19 +00:00
|
|
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.06-417
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
2018-06-27 00:19:39 +00:00
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.06-416
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2018-02-09 01:03:51 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.06-396
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 06:19:19 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.06-395
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-07 14:35:57 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.06-394
|
|
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
|
2017-06-03 10:49:19 +00:00
|
|
|
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.06-393
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-05-12 11:29:40 +00:00
|
|
|
* Fri May 12 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.06-3
|
|
|
|
- Don't BR: perl(IPC::System::Simple) when bootstrapping
|
|
|
|
|
2017-02-11 05:22:15 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.06-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-06 15:31:57 +00:00
|
|
|
* Tue Dec 06 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.06-1
|
|
|
|
- 4.06 bump
|
|
|
|
|
2016-05-14 10:35:19 +00:00
|
|
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.05-2
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-04-01 08:15:11 +00:00
|
|
|
* Fri Apr 01 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.05-1
|
|
|
|
- 4.05 bump
|
|
|
|
|
2016-03-11 14:52:27 +00:00
|
|
|
* Fri Mar 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.04-1
|
|
|
|
- 4.04 bump
|
|
|
|
|
2016-02-04 15:55:35 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.03-347
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 06:13:38 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.03-346
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-04 11:37:13 +00:00
|
|
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.03-345
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2015-06-04 10:06:23 +00:00
|
|
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.03-4
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2014-08-27 09:02:52 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.03-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-11 08:14:12 +00:00
|
|
|
* Mon Aug 11 2014 David Dick <ddick@cpan.org> - 4.03-2
|
|
|
|
- Re-adding for master
|
|
|
|
|
2014-08-11 08:11:53 +00:00
|
|
|
* Tue Jul 22 2014 David Dick <ddick@cpan.org> - 4.03-1
|
|
|
|
- Initial release
|