%global pkg_name HTML-Template-Compiled
%global pkg_version 0.90
%global rpm_pkg_version 0.90
%global rpm_pkg_release 1.n0i.22
Summary: Simple and fast templating module
Name: perl-%{pkg_name}
Version: %{rpm_pkg_version}
Release: %{rpm_pkg_release}%{?cpan_version}%{?dist}
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/%{pkg_name}/
Source0: http://www.cpan.org/authors/id/T/TI/TINITA/%{pkg_name}-%{pkg_version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: rpm-build-reb00t-perl
Provides: perl(HTML::Template::Compiled::Expression::Expressions)
%description
HTML::Template::Compiled (HTC) is a template system which uses the same
template syntax as HTML::Template and the same perl API. Internally it
works different, because it turns the template into perl code, and once
that is done, generating the output is much quicker (5 times) than with
HTML::Template (at least with my tests). It also can generate perl files so
that the next time the template is loaded it doesn't have to be parsed
again. The best performance gain is probably reached in applications
running under mod_perl,
%prep
%setup -q -n %{pkg_name}-%{pkg_version}
%{fix_perl_path examples/}
%build
%{perl_build}
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{perl_install}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{perl_files}
%doc Changes examples/ README
%changelog
* Fri Nov 16 2007 Marius Feraru - 0.90-1.n0i.22
- version 0.90
* Thu Nov 01 2007 Marius Feraru - 0.89-1.n0i.21
- version 0.89
- spec update (new reb00t build tools)
* Tue Sep 11 2007 Marius Feraru - 0.88-1.n0i.20
- version 0.88
* Wed Aug 01 2007 Marius Feraru - 0.87-1.n0i.19
- version 0.87
* Tue Jun 12 2007 Marius FERARU - 0.86-1.n0i.18
- version 0.86
* Tue May 22 2007 Marius Feraru - 0.85-1.n0i.17
- spec file (re)created using N0i::CPAN::RPMizer v1.14.7
- version 0.85
* Sat Jul 15 2006 Marius Feraru - 0.71-1.n0i.16
- version 0.71
* Sat Jul 08 2006 Marius Feraru - 0.70-1.n0i.15
- version 0.70
* Tue Jul 04 2006 Marius Feraru - 0.69-1.n0i.14
- version 0.69
* Wed Jun 28 2006 Marius Feraru - 0.68-1.n0i.13
- version 0.68
* Thu Jun 08 2006 Marius Feraru - 0.67-1.n0i.12
- version 0.67
* Sun Jun 04 2006 Marius Feraru - 0.66-1.n0i.11
- version 0.66
* Fri Jun 02 2006 Marius Feraru - 0.64-1.n0i.10
- version 0.64
* Tue May 02 2006 Marius Feraru - 0.63-1.n0i.9
- version 0.63
* Sat Mar 04 2006 Marius Feraru - 0.60-1.n0i.8
- version 0.60
* Thu Feb 02 2006 Marius Feraru 0.59-1.n0i.7
- version 0.59
* Wed Oct 12 2005 Marius Feraru 0.53-1.n0i.6
- version 0.53
* Thu Oct 06 2005 Marius Feraru 0.52-1.n0i.5
- version 0.52
* Wed Sep 21 2005 Marius Feraru 0.48-1.n0i.4
- version 0.48
* Fri Sep 09 2005 Marius Feraru 0.43-1.n0i.3
- version 0.43
* Tue Sep 06 2005 Marius Feraru 0.42-1.n0i.2
- version 0.42
* Fri Sep 02 2005 Marius Feraru 0.41-1.n0i.1
- spec file (re)created using N0i::CPAN::RPMizer/1.10
- rebuild on perl 5.8.7