Sophie

Sophie

distrib > Mandriva > mes5 > i586 > by-pkgid > fd94933ffb5b4c9f5acb3edf2f06a775 > files > 3

perl-Catalyst-View-TT-0.27-2mdv2009.0.src.rpm

%define module Catalyst-View-TT
%define name	perl-%{module}
%define	modprefix Catalyst
%define version	0.27
%define release	%mkrel 2

Summary:	Catalyst TT View Class
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	Artistic/GPL
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{module}/
Source:		ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{modprefix}/%{module}-%{version}.tar.bz2
# This patch done originally by rgs allow to specify the Template class to use
# Need for compatibility with CS4 for fibric
Patch0:     Catalyst-View-TT-template_class.patch
BuildRequires:	perl-Catalyst >= 5.50
BuildRequires:	perl(Path::Class)
BuildRequires:	perl(Template)
BuildRequires:	perl(Template::Timer)
BuildRequires:  perl(Template::Provider::Encoding)
BuildArch:	noarch
Buildroot:	%{_tmppath}/%{name}-%{version}

%description
This is the Catalyst view class for the Template Toolkit. Your application
should defined a view class which is a subclass of this module. The easiest way
to achieve this is using the myapp_create.pl script (where myapp should be
replaced with whatever your application is called). This script is created as
part of the Catalyst setup.

%prep
%setup -q -n %{module}-%{version}
%patch0 -p0

%build
%__perl Makefile.PL INSTALLDIRS=vendor
%__make

%check
%__make test

%install
rm -rf %{buildroot}
%makeinstall_std

%files
%defattr(-,root,root)
%doc README Changes
%{perl_vendorlib}/%{modprefix}
%{_mandir}/*/*

%clean
rm -rf %{buildroot}



%changelog
* Tue Jun 17 2008 Olivier Thauvin <nanardon@mandriva.org> 0.27-2mdv2009.0
+ Revision: 222183
- resurect template_class patch done by rgs
- yet another buildrequires for tests

* Sat May 24 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.27-1mdv2009.0
+ Revision: 210859
- new version

* Thu Jan 17 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.26-1mdv2008.1
+ Revision: 153976
- update to new version 0.26

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Mon Jul 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.25-1mdv2008.0
+ Revision: 47033
- update to new version 0.25


* Mon May 29 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.23-2mdv2007.0
- Patch 0: allow to override the internal template class

* Sat May 27 2006 Scott Karns <scottk@mandriva.org> 0.23-1mdv2007.0
- 0.23

* Fri May 05 2006 Scott Karns <scottk@mandriva.org> 0.22-3mdk
- Update BuildRequires
- Updated to comply with Mandriva perl packaging policy

* Mon Mar 06 2006 Buchan Milne <bgmilne@mandriva.org> 0.22-2mdk
- BuildRequire newer Catalyst (ease backport)

* Fri Jan 27 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.22-1mdk
- 0.22

* Tue Jan 03 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.21-1mdk
- 0.21

* Fri Dec 16 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.20-1mdk
- Initial MDV RPM