%define pkg_name HTML-Template-Set %define pkg_version 1.009 %define rpm_pkg_version 1.009 %define rpm_pkg_release 7.n0i.7 Summary: HTML::Template extension adding set support 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/D/DJ/DJR/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(HTML::Template) >= 2.6} %description This module provides an extension to HTML::Template that allows params to be set in the template. This is purely an addition - all the normal HTML::Template options, syntax and behaviors will still work. %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 README %changelog * Tue May 22 2007 Marius Feraru - 1.009-7.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Sun Jul 24 2005 Marius Feraru 1.009-6.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.009-5.n0i.5 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:1.009-4.n0i.4 - automatic rebuild (perl 5.8.6) * Thu May 06 2004 Marius Feraru 0:1.009-3.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4)