commit f30531da7ee27b34acd5fbb8318b97b44c176bf07c90ac2b5aa7dc1d5ab23fa9 Author: Pascal Bleser Date: Thu Mar 3 21:23:34 2011 +0000 0.07 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Format-Pretty-Console?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Data-Format-Pretty-Console-0.07.tar.gz b/Data-Format-Pretty-Console-0.07.tar.gz new file mode 100644 index 0000000..2971afc --- /dev/null +++ b/Data-Format-Pretty-Console-0.07.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d2bedeb44ea5ab1f0da5dd5610fde98d6730d59e5458072d6671fdfd68eecee +size 14100 diff --git a/perl-Data-Format-Pretty-Console.changes b/perl-Data-Format-Pretty-Console.changes new file mode 100644 index 0000000..ec71891 --- /dev/null +++ b/perl-Data-Format-Pretty-Console.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Mar 03 21:22:38 CET 2011 - pascal.bleser@opensuse.org + +- initial version (0.07) + diff --git a/perl-Data-Format-Pretty-Console.spec b/perl-Data-Format-Pretty-Console.spec new file mode 100644 index 0000000..ce5480d --- /dev/null +++ b/perl-Data-Format-Pretty-Console.spec @@ -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} +