Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-WWW-Mechanize-Pluggable
perl-WWW-Mechanize-Pluggable.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-WWW-Mechanize-Pluggable.spec of Package perl-WWW-Mechanize-Pluggable
# # spec file for package perl-WWW-Mechanize-Pluggable # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-WWW-Mechanize-Pluggable Version: 1.14 Release: 0 %define cpan_name WWW-Mechanize-Pluggable Summary: WWW::Mechanize that's custmomizable via plugins License: GPL-1.0-or-later OR Artistic-1.0 Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MC/MCMAHON/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Dump::Streamer) BuildRequires: perl(HTML::Form) >= 1.038 BuildRequires: perl(HTML::HeadParser) BuildRequires: perl(HTML::TokeParser) >= 2.28 BuildRequires: perl(HTTP::Cookies) BuildRequires: perl(HTTP::Daemon) BuildRequires: perl(HTTP::Request) >= 1.3 BuildRequires: perl(HTTP::Status) BuildRequires: perl(LWP) >= 6 BuildRequires: perl(LWP::UserAgent) >= 2.024 BuildRequires: perl(Module::Pluggable) BuildRequires: perl(Test::Exception) >= 0.200000 BuildRequires: perl(URI) >= 1.25 BuildRequires: perl(URI::URL) BuildRequires: perl(URI::file) BuildRequires: perl(WWW::Mechanize) >= 1.66 Requires: perl(Data::Dump::Streamer) Requires: perl(HTML::Form) >= 1.038 Requires: perl(HTML::HeadParser) Requires: perl(HTML::TokeParser) >= 2.28 Requires: perl(HTTP::Cookies) Requires: perl(HTTP::Daemon) Requires: perl(HTTP::Request) >= 1.3 Requires: perl(HTTP::Status) Requires: perl(LWP) >= 6 Requires: perl(LWP::UserAgent) >= 2.024 Requires: perl(Module::Pluggable) Requires: perl(Test::Exception) >= 0.200000 Requires: perl(URI) >= 1.25 Requires: perl(URI::URL) Requires: perl(URI::file) Requires: perl(WWW::Mechanize) >= 1.66 %{perl_requires} %description This module provides all of the same functionality of 'WWW::Mechanize', but adds support for _plugins_ using 'Module::Pluggable'; this means that any module named 'WWW::Mechanize::Plugin::_whatever..._' will be found and loaded when 'WWW::Mechanize::Pluggable' is loaded. Big deal, you say. Well, it _becomes_ a big deal in conjunction with 'WWW::Mechanize::Pluggable''s other feature: _plugin hooks_. When plugins are loaded, their 'import()' methods can call 'WWW::Mechanize::Pluggable''s 'prehook' and 'posthook' methods. These methods add callbacks to the plugin code in 'WWW::Mechanize::Pluggable''s methods. These callbacks can act before a method or after it, and have to option of short-circuiting the call to the 'WWW::Mechanize::Pluggable' method altogether. These methods receive whatever parameters the 'WWW::Mechanize::Pluggable' methods received, plus a reference to the actvive 'Mech' object. All other extensions to 'WWW::Mechanize::Pluggable' are handled by the plugins. %prep %setup -q -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README Todo %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor