Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl
perl-Text-ANSITable
perl-Text-ANSITable.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Text-ANSITable.spec of Package perl-Text-ANSITable
# # spec file for package perl-Text-ANSITable # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name Text-ANSITable Name: perl-Text-ANSITable Version: 0.609.0 Release: 0 %define cpan_version 0.609 Provides: perl(Text::ANSITable) = 0.609.0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Create nice formatted tables using extended ASCII and ANSI colors URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(BorderStyles::Standard) BuildRequires: perl(Carp) >= 1.12 BuildRequires: perl(Color::RGB::Util) >= 0.600 BuildRequires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006 BuildRequires: perl(ColorThemeUtil::ANSI) BuildRequires: perl(ColorThemes::Standard) BuildRequires: perl(File::ShareDir::Install) >= 0.06 BuildRequires: perl(Function::Fallback::CoreOrPP) BuildRequires: perl(JSON::MaybeXS) BuildRequires: perl(Log::ger) >= 0.038 BuildRequires: perl(Module::List) BuildRequires: perl(Module::Load) BuildRequires: perl(Module::Load::Util) >= 0.009 BuildRequires: perl(Moo) BuildRequires: perl(Package::MoreUtil) >= 0.590 BuildRequires: perl(Parse::VarName) BuildRequires: perl(Term::App::Role::Attrs) >= 0.031 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Test::Needs) BuildRequires: perl(Text::ANSI::Util) >= 0.22 BuildRequires: perl(alias::module) BuildRequires: perl(namespace::clean) BuildRequires: perl(parent) Requires: perl(BorderStyles::Standard) Requires: perl(Carp) >= 1.12 Requires: perl(Color::RGB::Util) >= 0.600 Requires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006 Requires: perl(ColorThemeUtil::ANSI) Requires: perl(ColorThemes::Standard) Requires: perl(Function::Fallback::CoreOrPP) Requires: perl(JSON::MaybeXS) Requires: perl(Log::ger) >= 0.038 Requires: perl(Module::List) Requires: perl(Module::Load) Requires: perl(Module::Load::Util) >= 0.009 Requires: perl(Moo) Requires: perl(Package::MoreUtil) >= 0.590 Requires: perl(Parse::VarName) Requires: perl(Term::App::Role::Attrs) >= 0.031 Requires: perl(Text::ANSI::Util) >= 0.22 Requires: perl(alias::module) Requires: perl(namespace::clean) Requires: perl(parent) Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::bold) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::brick) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::bricko) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::csingle) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::double) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::none_ascii) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::none_boxchar) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::none_utf8) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::single_ascii) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::single_boxchar) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::single_utf8) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singleh_ascii) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singleh_boxchar) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singleh_utf8) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singlei_ascii) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singlei_boxchar) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singlei_utf8) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singleo_ascii) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singleo_boxchar) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singleo_utf8) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singlev_ascii) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singlev_boxchar) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::singlev_utf8) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::space_ascii) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::space_boxchar) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::space_utf8) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::spacei_ascii) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::spacei_boxchar) = 0.609.0 Provides: perl(BorderStyle::Text::ANSITable::OldCompat::Default::spacei_utf8) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::OldCompat::Default::default_gradation) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::OldCompat::Default::default_gradation_whitebg) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::OldCompat::Default::default_nogradation) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::OldCompat::Default::default_nogradation_whitebg) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::OldCompat::Default::no_color) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::Standard::Gradation) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::Standard::GradationWhiteBG) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::Standard::NoGradation) = 0.609.0 Provides: perl(ColorTheme::Text::ANSITable::Standard::NoGradationWhiteBG) = 0.609.0 Provides: perl(Text::ANSITable::StyleSet::AltRow) = 0.609.0 %undefine __perllib_provides Recommends: perl(Data::Unixish::ANSI) >= 0.02 Recommends: perl(Data::Unixish::Apply) >= 1.33 Recommends: perl(Text::ANSI::WideUtil) >= 0.21 %{perl_requires} %description This module is yet another text table formatter module like Text::ASCIITable or Text::SimpleTable, with the following differences: * * Colors and color themes ANSI color codes will be used by default (even 256 and 24bit colors), but will degrade to lower color depth and black/white according to terminal support. * * Box-drawing characters Box-drawing characters will be used by default, but will degrade to using normal ASCII characters if terminal does not support them. * * Unicode and wide character support Border styles using Unicode characters (double lines, bold/heavy lines, brick style, etc). Columns containing wide characters stay aligned. (Note: support for wide characters requires Text::ANSI::WideUtil which is currently set as an optional prereq, so you'll need to install it explicitly or set your CPAN client to install 'recommends' prereq). Compared to Text::ASCIITable, it uses 'lower_case' method/attr names instead of 'CamelCase', and it uses arrayref for 'columns' and 'add_row'. When specifying border styles, the order of characters are slightly different. More fine-grained options to customize appearance. %prep %autosetup -n %{cpan_name}-%{cpan_version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor