%define pkg_name HTML-Template-Extension
%define pkg_version 0.26
%define rpm_pkg_version 0.26
%define rpm_pkg_release 1.n0i.4
Summary: Module support extension for HTML::Template
Name: perl-%{pkg_name}
Version: %{rpm_pkg_version}
Release: %{rpm_pkg_release}%{?cpan_version}%{?dist}
Group: Development/Libraries
License: Artistic
URL: http://search.cpan.org/dist/%{pkg_name}/
Source0: http://www.cpan.org/authors/id/E/EB/EBRUNI/%{pkg_name}-%{pkg_version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: reb00t-rpmdevtools
BuildRequires: perl(ExtUtils::MakeMaker)
%if %{!?_without_test:1}0
BuildRequires: perl(HTML::Parser)
BuildRequires: perl(HTML::Template) >= 2.1
%endif
Requires: perl(HTML::Template) >= 2.1
%description
This module extends HTML::Template to easily support methods and tags not
implemented in parent module. Piece of code needed to add new tags syntax and
new functionality are called plugins. All plugins can be dynamically loaded for
supporing needed syntax and functionality.
%prep
%setup -q -n %{pkg_name}-%{pkg_version}
%build
%{perl_build}
%{!?_without_test:%{__make} test}
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{perl_install}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{perl_files}
%doc Changes DISCLAIMER README TODO
%changelog
* Tue May 22 2007 Marius Feraru - 0.26-1.n0i.4
- spec file (re)created using N0i::CPAN::RPMizer v1.14.7
- version 0.26
* Sun Jul 24 2005 Marius Feraru - 0.25-1.n0i.3
- spec file (re)created using N0i::CPAN::RPMizer/1.01
- version 0.25
* Sun Mar 20 2005 Marius Feraru - 0.24-2.n0i.2
- automatic rebuild (perl 5.8.6)
* Mon Dec 06 2004 Marius Feraru - 0.24-1.n0i.1
- version 0.24
- spec file (re?)created using N0i::CPAN::RPMizer/2004083101