Group :: Development/Perl
RPM: perl-Text-Format
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define dist Text-Format
Name: perl-%dist
Version: 0.60
Release: alt1
Summary: Various subroutines to format text
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Text-Format-%{version}.tar.gz
BuildArch: noarch
# Automatically added by buildreq on Mon Apr 25 2011
BuildRequires: perl-Module-Build
%description
The format routine will format under all circumstances even if the width
isn't enough to contain the longest words. Text::Wrap will die under
these circumstances, although I am told this is fixed. If columns is
set to a small number and words are longer than that and the leading
'whitespace' than there will be a single word on each line. This will
let you make a simple word list which could be indented or right
aligned. There is a chance for croaking if you try to subvert the
module. If you don't pass in text then the internal text is worked on,
though not modfied. Text::Format is meant for more powerful text
formatting than what Text::Wrap allows.
%prep
%setup -q -n %dist-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes
%perl_vendor_privlib/Text
%changelog
…
Full changelog you can see here
%define dist Text-Format
Name: perl-%dist
Version: 0.60
Release: alt1
Summary: Various subroutines to format text
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Text-Format-%{version}.tar.gz
BuildArch: noarch
# Automatically added by buildreq on Mon Apr 25 2011
BuildRequires: perl-Module-Build
%description
The format routine will format under all circumstances even if the width
isn't enough to contain the longest words. Text::Wrap will die under
these circumstances, although I am told this is fixed. If columns is
set to a small number and words are longer than that and the leading
'whitespace' than there will be a single word on each line. This will
let you make a simple word list which could be indented or right
aligned. There is a chance for croaking if you try to subvert the
module. If you don't pass in text then the internal text is worked on,
though not modfied. Text::Format is meant for more powerful text
formatting than what Text::Wrap allows.
%prep
%setup -q -n %dist-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes
%perl_vendor_privlib/Text
%changelog
…
Full changelog you can see here