Files
perl-SOAP/perl-SOAP.spec
2025-08-12 18:17:06 +02:00

95 lines
3.3 KiB
RPMSpec

#
# spec file for package perl-SOAP
#
# 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 SOAP
Name: perl-SOAP
Version: 0.280.0
Release: 0
# 0.28 -> normalize -> 0.280.0
%define cpan_version 0.28
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Library for SOAP clients and servers in Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KB/KBROWN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Apache) >= 1.260
BuildRequires: perl(HTTP::Request) >= 1.26
BuildRequires: perl(LWP) >= 5.47
BuildRequires: perl(XML::Parser::Expat) >= 2.27
Requires: perl(Apache) >= 1.260
Requires: perl(HTTP::Request) >= 1.26
Requires: perl(LWP) >= 5.47
Requires: perl(XML::Parser::Expat) >= 2.27
Provides: perl(SOAP) = %{version}
Provides: perl(SOAP::Defs) = %{version}
Provides: perl(SOAP::Envelope) = %{version}
Provides: perl(SOAP::EnvelopeMaker) = %{version}
Provides: perl(SOAP::GenericHashSerializer) = %{version}
Provides: perl(SOAP::GenericInputStream) = %{version}
Provides: perl(SOAP::GenericScalarSerializer) = %{version}
Provides: perl(SOAP::OutputStream) = %{version}
Provides: perl(SOAP::Packager) = 0.28
Provides: perl(SOAP::Parser) = %{version}
Provides: perl(SOAP::Serializer) = %{version}
Provides: perl(SOAP::SimpleTypeWrapper) = %{version}
Provides: perl(SOAP::Struct) = %{version}
Provides: perl(SOAP::StructSerializer) = %{version}
Provides: perl(SOAP::Transport::HTTP::Apache) = %{version}
Provides: perl(SOAP::Transport::HTTP::CGI) = %{version}
Provides: perl(SOAP::Transport::HTTP::Client) = %{version}
Provides: perl(SOAP::Transport::HTTP::Server) = %{version}
Provides: perl(SOAP::TypeMapper) = %{version}
Provides: perl(SOAP::TypedPrimitive) = %{version}
Provides: perl(SOAP::TypedPrimitiveSerializer) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
SOAP/Perl is a collection of Perl modules which provides a simple and
consistent application programming interface (API) to the Simple Object
Access Protocl (SOAP).
To learn more about SOAP, see the W3C note at
<URL:http://www.w3.org/TR/SOAP>
This library provides tools for you to build SOAP clients and servers.
%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
%changelog