%define module HTML-Template %define name perl-%{module} %define version 2.7 %define release 1mdk %define pdir HTML Summary: %{module} module for perl Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/search?dist=%{module} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel %description %{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 separate design - the HTML - from the data, which you generate in the Perl script. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install rm -rf $RPM_BUILD_ROOT %{makeinstall_std} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(444,root,root,755) %doc ANNOUNCE ARTISTIC Changes FAQ README %{perl_vendorlib}/HTML/* %{_mandir}/*/* %changelog * Thu Jul 08 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.7-1mdk - 2.7 - drop redundant requires * Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.6-5mdk - rebuild for new perl - drop $RPM_OPT_FLAGS - rm -rf $RPM_BUILD_ROOT in %%install, not %%build - use %%makeinstall_std macro * Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.6-4mdk - rebuild for new auto{prov,req} * Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.6-3mdk - rebuild * Thu Oct 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.6-2mdk - from Peter Chen <petechen@netilla.com> : - Minor fix in spec file and source permission to appease rpmlint. * Wed Oct 23 2002 Peter Chen <petechen@netilla.com> 2.6-1mdk - 2.6 - First packaging.