Name: perl-Template-Plugin-Autoformat Version: 2.71 Release: 1%{?dist} Summary: Interface to Text::Autoformat module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Template-Plugin-Autoformat/ Source0: http://www.cpan.org/authors/id/A/AB/ABW/Template-Plugin-Autoformat-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Template) >= 2.2 BuildRequires: perl(Text::Autoformat) >= 1.13 Requires: perl(Template) >= 2.2 Requires: perl(Text::Autoformat) >= 1.13 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This Template Toolkit plugin module is an interface to Damian Conway's Text::Autoformat Perl module which provides advanced text wrapping and formatting. %prep %setup -q -n Template-Plugin-Autoformat-%{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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jun 25 2011 Dave Cross 2.71-1 - Specfile autogenerated by cpanspec 1.78.