update to 0.62 [release 0.62-1mamba;Mon Jan 10 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 09:48:06 +01:00
parent 65da76968e
commit 76c27dd392

View File

@ -1,28 +1,26 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Text-Format Name: perl-Text-Format
Version: 0.52 Version: 0.62
Release: 3mamba Release: 1mamba
Summary: Text::Format - Various subroutines to format text. Summary: Text::Format - Various subroutines to format text.
Group: System/Libraries/Perl Group: System/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org URL: https://www.cpan.org/
Source: http://search.cpan.org/CPAN/authors/id/G/GA/GABOR/Text-Format%{version}.tar.gz Source: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Text-Format-%{version}.tar.gz
License: Artistic, GPL License: Artistic, GPL
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel >= %perl_major_ver BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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 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 %prep
%setup -q -n Text-Format-%{version}
%setup -q -n Text-Format%{version}
%build %build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
@ -50,6 +48,9 @@ rm -f .packlist
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.62-1mamba
- update to 0.62
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.52-3mamba * Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.52-3mamba
- perl 5.16 mass rebuild - perl 5.16 mass rebuild