Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Data-Format-Pretty-Console
perl-Data-Format-Pretty-Console.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Data-Format-Pretty-Console.spec of Package perl-Data-Format-Pretty-Console
# # spec file for package perl-Data-Format-Pretty-Console # # 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 Data-Format-Pretty-Console Name: perl-Data-Format-Pretty-Console Version: 0.392.0 Release: 0 %define cpan_version 0.392 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Pretty-print data structure for console output 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(Data::Dump::Partial) BuildRequires: perl(Data::Unixish) >= 1.572 BuildRequires: perl(JSON::MaybeXS) BuildRequires: perl(List::Util) >= 1.54 BuildRequires: perl(Log::ger) >= 0.038 BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Text::ANSITable) >= 0.602 BuildRequires: perl(YAML::Any) BuildRequires: perl(experimental) Requires: perl(JSON::MaybeXS) Requires: perl(List::Util) >= 1.54 Requires: perl(Log::ger) >= 0.038 Requires: perl(Text::ANSITable) >= 0.602 Requires: perl(YAML::Any) Requires: perl(experimental) Provides: perl(Data::Format::Pretty::Console) = %{version} Provides: perl(Data::Format::Pretty::SimpleText) = %{version} Provides: perl(Data::Format::Pretty::Text) = %{version} %undefine __perllib_provides Recommends: perl(Term::Size) %{perl_requires} %description This module is meant to output data structure in a "pretty" or "nice" format, suitable for console programs. The idea of this module is that for you to just merrily dump data structure to the console, and this module will figure out how to best display your data to the end-user. Currently this module tries to display the data mostly as a nice text table (or a series of text tables), and failing that, display it as YAML. This module takes piping into consideration, and will output a simpler, more suitable format when your user pipes your program's output into some other program. Most of the time, you don't have to configure anything, but some options are provided to tweak the output. %prep %autosetup -n %{cpan_name}-%{cpan_version} %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