Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37431978
en ru br
ALT Linux repos
S:0.62-alt1
5.0: 0.52-alt2
4.1: 0.52-alt1
4.0: 0.52-alt1

Group :: Development/Perl
RPM: perl-Text-Format

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#
#   - Text::Format -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       Text::Format
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Text-Format
%define m_distro Text-Format
%define m_name Text::Format
%define m_author_id GABOR
%define _enable_test 1

Name: perl-Text-Format
Version: 0.52
Release: alt1

Summary: Various subroutines to format text

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org//CPAN/authors/id/G/GA/GABOR/%m_distro%version.tar.gz

# Automatically added by buildreq on Sat Sep 10 2005

BuildRequires: perl-devel

%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
*Text::Wrap* allows.  I also have a module called *Text::NWrap* that
is meant as a direct replacement for *Text::Wrap*.  *Text::NWrap*
requires *Text::Format* since it uses *Text::Format->format* to do the
actual wrapping but gives you the interface of *Text::Wrap*.


%prep
%setup -q -n %m_distro%version
%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/*
%perl_vendor_man3dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin