2015-02-13 19:59:21 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Selenium-Remote-Driver
|
|
|
|
#
|
2023-01-04 15:35:42 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-02-13 19:59:21 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-09-18 09:07:23 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-02-13 19:59:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-01-12 16:04:38 +00:00
|
|
|
%define cpan_name Selenium-Remote-Driver
|
2015-02-13 19:59:21 +00:00
|
|
|
Name: perl-Selenium-Remote-Driver
|
2023-04-20 12:42:49 +00:00
|
|
|
Version: 1.49
|
2015-02-13 19:59:21 +00:00
|
|
|
Release: 0
|
|
|
|
License: Apache-2.0
|
2022-05-11 16:24:14 +00:00
|
|
|
Summary: Perl Client for Selenium Remote Driver
|
2020-10-20 15:00:35 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2018-01-22 21:02:54 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TE/TEODESIAN/%{cpan_name}-%{version}.tar.gz
|
2017-01-09 12:06:31 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:17:01 +02:00
|
|
|
Source100: README.md
|
2017-01-09 12:06:31 +00:00
|
|
|
# MANUAL
|
|
|
|
#BuildArch: noarch
|
2015-02-13 19:59:21 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Archive::Zip)
|
2018-01-22 21:02:54 +00:00
|
|
|
BuildRequires: perl(Clone)
|
2017-01-09 12:06:31 +00:00
|
|
|
BuildRequires: perl(File::Which)
|
2015-02-13 19:59:21 +00:00
|
|
|
BuildRequires: perl(HTTP::Headers)
|
|
|
|
BuildRequires: perl(HTTP::Request)
|
|
|
|
BuildRequires: perl(HTTP::Response)
|
2017-01-09 12:06:31 +00:00
|
|
|
BuildRequires: perl(IO::String)
|
|
|
|
BuildRequires: perl(IO::Uncompress::Unzip) >= 2.030
|
2015-02-13 19:59:21 +00:00
|
|
|
BuildRequires: perl(JSON)
|
|
|
|
BuildRequires: perl(LWP::UserAgent)
|
2017-05-28 19:12:26 +00:00
|
|
|
BuildRequires: perl(List::Util) >= 1.33
|
2015-02-13 19:59:21 +00:00
|
|
|
BuildRequires: perl(Moo) >= 1.005
|
|
|
|
BuildRequires: perl(Moo::Role)
|
|
|
|
BuildRequires: perl(Sub::Install)
|
2018-01-22 21:02:54 +00:00
|
|
|
BuildRequires: perl(Test::Deep)
|
2015-02-13 19:59:21 +00:00
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
BuildRequires: perl(Test::LWP::UserAgent)
|
|
|
|
BuildRequires: perl(Test::LongString)
|
2021-10-26 12:46:49 +00:00
|
|
|
BuildRequires: perl(Test::MockModule) >= v0.13.0
|
2015-02-13 19:59:21 +00:00
|
|
|
BuildRequires: perl(Try::Tiny)
|
2017-01-09 12:06:31 +00:00
|
|
|
BuildRequires: perl(XML::Simple)
|
2015-02-13 19:59:21 +00:00
|
|
|
BuildRequires: perl(namespace::clean)
|
|
|
|
Requires: perl(Archive::Zip)
|
2018-01-22 21:02:54 +00:00
|
|
|
Requires: perl(Clone)
|
2017-01-09 12:06:31 +00:00
|
|
|
Requires: perl(File::Which)
|
2015-02-13 19:59:21 +00:00
|
|
|
Requires: perl(HTTP::Headers)
|
|
|
|
Requires: perl(HTTP::Request)
|
|
|
|
Requires: perl(HTTP::Response)
|
2017-01-09 12:06:31 +00:00
|
|
|
Requires: perl(IO::String)
|
|
|
|
Requires: perl(IO::Uncompress::Unzip) >= 2.030
|
2015-02-13 19:59:21 +00:00
|
|
|
Requires: perl(JSON)
|
|
|
|
Requires: perl(LWP::UserAgent)
|
2017-05-28 19:12:26 +00:00
|
|
|
Requires: perl(List::Util) >= 1.33
|
2015-02-13 19:59:21 +00:00
|
|
|
Requires: perl(Moo) >= 1.005
|
|
|
|
Requires: perl(Moo::Role)
|
|
|
|
Requires: perl(Sub::Install)
|
|
|
|
Requires: perl(Test::LongString)
|
|
|
|
Requires: perl(Try::Tiny)
|
2017-01-09 12:06:31 +00:00
|
|
|
Requires: perl(XML::Simple)
|
2015-02-13 19:59:21 +00:00
|
|
|
Requires: perl(namespace::clean)
|
|
|
|
%{perl_requires}
|
2019-06-14 09:00:36 +00:00
|
|
|
# MANUAL BEGIN
|
2019-01-24 17:19:46 +00:00
|
|
|
Requires: lsof
|
2019-06-14 09:00:36 +00:00
|
|
|
# MANUAL END
|
2015-02-13 19:59:21 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Selenium 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. This module is an implementation of
|
|
|
|
the client for the Remote driver that Selenium provides. You can find
|
|
|
|
bindings for other languages at this location:
|
|
|
|
|
2019-06-14 09:00:36 +00:00
|
|
|
https://www.seleniumhq.org/download/
|
2015-02-13 19:59:21 +00:00
|
|
|
|
|
|
|
This module sends commands directly to the Server using HTTP. Using this
|
|
|
|
module together with the Selenium Server, you can automatically control any
|
|
|
|
supported browser. To use this module, you need to have already downloaded
|
|
|
|
and started the Selenium Server (Selenium Server is a Java application).
|
|
|
|
|
|
|
|
%prep
|
2021-01-12 16:04:38 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2023-04-20 12:42:49 +00:00
|
|
|
|
2020-02-19 14:56:39 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2017-01-09 12:06:31 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
sed -i -e 's,!/bin/env perl,/usr/bin/perl,' driver-example.pl
|
|
|
|
# MANUAL END
|
2015-02-13 19:59:21 +00:00
|
|
|
|
|
|
|
%build
|
2019-01-15 06:50:04 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2021-01-12 16:04:38 +00:00
|
|
|
%make_build
|
2015-02-13 19:59:21 +00:00
|
|
|
|
|
|
|
%check
|
2019-01-15 06:50:04 +00:00
|
|
|
make test
|
2015-02-13 19:59:21 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2022-05-11 16:26:19 +00:00
|
|
|
%doc Changes README README.md TAGS
|
2018-01-22 21:02:54 +00:00
|
|
|
%license LICENSE
|
2015-02-13 19:59:21 +00:00
|
|
|
|
|
|
|
%changelog
|