rpms/perl-Text-Format/F-8 perl-Text-Format.spec, NONE, 1.1 sources, 1.1, 1.2
Xavier Bachelot (xavierb)
fedora-extras-commits at redhat.com
Fri Feb 1 22:59:02 UTC 2008
Author: xavierb
Update of /cvs/pkgs/rpms/perl-Text-Format/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29447/F-8
Modified Files:
sources
Added Files:
perl-Text-Format.spec
Log Message:
Import in F-8, EL-4 and EL-5 branches
--- NEW FILE perl-Text-Format.spec ---
Name: perl-Text-Format
Version: 0.52
Release: 1%{?dist}
Summary: Various subroutines to format text
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan/.org/dist/Text-Format/
Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GABOR/Text-Format%{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
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 modified. Text::Format is meant for more powerful text
formatting than Text::Wrap allows.
%prep
%setup -q -n Text-Format%{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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Fri Feb 01 2008 Xavier Bachelot <xavier at bachelot.org> - 0.52-1
- Initial build.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Text-Format/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Feb 2008 21:59:29 -0000 1.1
+++ sources 1 Feb 2008 22:58:25 -0000 1.2
@@ -0,0 +1 @@
+9b1936e65ee05d904bb329e32259814f Text-Format0.52.tar.gz
More information about the fedora-extras-commits
mailing list