3 %bcond_without tests # do not perform "make test"
6 %define pnam Application-Plugin-TT
7 Summary: CGI::Application::Plugin::TT - Add Template Toolkit support to CGI::Application
8 Name: perl-CGI-Application-Plugin-TT
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/CGI/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 6e795c093a011cb701ab877deb0917a4
16 URL: http://search.cpan.org/dist/CGI-Application-Plugin-TT/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-CGI-Application >= 4.0
21 BuildRequires: perl-Template-Toolkit >= 2.0
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 CGI::Application::Plugin::TT adds support for the popular Template
28 Toolkit engine to your CGI::Application modules by providing several
29 helper methods that allow you to process template files from within
32 It compliments the support for HTML::Template that is built into
33 CGI::Application through the load_tmpl method. It also provides a few
34 extra features than just the ability to load a template.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
41 destdir=$RPM_BUILD_ROOT \
45 %{?with_tests:./Build test}
48 rm -rf $RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/CGI/Application/Plugin/*.pm
59 #%{perl_vendorlib}/CGI/Application/Plugin/TT