Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > f83e1bd0338d7f9faa4c34b70e2dec38 > files > 2

perl-Test-WWW-Selenium-1.240.0-1.mga1.src.rpm

%define upstream_name    Test-WWW-Selenium
%define upstream_version 1.24

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Test applications using Selenium Remote Control
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl-libwww-perl
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Mock::LWP)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(URI::Escape)
BuildArch:  noarch

%description
Selenium Remote Control (SRC) is a test tool that allows you to write
automated web application UI tests in any programming language against any
HTTP website using any mainstream JavaScript-enabled browser. SRC provides
a Selenium Server, which can automatically start/stop/control any supported
browser. It works by using Selenium Core, a pure-HTML+JS library that
performs automated tasks in JavaScript; the Selenium Server communicates
directly with the browser using AJAX (XmlHttpRequest).

http://www.openqa.org/selenium-rc/

This module sends commands directly to the Server using simple HTTP
GET/POST requests. Using this module together with the Selenium Server, you
can automatically control any supported browser.

%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 README
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog
* Sat Feb 26 2011 jquelin <jquelin> 1.240.0-1.mga1
+ Revision: 60367
- update to 1.24

* Sun Jan 23 2011 jquelin <jquelin> 1.230.0-2.mga1
+ Revision: 34311
- mageia rebuild
- imported package perl-Test-WWW-Selenium


* Sat Dec 25 2010 Shlomi Fish <shlomif@mandriva.org> 1.230.0-2mdv2011.0
+ Revision: 624834
- Add libwww-perl to the dependencies explicitly
- import perl-Test-WWW-Selenium