59473f7
Name:           perl-Template-Tiny
933c251
Version:        1.12
c17e13c
Release:        2%{?dist}
fa46709
Summary:        Template Toolkit re-implemented in as little code as possible
59473f7
License:        GPL+ or Artistic
59473f7
Group:          Development/Libraries
59473f7
URL:            http://search.cpan.org/dist/Template-Tiny/
59473f7
Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Template-Tiny-%{version}.tar.gz
59473f7
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
59473f7
BuildArch:      noarch
fa46709
BuildRequires:  perl(Capture::Tiny) >= 0.07
59473f7
BuildRequires:  perl(ExtUtils::MakeMaker)
59473f7
BuildRequires:  perl(Test::More) >= 0.47
59473f7
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
59473f7
59473f7
%description
59473f7
WARNING: THIS MODULE IS EXPERIMENTAL AND SUBJECT TO CHANGE WITHOUT NOTICE
fa46709
Template::Tiny is a re-implementation of a partial subset of the Template 
59473f7
Toolkit,  in as few lines of code as possible. It is intended for use in 
fa46709
light-usage, low-memory, or low-CPU templating situations, where you may 
59473f7
need to upgrade to the full feature set in the future, or if you want the 
59473f7
familiarity of TT-style templates. It is intended to have fully-compatible 
59473f7
template and stash usage, with a limited by similar Perl API. Unlike 
59473f7
Template Toolkit, Template::Tiny will process templates without a compile 
59473f7
phase (but despite this is still quicker, owing to heavy use of the Perl 
59473f7
regular expression engine.
59473f7
59473f7
%prep
59473f7
%setup -q -n Template-Tiny-%{version}
59473f7
59473f7
%build
59473f7
%{__perl} Makefile.PL INSTALLDIRS=vendor
59473f7
make %{?_smp_mflags}
59473f7
59473f7
%install
59473f7
rm -rf $RPM_BUILD_ROOT
59473f7
59473f7
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
59473f7
59473f7
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
59473f7
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
59473f7
59473f7
%{_fixperms} $RPM_BUILD_ROOT/*
59473f7
59473f7
%check
59473f7
make test
59473f7
59473f7
%clean
59473f7
rm -rf $RPM_BUILD_ROOT
59473f7
59473f7
%files
59473f7
%defattr(-,root,root,-)
59473f7
%doc Changes LICENSE README
59473f7
%{perl_vendorlib}/*
59473f7
%{_mandir}/man3/*
59473f7
59473f7
%changelog
c17e13c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
c17e13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c17e13c
933c251
* Fri Aug 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.12-1
933c251
- update to stable release
933c251
52bdee2
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-4
52bdee2
- Perl mass rebuild
52bdee2
aced8bf
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
aced8bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aced8bf
c56f84b
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11-2
c56f84b
- 661697 rebuild for fixing problems with vendorach/lib
c56f84b
fa46709
* Tue Jun  1 2010 Petr Pisar <ppisar@redhat.com> - 0.11-1
fa46709
- 0.11 bump
fa46709
- Fix spelling in summary and description
fa46709
3baab13
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.10-2
3baab13
- Mass rebuild with perl-5.12.0
3baab13
59473f7
* Mon Feb 01 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.10-1
59473f7
- fix problems, update
59473f7
59473f7
* Wed Dec 23 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.09-1
59473f7
- Specfile autogenerated by cpanspec 1.78.
59473f7