9e19adb
Name:           perl-Template-GD
9e19adb
Version:        2.66
Petr Sabata 46af0ba
Release:        12%{?dist}
9e19adb
Summary:        GD plugin(s) for the Template Toolkit
9e19adb
Group:          Development/Libraries
4d6d51f
License:        GPL+ or Artistic
9e19adb
URL:            http://search.cpan.org/dist/Template-GD/
9e19adb
Source0:        http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-GD-%{version}.tar.gz
9e19adb
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9e19adb
9e19adb
BuildArch:      noarch
9e19adb
BuildRequires:  perl(GD::Graph3d), perl(GD::Graph), perl(GD::Text)
4d6d51f
BuildRequires:  perl(Template), perl(Test::More)
9e19adb
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
9e19adb
Requires:  perl(Template), perl(GD::Text), perl(GD::Graph), perl(GD::Graph3d)
9e19adb
9e19adb
%description
9e19adb
The Template-GD distribution provides a number of Template Toolkit
9e19adb
plugin modules to interface with Lincoln Stein's GD modules.  These in
9e19adb
turn provide an interface to Thomas Boutell's GD graphics library.
9e19adb
9e19adb
These plugins were distributed as part of the Template Toolkit until
9e19adb
version 2.15 released in February 2006.  At this time they were
9e19adb
extracted into this separate distribution.
9e19adb
9e19adb
%prep
9e19adb
%setup -q -n Template-GD-%{version}
9e19adb
9e19adb
%build
9e19adb
%{__perl} Makefile.PL INSTALLDIRS=vendor
9e19adb
make
9e19adb
9e19adb
%install
9e19adb
rm -rf $RPM_BUILD_ROOT _docs
9e19adb
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
9e19adb
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
9e19adb
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
9e19adb
chmod -R u+w $RPM_BUILD_ROOT/*
9e19adb
9e19adb
%check
9e19adb
make test
9e19adb
9e19adb
%clean
9e19adb
rm -rf $RPM_BUILD_ROOT
9e19adb
9e19adb
%files
9e19adb
%defattr(-,root,root,-)
9e19adb
%doc README
9e19adb
%{perl_vendorlib}/Template/
9e19adb
%{_mandir}/man3/*.3*
9e19adb
9e19adb
%changelog
Petr Sabata 46af0ba
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 2.66-12
Petr Sabata 46af0ba
- Perl mass rebuild
Petr Sabata 46af0ba
Petr Sabata 0b88e1f
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 2.66-11
Petr Sabata 0b88e1f
- Perl mass rebuild
Petr Sabata 0b88e1f
9b5cfc0
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.66-10
9b5cfc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9b5cfc0
65af03b
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.66-9
65af03b
- 661697 rebuild for fixing problems with vendorach/lib
65af03b
c3a3985
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.66-8
c3a3985
- Mass rebuild with perl-5.12.0
c3a3985
098f7bf
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.66-7
098f7bf
- rebuild against perl 5.10.1
098f7bf
1681506
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.66-6
1681506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1681506
baa934b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.66-5
baa934b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
baa934b
e33f41d
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.66-4
e33f41d
Rebuild for new perl
e33f41d
4d6d51f
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.66-3
4d6d51f
- license fix
4d6d51f
9e19adb
* Sun Apr  1 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.66-2
9e19adb
- cleanups
9e19adb
9e19adb
* Wed Feb 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.66-1
9e19adb
- Initial package for Fedora