Name: perl-Text-Wrapper Version: 1.01 Release: 2%{?dist} Summary: Simple word wrapping perl module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-Wrapper/ Source0: http://www.cpan.org/modules/by-module/Text/Text-Wrapper-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(Module::Build::Compat) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch %description This module provides simple word wrapping. It breaks long lines, but does not alter spacing or remove existing line breaks. If you're looking for more sophisticated text formatting, try the Text::Format module. %prep %setup -q -n Text-Wrapper-%{version} sed -i -e 's,^\([[:blank:]]*PREOP\),#\1,' Makefile.PL %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 -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %clean rm -rf $RPM_BUILD_ROOT %check make test %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Text %{_mandir}/man3/* %changelog * Thu Aug 30 2007 Ralf Corsépius - 1.01-2 - BR: perl(Test::More). - Update License tag. * Mon Mar 27 2007 Ralf Corsépius - 1.01-1 - Upstream update. - BR: perl(Module::Build::Compat). * Tue Sep 05 2006 Ralf Corsépius - 1.000-4 - Mass rebuild. * Tue Feb 28 2006 Ralf Corsépius - 1.000-3 - Rebuild for perl-5.8.8. * Mon Aug 22 2005 Ralf Corsepius - 1.000-2 - Spec cleanup. * Thu Aug 18 2005 Ralf Corsepius - 1.000-1 - FE submission.