Name: perl-Template-GD Version: 2.66 Release: 2%{?dist} Summary: GD plugin(s) for the Template Toolkit Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/Template-GD/ Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-GD-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(GD::Graph3d), perl(GD::Graph), perl(GD::Text) BuildRequires: perl(Template) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Template), perl(GD::Text), perl(GD::Graph), perl(GD::Graph3d) %description The Template-GD distribution provides a number of Template Toolkit plugin modules to interface with Lincoln Stein's GD modules. These in turn provide an interface to Thomas Boutell's GD graphics library. These plugins were distributed as part of the Template Toolkit until version 2.15 released in February 2006. At this time they were extracted into this separate distribution. %prep %setup -q -n Template-GD-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %install rm -rf $RPM_BUILD_ROOT _docs 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 README %{perl_vendorlib}/Template/ %{_mandir}/man3/*.3* %changelog * Sun Apr 1 2007 Tom "spot" Callaway - 2.66-2 - cleanups * Wed Feb 21 2007 Tom "spot" Callaway - 2.66-1 - Initial package for Fedora