# vim: set sw=4 ts=4 et nu: # norootforbuild Name: perl-Text-Table Version: 1.116 Release: 0 Summary: Organize Data in Tables Source: http://search.cpan.org/CPAN/authors/id/A/AN/ANNO/Text-Table-%{version}.tar.gz URL: http://search.cpan.org/dist/Text-Table Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} %{perl_requires} BuildRequires: perl BuildRequires: make BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Aligner) >= 0.05 Requires: perl(Test::More) Requires: perl(Text::Aligner) >= 0.05 %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}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes README %dir %{perl_vendorlib}/Text %{perl_vendorlib}/Text/Table.pm %dir %{perl_vendorarch}/auto/Text %{perl_vendorarch}/auto/Text/Table %doc %{perl_man3dir}/Text::Table.%{perl_man3ext}%{ext_man}