Files
perl-XML-Compile-SOAP/perl-XML-Compile-SOAP.spec
2025-08-12 18:18:34 +02:00

116 lines
4.0 KiB
RPMSpec

#
# spec file for package perl-XML-Compile-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 XML-Compile-SOAP
Name: perl-XML-Compile-SOAP
Version: 3.280.0
Release: 0
# 3.28 -> normalize -> 3.280.0
%define cpan_version 3.28
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: SOAP version 1.1
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Slurper)
BuildRequires: perl(LWP) >= 6.08
BuildRequires: perl(LWP::Protocol::https) >= 6
BuildRequires: perl(Log::Report) >= 1.50.0
BuildRequires: perl(Net::HTTP) >= 6.16
BuildRequires: perl(XML::Compile) >= 1.580
BuildRequires: perl(XML::Compile::Cache) >= 1.30.0
BuildRequires: perl(XML::Compile::Tester) >= 0.900
Requires: perl(File::Slurper)
Requires: perl(LWP) >= 6.08
Requires: perl(LWP::Protocol::https) >= 6
Requires: perl(Log::Report) >= 1.50.0
Requires: perl(Net::HTTP) >= 6.16
Requires: perl(XML::Compile) >= 1.580
Requires: perl(XML::Compile::Cache) >= 1.30.0
Requires: perl(XML::Compile::Tester) >= 0.900
Provides: perl(XML::Compile::SOAP) = %{version}
Provides: perl(XML::Compile::SOAP11) = %{version}
Provides: perl(XML::Compile::SOAP11::Client) = %{version}
Provides: perl(XML::Compile::SOAP11::Operation) = %{version}
Provides: perl(XML::Compile::SOAP11::Server) = %{version}
Provides: perl(XML::Compile::SOAP::Client) = %{version}
Provides: perl(XML::Compile::SOAP::Extension) = %{version}
Provides: perl(XML::Compile::SOAP::Operation) = %{version}
Provides: perl(XML::Compile::SOAP::Server) = %{version}
Provides: perl(XML::Compile::SOAP::Trace) = %{version}
Provides: perl(XML::Compile::SOAP::Util) = %{version}
Provides: perl(XML::Compile::Transport) = %{version}
Provides: perl(XML::Compile::Transport::SOAPHTTP) = %{version}
Provides: perl(XML::Compile::XOP) = %{version}
Provides: perl(XML::Compile::XOP::Include) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
This module handles the SOAP protocol. The first implementation is SOAP1.1
(_http://www.w3.org/TR/2000/NOTE-SOAP-20000508/_), which is still most
often used. The SOAP1.2 definition (_http://www.w3.org/TR/soap12/_) is
provided via the separate distribution XML::Compile::SOAP12.
Be aware that there are three kinds of SOAP:
* 1.
Document style (literal) SOAP, where there is a WSDL file which explicitly
types all out-going and incoming messages. Very easy to use.
* 2.
RPC style SOAP literal. The body of the message has an extra element
wrapper, but the content is also well defined.
* 3.
RPC style SOAP encoded. The sent data is nowhere described formally. The
data is constructed in some ad-hoc way.
Don't forget to have a look at the examples in the _examples/_ directory
included in the distribution.
Please support my development work by submitting bug-reports, patches and
(if available) a donation.
%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 ChangeLog examples README README.md TODO
%changelog