File perl-WWW-Curl-Simple.spec of Package perl-WWW-Curl-Simple
#
# spec file for package perl-WWW-Curl-Simple
#
# Copyright (c) 2024 SUSE LLC
#
# 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/
#
%define cpan_name WWW-Curl-Simple
Name: perl-WWW-Curl-Simple
Version: 0.100.191
Release: 0
%define cpan_version 0.100191
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Simpler interface to WWW::Curl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AN/ANDREMAR/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(Moose)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Time::HiRes) >= 1.970.500
BuildRequires: perl(WWW::Curl::Easy)
BuildRequires: perl(WWW::Curl::Multi)
BuildRequires: perl(namespace::clean)
Requires: perl(HTTP::Request)
Requires: perl(HTTP::Response)
Requires: perl(Moose)
Requires: perl(Time::HiRes) >= 1.970.500
Requires: perl(WWW::Curl::Easy)
Requires: perl(WWW::Curl::Multi)
Requires: perl(namespace::clean)
Provides: perl(WWW::Curl::Simple) = %{version}
Provides: perl(WWW::Curl::Simple::Request) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
A Simpler interface to WWW::Curl
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README TODO
%license LICENSE
%changelog