Hello community,
here is the log from the commit of package perl-Data-ShowTable for
openSUSE:Factory checked in at 2013-11-26 19:25:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Data-ShowTable (Old)
and /work/SRC/openSUSE:Factory/.perl-Data-ShowTable.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Data-ShowTable"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Data-ShowTable/perl-Data-ShowTable.changes
2011-09-23 12:36:44.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Data-ShowTable.new/perl-Data-ShowTable.changes
2013-11-26 19:25:05.000000000 +0100
@@ -1,0 +2,40 @@
+Tue Nov 26 07:35:34 UTC 2013 - [email protected]
+
+- updated to 4.5
+ Modified "ShowTable.pm":
+
+ Added "showmode" argument to ShowTableValue so it could handle HTML
+ embedded text correctly. ShowTableValue now uses a string substitution
+ "%s" for any values with embedded HTML tokens, even if defined as an
+ integer or real.
+
+ Changed how URLs work: now %K and %V are substituted into the URL
+ corresponding to the given field name key. No other insertions are
+ done, so the URL is completely specified by the user otherwise.
+
+ Added tableAttrs argument to ShowHTMLTable allowing other stuff to be
+ inserted within the TABLE token (ie: <TABLE $table_attrs>).
+
+ Changed the regexp in &PlainText to avoid the multiple null string
+ matches.
+
+ Changed htmltext to substitute blanks if the optional second argument
+ is non-null (which is used when creating URLs).
+
+ Allow column indexes, as well as column names, to be mapped to URLs.
+
+ Added %I (column index) key to the url substitutions.
+
+ Removed Sys::OutPut usage. Added "put" and "out" subs directly.
+
+ Fixed small documentation problems.
+
+ Modified "showtable":
+
+ Added -urls option to support URL mappings for fields.
+
+ Added -attributes option to support table_attributes argument.
+
+- remove obsolete Data-ShowTable-3.3.dif
+
+-------------------------------------------------------------------
Old:
----
Data-ShowTable-3.3.tar.bz2
New:
----
Data-ShowTable-4.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Data-ShowTable.spec ++++++
--- /var/tmp/diff_new_pack.r2D0Ss/_old 2013-11-26 19:25:06.000000000 +0100
+++ /var/tmp/diff_new_pack.r2D0Ss/_new 2013-11-26 19:25:06.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-ShowTable
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,62 +15,79 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: perl-Data-ShowTable
+Version: 4.5
+Release: 0
%define cpan_name Data-ShowTable
-Version: 3.3
-Release: 715
-Provides: Data-ShowTable
-AutoReqProv: on
-Group: Development/Libraries/Perl
+Summary: routines to display tabular data in several formats.
License: GPL-2.0+
-Summary: A Perl Module that allows Pretty-Printing of Data Arrays
-Url: http://search.cpan.org/perldoc?Data::ShowTable
-Source: %{cpan_name}-%{version}.tar.bz2
-Patch: %{cpan_name}-%{version}.dif
+Group: Development/Libraries/Perl
+Url: http://search.cpan.org/dist/Data-ShowTable/
+Source:
http://www.cpan.org/authors/id/A/AK/AKSTE/%{cpan_name}-%{version}.tar.gz
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
+#BuildRequires: perl(Data::ShowTable)
+#BuildRequires: perl(Sys::OutPut)
+%{perl_requires}
%description
-ShowTable.pm is a Perl 5 module which defines subroutines to print
-arrays of data in nicely formatted listings. It uses one of four
-possible formats: simple table, boxed table, list style, and
-HTML-formatting.
+The *ShowTable* module provides subroutines to display tabular data,
+typially from a database, in nicely formatted columns, in several formats.
+Its arguments can either be given in a fixed order, or, as a single,
+anonymous hash-array.
+
+The output format for any one invocation can be one of four possible
+styles:
+
+* Box
+ A tabular format, with the column titles and the entire table surrounded
+ by a "box" of "'+'", "'-'", and "'|'" characters. See the "ShowBoxTable"
+ manpage for details.
+* Table
-Authors:
---------
- Alan K. Stebbens <[email protected]>
+ A simple tabular format, with columns automatically aligned, with column
+ titles. See the "ShowSimpleTable" manpage.
+
+* List
+
+ A _list_ style, where columns of data are listed as a _name_:_value_
+ pair, one pair per line, with rows being one or more column values,
+ separated by an empty line. See the "ShowListTable" manpage.
+
+* HTML
+
+ The data is output as an HTML _TABLE_, suitable for display through a
+ _Web_-client. See the "ShowHTMLTable" manpage. Input can either be plain
+ ASCII text, or text with embedded HTML elements, depending upon an
+ argument or global parameter.
+
+The subroutines which perform these displays are listed below.
%prep
-%setup -n %{cpan_name}-%{version}
-%patch
+%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
+
+rm -f pm_to_blib
%build
-perl Makefile.PL
-make
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
%check
-make test
+%{__make} test
%install
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
+%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf
$RPM_BUILD_ROOT
-
-%files
-%defattr(-, root, root)
-%doc Changes Copyright README
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/Data
-%{perl_vendorarch}/auto/Data
-%{_bindir}/showtable
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc bump-version Changes Copyright gen-html gen-tests GNU-LICENSE MYMETA.json
MYMETA.yml README showtable testfile testfile.lst testfile.tabs test.pl.off
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]