2011-11-08 10:06:53 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-REST-Client
|
|
|
|
#
|
2022-01-04 11:11:10 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2011-11-08 10:06:53 +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.
|
|
|
|
|
2019-10-16 05:16:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-11-08 10:06:53 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-01-04 11:11:10 +00:00
|
|
|
%define cpan_name REST-Client
|
2010-08-27 20:57:51 +00:00
|
|
|
Name: perl-REST-Client
|
2022-01-04 11:11:10 +00:00
|
|
|
Version: 281
|
2010-08-27 20:57:51 +00:00
|
|
|
Release: 0
|
2019-10-16 05:16:07 +00:00
|
|
|
Summary: Simple client for interacting with RESTful http/https resources
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-01-04 11:11:10 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AK/AKHUETTEL/%{cpan_name}-%{version}.tar.gz
|
2015-08-08 13:39:36 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:52 +02:00
|
|
|
Source100: README.md
|
2015-04-15 11:29:42 +00:00
|
|
|
BuildArch: noarch
|
2010-08-27 20:57:51 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:49:06 +00:00
|
|
|
BuildRequires: perl-macros
|
2022-01-04 11:11:10 +00:00
|
|
|
BuildRequires: perl(HTTP::Server::Simple)
|
2015-08-08 13:39:36 +00:00
|
|
|
BuildRequires: perl(LWP::Protocol::https)
|
2010-08-27 20:57:51 +00:00
|
|
|
BuildRequires: perl(LWP::UserAgent)
|
2012-03-29 17:00:15 +00:00
|
|
|
BuildRequires: perl(URI)
|
2015-08-08 13:39:36 +00:00
|
|
|
Requires: perl(LWP::Protocol::https)
|
2012-03-29 17:00:15 +00:00
|
|
|
Requires: perl(LWP::UserAgent)
|
|
|
|
Requires: perl(URI)
|
2015-04-15 11:29:42 +00:00
|
|
|
%{perl_requires}
|
2010-08-27 20:57:51 +00:00
|
|
|
|
|
|
|
%description
|
2015-04-15 11:29:42 +00:00
|
|
|
REST::Client provides a simple way to interact with HTTP RESTful resources.
|
2010-08-27 20:57:51 +00:00
|
|
|
|
|
|
|
%prep
|
2022-01-04 11:11:10 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2010-08-27 20:57:51 +00:00
|
|
|
|
|
|
|
%build
|
2022-01-04 11:11:10 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2015-04-15 11:29:42 +00:00
|
|
|
|
|
|
|
%check
|
2019-10-16 05:16:07 +00:00
|
|
|
make test
|
2010-08-27 20:57:51 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2015-04-15 11:29:42 +00:00
|
|
|
%perl_gen_filelist
|
2010-08-27 20:57:51 +00:00
|
|
|
|
2015-04-15 11:29:42 +00:00
|
|
|
%files -f %{name}.files
|
2022-01-04 11:11:10 +00:00
|
|
|
%doc Changes README.md
|
2010-08-27 20:57:51 +00:00
|
|
|
|
2011-11-08 10:06:53 +00:00
|
|
|
%changelog
|