commit
3748ad885a
@ -0,0 +1 @@
|
|||||||
|
SOURCES/Term-Table-0.012.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
1f69c2d28fcb0b9617b46064b320b89fd8fc86cb SOURCES/Term-Table-0.012.tar.gz
|
@ -0,0 +1,111 @@
|
|||||||
|
# Recognize terminal size
|
||||||
|
%bcond_without perl_Term_Table_enables_terminal
|
||||||
|
# Respect Unicode rules when breaking lines
|
||||||
|
%bcond_without perl_Term_Table_enables_unicode
|
||||||
|
|
||||||
|
Name: perl-Term-Table
|
||||||
|
Version: 0.012
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Format a header and rows into a table
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: http://search.cpan.org/dist/Term-Table/
|
||||||
|
Source0: http://www.cpan.org/authors/id/E/EX/EXODIST/Term-Table-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(:VERSION) >= 5.8.1
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Run-time:
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Config)
|
||||||
|
BuildRequires: perl(Importer) >= 0.024
|
||||||
|
BuildRequires: perl(List::Util)
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
# Optional run-time:
|
||||||
|
%if %{with perl_Term_Table_enables_terminal}
|
||||||
|
# Term::ReadKey 2.32 not used if Term::Size::Any is available
|
||||||
|
# Prefer Term::Size::Any over Term::ReadKey
|
||||||
|
BuildRequires: perl(Term::Size::Any) >= 0.002
|
||||||
|
%endif
|
||||||
|
%if %{with perl_Term_Table_enables_unicode}
|
||||||
|
BuildRequires: perl(Unicode::GCString) >= 2013.10
|
||||||
|
%endif
|
||||||
|
# Tests:
|
||||||
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(Test2::API)
|
||||||
|
BuildRequires: perl(Test2::Tools::Tiny) >= 1.302097
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(utf8)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: perl(Importer) >= 0.024
|
||||||
|
%if %{with perl_Term_Table_enables_terminal}
|
||||||
|
Suggests: perl(Term::ReadKey) >= 2.32
|
||||||
|
# Prefer Term::Size::Any over Term::ReadKey
|
||||||
|
Recommends: perl(Term::Size::Any) >= 0.002
|
||||||
|
%endif
|
||||||
|
%if %{with perl_Term_Table_enables_unicode}
|
||||||
|
Recommends: perl(Unicode::GCString) >= 2013.10
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Remove under-specified dependencies
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Importer\\)$
|
||||||
|
|
||||||
|
%description
|
||||||
|
This Perl module is able to format rows of data into tables.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Term-Table-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.012-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Oct 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-1
|
||||||
|
- 0.012 bump
|
||||||
|
|
||||||
|
* Wed Oct 11 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.011-1
|
||||||
|
- 0.011 bump
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-2
|
||||||
|
- Perl 5.26 rebuild
|
||||||
|
|
||||||
|
* Mon Mar 20 2017 Petr Pisar <ppisar@redhat.com> - 0.008-1
|
||||||
|
- 0.008 bump
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.006-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 11 2017 Petr Pisar <ppisar@redhat.com> - 0.006-1
|
||||||
|
- 0.006 bump
|
||||||
|
|
||||||
|
* Mon Jan 02 2017 Petr Pisar <ppisar@redhat.com> - 0.005-1
|
||||||
|
- 0.005 bump
|
||||||
|
|
||||||
|
* Wed Dec 21 2016 Petr Pisar <ppisar@redhat.com> - 0.004-1
|
||||||
|
- 0.004 bump
|
||||||
|
|
||||||
|
* Tue Dec 20 2016 Petr Pisar <ppisar@redhat.com> 0.002-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue