Name: perl-Template-Toolkit Version: 2.22 Release: 1%{?dist} Summary: Template::Toolkit Perl module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Template-Toolkit/ Source0: http://www.cpan.org/modules/by-module/Template/Template-Toolkit-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(AppConfig) >= 1.56 Requires: perl(AppConfig) >= 1.56 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Please see the separate INSTALL file for further information on installing the Template Toolkit, including what to do if you don't have the CPAN module installed, and/or installation on MS Windows. %prep %setup -q -n Template-Toolkit-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 f -name '*.bs' -size 0 -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 Changes HACKING README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/Template* %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Thu Jul 23 2009 Dave Cross 2.22-1 - Specfile autogenerated by cpanspec 1.77.