%define upstream_name Test-WWW-Mechanize-Catalyst %define upstream_version 0.53 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Test::WWW::Mechanize for Catalyst License: Artistic/GPL Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name}/ Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Catalyst) >= 5.0.0 BuildRequires: perl(Catalyst::Plugin::Session::State::Cookie) BuildRequires: perl(Catalyst::Plugin::Session::Store::Dummy) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.420.0 BuildRequires: perl(LWP) >= 5.816.0 BuildRequires: perl(Moose) >= 0.670.0 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Test::WWW::Mechanize) >= 1.140.0 BuildRequires: perl(WWW::Mechanize) >= 1.540.0 BuildRequires: perl(namespace::clean) >= 0.90.0 BuildArch: noarch %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 %{upstream_name}-%{upstream_version} %build %__perl Makefile.PL installdirs=vendor %make %check %make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES META.yml README %{_mandir}/*/* %{perl_vendorlib}/Test %changelog * Tue Feb 22 2011 jquelin <jquelin> 0.530.0-1.mga1 + Revision: 56842 - update to 0.53 * Wed Jan 26 2011 jquelin <jquelin> 0.520.0-1.mga1 + Revision: 41286 - mageia rebuild - imported package perl-Test-WWW-Mechanize-Catalyst