%define upstream_name Test-WWW-Selenium %define upstream_version 1.32 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(Carp) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 BuildRequires: perl(File::Find) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(FindBin) BuildRequires: perl(HTTP::Headers) BuildRequires: perl(HTTP::Request) BuildRequires: perl(IO::Socket) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Mock::LWP) BuildRequires: perl(Test::More) BuildRequires: perl(Time::HiRes) BuildRequires: perl(URI::Escape) BuildRequires: perl(base) BuildRequires: perl(namespace::clean) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl-libwww-perl 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 %makeinstall_std %files %doc Changes META.json META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/*