2745d18
Name:           perl-CGI-FastTemplate
2745d18
Version:        1.09
2745d18
Release:        3%{?dist}
2745d18
Summary:        Perl extension for managing templates and performing variable interpolation
2745d18
2745d18
Group:          Development/Libraries
2745d18
License:        GPL or Artistic
2745d18
URL:            http://search.cpan.org/dist/CGI-FastTemplate/
2745d18
Source0:        http://search.cpan.org/CPAN/authors/id/J/JM/JMOORE/CGI-FastTemplate-1.09.tar.gz
2745d18
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2745d18
2745d18
BuildArch:      noarch
2745d18
BuildRequires:  perl(ExtUtils::MakeMaker)
2745d18
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
2745d18
2745d18
%description
2745d18
CGI::FastTemplate manages templates and parses templates replacing
2745d18
variable names with values.  It was designed for mid to large scale web
2745d18
applications (CGI, mod_perl) where there are great benefits to separating
2745d18
the logic of an application from the specific implementation details.
2745d18
2745d18
%prep
2745d18
%setup -q -n CGI-FastTemplate-%{version}
2745d18
2745d18
%build
2745d18
%{__perl} Makefile.PL INSTALLDIRS=vendor
2745d18
make %{?_smp_mflags}
2745d18
2745d18
%install
2745d18
rm -rf $RPM_BUILD_ROOT
2745d18
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
2745d18
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
2745d18
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
2745d18
chmod -R u+w $RPM_BUILD_ROOT/*
2745d18
2745d18
%check
2745d18
make test
2745d18
2745d18
%clean
2745d18
rm -rf $RPM_BUILD_ROOT
2745d18
2745d18
%files
2745d18
%defattr(-,root,root,-)
2745d18
%doc README
2745d18
%{perl_vendorlib}/*
2745d18
%{_mandir}/man3/*.3*
2745d18
2745d18
%changelog
2745d18
* Fri Jun 15 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.09-3
2745d18
- Fix grammar in summary.
2745d18
2745d18
* Fri Jun 15 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.09-2
2745d18
- Remove perl and perl-devel BR, BR perl(ExtUtils::MakeMaker)
2745d18
- Fix license.
2745d18
2745d18
* Fri Jun  1 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.09-1
2745d18
- First version for Fedora
2745d18