1 |
jquelin |
15279 |
%define upstream_name Test-WWW-Selenium |
2 |
jquelin |
60367 |
%define upstream_version 1.24 |
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 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker) |
15 |
|
|
BuildRequires: perl(LWP::UserAgent) |
16 |
|
|
BuildRequires: perl-libwww-perl |
17 |
|
|
BuildRequires: perl(Test::Exception) |
18 |
|
|
BuildRequires: perl(Test::Mock::LWP) |
19 |
|
|
BuildRequires: perl(Test::More) |
20 |
|
|
BuildRequires: perl(Test::Pod) |
21 |
|
|
BuildRequires: perl(URI::Escape) |
22 |
jquelin |
60367 |
BuildArch: noarch |
23 |
jquelin |
15279 |
|
24 |
|
|
%description |
25 |
|
|
Selenium Remote Control (SRC) is a test tool that allows you to write |
26 |
|
|
automated web application UI tests in any programming language against any |
27 |
|
|
HTTP website using any mainstream JavaScript-enabled browser. SRC provides |
28 |
|
|
a Selenium Server, which can automatically start/stop/control any supported |
29 |
|
|
browser. It works by using Selenium Core, a pure-HTML+JS library that |
30 |
|
|
performs automated tasks in JavaScript; the Selenium Server communicates |
31 |
|
|
directly with the browser using AJAX (XmlHttpRequest). |
32 |
|
|
|
33 |
|
|
http://www.openqa.org/selenium-rc/ |
34 |
|
|
|
35 |
|
|
This module sends commands directly to the Server using simple HTTP |
36 |
|
|
GET/POST requests. Using this module together with the Selenium Server, you |
37 |
|
|
can automatically control any supported browser. |
38 |
|
|
|
39 |
|
|
%prep |
40 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
41 |
|
|
|
42 |
|
|
%build |
43 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
44 |
|
|
|
45 |
|
|
%{make} |
46 |
|
|
|
47 |
|
|
%check |
48 |
|
|
%{make} test |
49 |
|
|
|
50 |
|
|
%install |
51 |
|
|
rm -rf %buildroot |
52 |
|
|
%makeinstall_std |
53 |
|
|
|
54 |
|
|
%clean |
55 |
|
|
rm -rf %buildroot |
56 |
|
|
|
57 |
|
|
%files |
58 |
|
|
%defattr(-,root,root) |
59 |
|
|
%doc Changes README |
60 |
|
|
%{_mandir}/man3/* |
61 |
jquelin |
34311 |
%perl_vendorlib/* |