Re-adding for master
This commit is contained in:
parent
5aa0b3b423
commit
b00d5683fd
BIN
Term-ANSIColor-4.03.tar.gz
Normal file
BIN
Term-ANSIColor-4.03.tar.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
Package incorrectly added to fedora. Already provided by perl: https://fedorahosted.org/rel-eng/ticket/5965
|
|
50
perl-Term-ANSIColor.spec
Normal file
50
perl-Term-ANSIColor.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
Name: perl-Term-ANSIColor
|
||||||
|
Version: 4.03
|
||||||
|
Release: 1%{?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: perl
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(lib)
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(overload)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
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
|
||||||
|
%{__perl} Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc examples LICENSE NEWS README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jul 22 2014 David Dick <ddick@cpan.org> - 4.03-1
|
||||||
|
- Initial release
|
Loading…
Reference in New Issue
Block a user