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