2011-01-17 16:21:59 +00:00
|
|
|
#
|
2012-02-10 12:27:16 +00:00
|
|
|
# spec file for package perl-Test-WWW-Mechanize
|
2011-01-17 16:21:59 +00:00
|
|
|
#
|
2022-05-11 16:34:29 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2011-01-17 16:21:59 +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-12-06 16:33:49 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-01-17 16:21:59 +00:00
|
|
|
#
|
|
|
|
|
2012-02-10 12:27:16 +00:00
|
|
|
|
2022-05-11 16:34:29 +00:00
|
|
|
%define cpan_name Test-WWW-Mechanize
|
2011-01-17 16:21:59 +00:00
|
|
|
Name: perl-Test-WWW-Mechanize
|
2022-12-13 16:02:39 +00:00
|
|
|
Version: 1.60
|
2012-02-10 12:27:16 +00:00
|
|
|
Release: 0
|
2013-06-04 17:14:31 +00:00
|
|
|
License: Artistic-2.0
|
2022-05-11 16:34:29 +00:00
|
|
|
Summary: Testing-specific WWW::Mechanize subclass
|
2020-12-11 10:51:19 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2018-04-20 13:46:03 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
|
2016-08-01 14:02:41 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:17:58 +02:00
|
|
|
Source100: README.md
|
2011-04-05 14:06:44 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2020-12-11 10:51:19 +00:00
|
|
|
BuildRequires: perl(Carp::Assert::More) >= 1.16
|
2018-04-20 13:46:03 +00:00
|
|
|
BuildRequires: perl(HTML::Form)
|
2016-08-01 14:02:41 +00:00
|
|
|
BuildRequires: perl(HTML::TokeParser)
|
2022-05-11 16:34:29 +00:00
|
|
|
BuildRequires: perl(HTTP::Message) >= 6.29
|
2011-01-17 16:21:59 +00:00
|
|
|
BuildRequires: perl(HTTP::Server::Simple) >= 0.42
|
|
|
|
BuildRequires: perl(HTTP::Server::Simple::CGI)
|
2012-02-10 12:27:16 +00:00
|
|
|
BuildRequires: perl(LWP) >= 6.02
|
|
|
|
BuildRequires: perl(Test::Builder::Tester) >= 1.09
|
|
|
|
BuildRequires: perl(Test::LongString) >= 0.15
|
2013-06-04 17:14:31 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2011-01-17 16:21:59 +00:00
|
|
|
BuildRequires: perl(URI::file)
|
2012-02-10 12:27:16 +00:00
|
|
|
BuildRequires: perl(WWW::Mechanize) >= 1.68
|
2016-08-01 14:02:41 +00:00
|
|
|
BuildRequires: perl(parent)
|
2020-12-11 10:51:19 +00:00
|
|
|
Requires: perl(Carp::Assert::More) >= 1.16
|
2018-04-20 13:46:03 +00:00
|
|
|
Requires: perl(HTML::Form)
|
2016-08-01 14:02:41 +00:00
|
|
|
Requires: perl(HTML::TokeParser)
|
2022-05-11 16:34:29 +00:00
|
|
|
Requires: perl(HTTP::Message) >= 6.29
|
2012-02-10 12:27:16 +00:00
|
|
|
Requires: perl(LWP) >= 6.02
|
|
|
|
Requires: perl(Test::LongString) >= 0.15
|
|
|
|
Requires: perl(WWW::Mechanize) >= 1.68
|
2016-08-01 14:02:41 +00:00
|
|
|
Requires: perl(parent)
|
2011-01-17 16:21:59 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2012-02-10 12:27:16 +00:00
|
|
|
Testing-specific WWW::Mechanize subclass
|
2011-01-17 16:21:59 +00:00
|
|
|
|
|
|
|
%prep
|
2022-05-11 16:34:29 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2011-01-17 16:21:59 +00:00
|
|
|
|
|
|
|
%build
|
2018-12-06 16:33:49 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2022-05-11 16:34:29 +00:00
|
|
|
%make_build
|
2011-01-17 16:21:59 +00:00
|
|
|
|
|
|
|
%check
|
2018-12-06 16:33:49 +00:00
|
|
|
make test
|
2011-01-17 16:21:59 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2013-06-04 17:14:31 +00:00
|
|
|
%doc Changes README.md
|
2011-01-17 16:21:59 +00:00
|
|
|
|
|
|
|
%changelog
|