Group :: Development/Perl
RPM: perl-HTML-Template
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define dist HTML-Template
Name: perl-%dist
Version: 2.8
Release: alt1
Summary: Perl module to use HTML Templates from CGI scripts
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
BuildArch: noarch
# in eval
Requires: perl-Storable
# Added by buildreq2 on Fri Aug 11 2006
BuildRequires: perl-CGI perl-Storable perl-devel
%description
This module attempts make using HTML templates simple and natural. It
extends standard HTML with a few new HTML-esque tags - <TMPL_VAR>,
<TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF> and <TMPL_ELSE>. 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 seperate design - the HTML - from the data, which you generate
in the Perl script.
%prep
%setup -q -n %dist-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README Changes FAQ ANNOUNCE scripts templates
%perl_vendor_privlib/HTML*
%changelog
…
Full changelog you can see here
Name: perl-%dist
Version: 2.8
Release: alt1
Summary: Perl module to use HTML Templates from CGI scripts
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
BuildArch: noarch
# in eval
Requires: perl-Storable
# Added by buildreq2 on Fri Aug 11 2006
BuildRequires: perl-CGI perl-Storable perl-devel
%description
This module attempts make using HTML templates simple and natural. It
extends standard HTML with a few new HTML-esque tags - <TMPL_VAR>,
<TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF> and <TMPL_ELSE>. 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 seperate design - the HTML - from the data, which you generate
in the Perl script.
%prep
%setup -q -n %dist-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README Changes FAQ ANNOUNCE scripts templates
%perl_vendor_privlib/HTML*
%changelog
…
Full changelog you can see here