generated from smedev/Template-for-SMEServer-Core-Perl
* Mon Jan 27 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.016-3.sme
- import to SME11
This commit is contained in:
parent
383d2b0f0b
commit
6f418de5e4
@ -1,8 +1,12 @@
|
|||||||
|
# Recognize terminal size
|
||||||
|
%bcond_without perl_Term_Table_enables_terminal
|
||||||
|
# Respect Unicode rules when breaking lines
|
||||||
|
%bcond_without perl_Term_Table_enables_unicode
|
||||||
%define module Term::Table
|
%define module Term::Table
|
||||||
|
|
||||||
Name: perl-Term-Table
|
Name: perl-Term-Table
|
||||||
Version: 0.016
|
Version: 0.016
|
||||||
Release: 2%{?org_tag}%{?dist}
|
Release: 3%{?org_tag}%{?dist}
|
||||||
Summary: Format a header and rows into a table
|
Summary: Format a header and rows into a table
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -10,26 +14,55 @@ URL: http://search.cpan.org/dist/Term-Table/
|
|||||||
Source0: http://localhost/cpan/authors/id/E/EX/EXODIST/Term-Table-%{version}.tar.gz
|
Source0: http://localhost/cpan/authors/id/E/EX/EXODIST/Term-Table-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl >= 0:5.008001
|
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(Carp)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(Importer) >= 0.024
|
BuildRequires: perl(Importer) >= 0.024
|
||||||
BuildRequires: perl(List::Util)
|
BuildRequires: perl(List::Util)
|
||||||
|
#BuildRequires: perl(Object::HashBase) >= 0.008
|
||||||
BuildRequires: perl(Scalar::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
|
BuildRequires: perl(Term::Size::Any) >= 0.002
|
||||||
BuildRequires: perl(Test2::Tools::Tiny) >= 1.302072
|
%endif
|
||||||
|
%if %{with perl_Term_Table_enables_unicode}
|
||||||
|
BuildRequires: perl(Unicode::GCString) >= 2013.10
|
||||||
BuildRequires: perl(Unicode::LineBreak) >= 2015.06
|
BuildRequires: perl(Unicode::LineBreak) >= 2015.06
|
||||||
|
%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(Carp)
|
Requires: perl(Carp)
|
||||||
Requires: perl(Importer) >= 0.024
|
|
||||||
Requires: perl(List::Util)
|
Requires: perl(List::Util)
|
||||||
Requires: perl(Scalar::Util)
|
Requires: perl(Scalar::Util)
|
||||||
Requires: perl(Term::Size::Any) >= 0.002
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(Unicode::LineBreak) >= 2015.06
|
Requires: perl(Importer) >= 0.024
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
%if %{with perl_Term_Table_enables_terminal}
|
||||||
Autoreq: no
|
Suggests: perl(Term::ReadKey) >= 2.32
|
||||||
%if %{rhel} >= 8
|
# Prefer Term::Size::Any over Term::ReadKey
|
||||||
Provides: perl(%{module}) = %{version}
|
Recommends: perl(Term::Size::Any) >= 0.002
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with perl_Term_Table_enables_unicode}
|
||||||
|
Recommends: perl(Unicode::GCString) >= 2013.10
|
||||||
|
Recommends: perl(Unicode::LineBreak) >= 2015.06
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
# Remove under-specified dependencies
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Importer\\)$
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is used by some failing tests to provide diagnostics about what has
|
This is used by some failing tests to provide diagnostics about what has
|
||||||
@ -67,7 +100,7 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 27 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.016-2.sme
|
* Mon Jan 27 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.016-3.sme
|
||||||
- import to SME11
|
- import to SME11
|
||||||
|
|
||||||
* Mon Feb 14 2022 Gavin Carr <gavin@openfusion.net> 0.016-1
|
* Mon Feb 14 2022 Gavin Carr <gavin@openfusion.net> 0.016-1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user