1 |
%define upstream_name Test-WWW-Selenium |
2 |
%define upstream_version 1.31 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 1 |
7 |
|
8 |
Summary: Test applications using Selenium Remote Control |
9 |
License: GPL+ or Artistic |
10 |
Group: Development/Perl |
11 |
Url: http://search.cpan.org/dist/%{upstream_name} |
12 |
Source0: http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
|
14 |
BuildRequires: perl(Carp) |
15 |
BuildRequires: perl(Devel::REPL) |
16 |
BuildRequires: perl(Exporter) |
17 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 |
18 |
BuildRequires: perl(File::Find) |
19 |
BuildRequires: perl(File::Spec) |
20 |
BuildRequires: perl(File::Temp) |
21 |
BuildRequires: perl(FindBin) |
22 |
BuildRequires: perl(HTTP::Headers) |
23 |
BuildRequires: perl(HTTP::Request) |
24 |
BuildRequires: perl(IO::Socket) |
25 |
BuildRequires: perl(LWP::UserAgent) |
26 |
BuildRequires: perl(Test::Builder) |
27 |
BuildRequires: perl(Test::Builder::Tester) |
28 |
BuildRequires: perl(Test::Exception) |
29 |
BuildRequires: perl(Test::Mock::LWP) |
30 |
BuildRequires: perl(Test::More) |
31 |
BuildRequires: perl(Time::HiRes) |
32 |
BuildRequires: perl(URI::Escape) |
33 |
BuildRequires: perl(base) |
34 |
BuildRequires: perl(strict) |
35 |
BuildRequires: perl(warnings) |
36 |
BuildRequires: perl-libwww-perl |
37 |
BuildArch: noarch |
38 |
|
39 |
%description |
40 |
Selenium Remote Control (SRC) is a test tool that allows you to write |
41 |
automated web application UI tests in any programming language against any |
42 |
HTTP website using any mainstream JavaScript-enabled browser. SRC provides |
43 |
a Selenium Server, which can automatically start/stop/control any supported |
44 |
browser. It works by using Selenium Core, a pure-HTML+JS library that |
45 |
performs automated tasks in JavaScript; the Selenium Server communicates |
46 |
directly with the browser using AJAX (XmlHttpRequest). |
47 |
|
48 |
http://www.openqa.org/selenium-rc/ |
49 |
|
50 |
This module sends commands directly to the Server using simple HTTP |
51 |
GET/POST requests. Using this module together with the Selenium Server, you |
52 |
can automatically control any supported browser. |
53 |
|
54 |
%prep |
55 |
%setup -q -n %{upstream_name}-%{upstream_version} |
56 |
|
57 |
%build |
58 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
59 |
|
60 |
%{make} |
61 |
|
62 |
%check |
63 |
%{make} test |
64 |
|
65 |
%install |
66 |
%makeinstall_std |
67 |
|
68 |
%files |
69 |
%doc Changes META.json META.yml MYMETA.yml README |
70 |
%{_mandir}/man3/* |
71 |
%perl_vendorlib/* |