1 |
jquelin |
15279 |
%define upstream_name Test-WWW-Selenium |
2 |
kharec |
214494 |
%define upstream_version 1.32 |
3 |
jquelin |
15279 |
|
4 |
|
|
Name: perl-%{upstream_name} |
5 |
|
|
Version: %perl_convert_version %{upstream_version} |
6 |
jquelin |
60367 |
Release: %mkrel 1 |
7 |
jquelin |
15279 |
|
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 |
jquelin |
107477 |
BuildRequires: perl(Carp) |
15 |
kharec |
214494 |
BuildRequires: perl(Data::Dumper) |
16 |
jquelin |
107477 |
BuildRequires: perl(Exporter) |
17 |
kharec |
179929 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 |
18 |
jquelin |
107477 |
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 |
jquelin |
15279 |
BuildRequires: perl(LWP::UserAgent) |
26 |
jquelin |
107477 |
BuildRequires: perl(Test::Builder) |
27 |
|
|
BuildRequires: perl(Test::Builder::Tester) |
28 |
jquelin |
15279 |
BuildRequires: perl(Test::Exception) |
29 |
|
|
BuildRequires: perl(Test::Mock::LWP) |
30 |
|
|
BuildRequires: perl(Test::More) |
31 |
jquelin |
107477 |
BuildRequires: perl(Time::HiRes) |
32 |
jquelin |
15279 |
BuildRequires: perl(URI::Escape) |
33 |
kharec |
179929 |
BuildRequires: perl(base) |
34 |
kharec |
214494 |
BuildRequires: perl(namespace::clean) |
35 |
kharec |
179929 |
BuildRequires: perl(strict) |
36 |
|
|
BuildRequires: perl(warnings) |
37 |
jquelin |
107477 |
BuildRequires: perl-libwww-perl |
38 |
jquelin |
60367 |
BuildArch: noarch |
39 |
jquelin |
15279 |
|
40 |
|
|
%description |
41 |
|
|
Selenium Remote Control (SRC) is a test tool that allows you to write |
42 |
|
|
automated web application UI tests in any programming language against any |
43 |
|
|
HTTP website using any mainstream JavaScript-enabled browser. SRC provides |
44 |
|
|
a Selenium Server, which can automatically start/stop/control any supported |
45 |
|
|
browser. It works by using Selenium Core, a pure-HTML+JS library that |
46 |
|
|
performs automated tasks in JavaScript; the Selenium Server communicates |
47 |
|
|
directly with the browser using AJAX (XmlHttpRequest). |
48 |
|
|
|
49 |
|
|
http://www.openqa.org/selenium-rc/ |
50 |
|
|
|
51 |
|
|
This module sends commands directly to the Server using simple HTTP |
52 |
|
|
GET/POST requests. Using this module together with the Selenium Server, you |
53 |
|
|
can automatically control any supported browser. |
54 |
|
|
|
55 |
|
|
%prep |
56 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
57 |
|
|
|
58 |
|
|
%build |
59 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
60 |
|
|
|
61 |
|
|
%{make} |
62 |
|
|
|
63 |
|
|
%check |
64 |
|
|
%{make} test |
65 |
|
|
|
66 |
|
|
%install |
67 |
|
|
%makeinstall_std |
68 |
|
|
|
69 |
|
|
%files |
70 |
kharec |
179929 |
%doc Changes META.json META.yml MYMETA.yml README |
71 |
jquelin |
15279 |
%{_mandir}/man3/* |
72 |
kharec |
214502 |
%perl_vendorlib/* |