8
0
Pascal Bleser
2011-05-17 08:13:52 +00:00
committed by Git OBS Bridge
parent cb2087afa5
commit ef44605aa7
4 changed files with 28 additions and 22 deletions

View File

@@ -1,59 +1,58 @@
# vim: set sw=4 ts=4 et nu:
# norootforbuild
Name: perl-Text-Table
Version: 1.116
Version: 1.120
Release: 0
Summary: Organize Data in Tables
Source: http://search.cpan.org/CPAN/authors/id/A/AN/ANNO/Text-Table-%{version}.tar.gz
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: Perl License
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Module::Build) >= 0.36
BuildRequires: perl(warnings)
BuildRequires: perl(strict)
BuildRequires: perl(Text::Aligner) >= 0.05
Requires: perl(Test::More)
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
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}}
%__perl ./Build.PL
./Build
%install
%perl_make_install
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
%perl_process_packlist
%check
%__make test
./Build test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README
%doc Changes README LICENSE
%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}