%define name libhtml-template-perl %define ver 2.5 %define subver 2 %define version %{ver}.%{subver} %define release 2mdk Summary: Making HTML template for perl script Name: %{name} Version: %{version} Release: %{release} Source0: http://ftp.debian.org/debian/pool/main/libh/libhtml-template-perl/%{name}_%{ver}-%{subver}.tar.bz2 License: GPL or Artistic Group: Development/Perl BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Url: http://packages.debian.org/unstable/interpreters/libhtml-template-perl.html BuildRequires: perl-devel Requires: perl Buildarch: noarch %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 -q -n %{name}-%{ver} chmod 644 ANNOUNCE MANIFEST README %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ANNOUNCE MANIFEST README %{perl_vendorlib}/*/* %{_mandir}/*/* %changelog * Fri Dec 27 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 2.5.2-2mdk - rebuild for rpm and glibc * Tue Aug 27 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 2.5.2-1mdk - 1st mdk package