perl-Term-ANSIColor/perl-Term-ANSIColor.spec

77 lines
2.2 KiB
RPMSpec
Raw Normal View History

2014-08-11 08:11:53 +00:00
Name: perl-Term-ANSIColor
2016-03-11 14:52:27 +00:00
Version: 4.04
Release: 1%{?dist}
2014-08-11 08:11:53 +00:00
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
2016-03-11 14:52:27 +00:00
BuildRequires: make
2014-08-11 08:11:53 +00:00
BuildRequires: perl
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
2014-08-11 08:11:53 +00:00
BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(Test::More)
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
2016-03-11 14:52:27 +00:00
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
2014-08-11 08:11:53 +00:00
%install
2016-03-11 14:52:27 +00:00
make pure_install DESTDIR=$RPM_BUILD_ROOT
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
2016-03-11 14:52:27 +00:00
* Fri Mar 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.04-1
- 4.04 bump
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.03-347
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* 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
* 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