Name: perl-Text-FormatTable Version: 1.03 Release: 3%{?dist} Summary: Format text tables License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-FormatTable/ Source0: http://www.cpan.org/authors/id/T/TR/TREY/Text-FormatTable-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Text::FormatTable renders simple tables as text. You pass to the constructor (new) a table format specification similar to LaTeX (e.g. r|l|5l|R|20L) and you call methods to fill the table data and insert rules. After the data is filled, you call the render method and the table gets formatted as text. %prep %setup -q -n Text-FormatTable-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri May 07 2010 Marcela Maslanova - 1.03-3 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 1.03-2 - rebuild against perl 5.10.1 * Tue Sep 15 2009 Emmanuel Seyman 1.03-1 - Specfile autogenerated by cpanspec 1.78.