%define modname HTML-Template %define modver 2.9 Summary: Perl module to use HTML Templates from CGI scripts Name: perl-%{modname} Version: %perl_convert_version %{modver} Release: 16 License: GPLv2+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{modname} Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SAMTREGAR/%{modname}-%{modver}.tar.bz2 BuildArch: noarch BuildRequires: perl(Test::More) BuildRequires: perl-devel BuildRequires: perl(CGI) %description This module attempts make using HTML templates simple and natural. It extends standard HTML with a few new HTML-esque tags - , , , and . The file written with HTML and these new tags is called a template. It is usually saved separate from your script - possibly even created by someone else! Using this module you fill in the values for the variables, loops and branches declared in the template. This allows you to separate design - the HTML - from the data, which you generate in the Perl script. %prep %setup -qn %{modname}-%{modver} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc ANNOUNCE ARTISTIC Changes FAQ README %{perl_vendorlib}/HTML %{_mandir}/man3/*