0.07
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Format-Pretty-Console?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
Data-Format-Pretty-Console-0.07.tar.gz
Normal file
3
Data-Format-Pretty-Console-0.07.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8d2bedeb44ea5ab1f0da5dd5610fde98d6730d59e5458072d6671fdfd68eecee
|
||||||
|
size 14100
|
5
perl-Data-Format-Pretty-Console.changes
Normal file
5
perl-Data-Format-Pretty-Console.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 03 21:22:38 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial version (0.07)
|
||||||
|
|
69
perl-Data-Format-Pretty-Console.spec
Normal file
69
perl-Data-Format-Pretty-Console.spec
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
# vim: set sw=4 ts=4 et nu:
|
||||||
|
|
||||||
|
Name: perl-Data-Format-Pretty-Console
|
||||||
|
Version: 0.07
|
||||||
|
Release: 0
|
||||||
|
Summary: Pretty-print data structure for console output
|
||||||
|
Source: ftp://ftp.cpan.org/pub/CPAN/authors/id/S/SH/SHARYANTO/Data-Format-Pretty-Console-%{version}.tar.gz
|
||||||
|
URL: http://search.cpan.org/dist/Data-Format-Pretty-Console
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
License: Perl License
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
%{perl_requires}
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(File::Find)
|
||||||
|
BuildRequires: perl(File::Temp)
|
||||||
|
BuildRequires: perl(Data::Dump::Partial)
|
||||||
|
BuildRequires: perl(Module::Build) >= 0.3601
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(Text::ASCIITable)
|
||||||
|
BuildRequires: perl(YAML::Any)
|
||||||
|
Requires: perl(Scalar::Util)
|
||||||
|
Requires: perl(Data::Dump::Partial)
|
||||||
|
Requires: perl(Text::ASCIITable)
|
||||||
|
Requires: perl(YAML::Any)
|
||||||
|
%if 0%{?suse_version} >= 1120
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%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 ASCII
|
||||||
|
table (or a series of ASCII 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 in the future
|
||||||
|
some formatting settings will be tweakable.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n "Data-Format-Pretty-Console-%{version}"
|
||||||
|
|
||||||
|
%build
|
||||||
|
%__perl ./Build.PL
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README Changes LICENSE
|
||||||
|
%dir %{perl_vendorlib}/Data
|
||||||
|
%dir %{perl_vendorlib}/Data/Format
|
||||||
|
%dir %{perl_vendorlib}/Data/Format/Pretty
|
||||||
|
%{perl_vendorlib}/Data/Format/Pretty/Console.pm
|
||||||
|
%doc %{perl_man3dir}/Data::Format::Pretty::Console.%{perl_man3ext}%{ext_man}
|
||||||
|
|
Reference in New Issue
Block a user