%define realname Test-WWW-Mechanize-Catalyst %define name perl-%{realname} %define version 0.41 %define release %mkrel 1 Summary: Test::WWW::Mechanize for Catalyst Name: %{name} Version: %{version} Release: %{release} License: Artistic/GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{realname}/ Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Test/%{realname}-%{version}.tar.bz2 BuildRequires: perl(Catalyst) >= 5.00 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: perl(Test::WWW::Mechanize) >= 1.04 BuildRequires: perl(Test::Exception) BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{release} %description Catalyst is an elegant MVC Web Application Framework. Test::WWW::Mechanize is a subclass of WWW::Mechanize that incorporates features for web application testing. The Test::WWW::Mechanize::Catalyst module meshes the two to allow easy testing of Catalyst applications without starting up a web server. %prep %setup -q -n %{realname}-%{version} %build %__perl Makefile.PL installdirs=vendor %make %check make test %install rm -rf %{buildroot} %makeinstall_std %files %defattr(-,root,root) %doc CHANGES README %{_mandir}/*/* %{perl_vendorlib}/Test %clean rm -rf %{buildroot} %changelog * Sat Oct 13 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.41-1mdv2008.1 + Revision: 97971 - update to new version 0.41 * Sat Sep 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.40-1mdv2008.0 + Revision: 77703 - new version * Wed Jul 04 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.38-1mdv2008.0 + Revision: 47739 - update to new version 0.38 * Wed Jun 14 2006 Scott Karns <scottk@mandriva.org> 0.37-1mdv2007.0 - Version 0.37 * Mon May 08 2006 Scott Karns <scottk@mandriva.org> 0.36-1mdk - First Mandriva release