# vim: set sw=4 ts=4 et nu: Name: perl-Text-Table Version: 1.124 Release: 0 Summary: Organize Data in Tables Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Text-Table-%{version}.tar.gz URL: http://search.cpan.org/dist/Text-Table Group: Development/Libraries/Perl License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) BuildRoot: %{_tmppath}/build-%{name}-%{version} %{perl_requires} BuildRequires: perl-macros BuildRequires: perl(Test::More) BuildRequires: perl(Module::Build) >= 0.36 BuildRequires: perl(warnings) BuildRequires: perl(strict) BuildRequires: perl(Text::Aligner) >= 0.05 Requires: perl(warnings) Requires: perl(strict) Requires: perl(Text::Aligner) >= 0.05 %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description Organization of data in table form is a time-honored and useful method of data representation. While columns of data are trivially generated by computer through formatted output, even simple tasks like keeping titles aligned with the data columns are not trivial, and the one-shot solutions one comes up with tend to be particularly hard to maintain. Text::Table allows you to create and maintain tables that adapt to alignment requirements as you use them. %prep %setup -q -n "Text-Table-%{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 Changes README LICENSE %dir %{perl_vendorlib}/Text %{perl_vendorlib}/Text/Table.pm %doc %{perl_man3dir}/Text::Table.%{perl_man3ext}%{ext_man}