97 lines
3.1 KiB
RPMSpec
97 lines
3.1 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-XML-Compile-SOAP
|
||
|
#
|
||
|
# Copyright (c) 2015 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 http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
Name: perl-XML-Compile-SOAP
|
||
|
Version: 3.08
|
||
|
Release: 0
|
||
|
%define cpan_name XML-Compile-SOAP
|
||
|
Summary: Base-Class for Soap Implementations
|
||
|
License: Artistic-1.0 or GPL-1.0+
|
||
|
Group: Development/Libraries/Perl
|
||
|
Url: http://search.cpan.org/dist/XML-Compile-SOAP/
|
||
|
Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{version}.tar.gz
|
||
|
BuildArch: noarch
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildRequires: perl
|
||
|
BuildRequires: perl-macros
|
||
|
BuildRequires: perl(File::Slurp::Tiny)
|
||
|
BuildRequires: perl(LWP) >= 6.08
|
||
|
BuildRequires: perl(Log::Report) >= 1.05
|
||
|
BuildRequires: perl(XML::Compile) >= 1.48
|
||
|
BuildRequires: perl(XML::Compile::Cache) >= 1.03
|
||
|
BuildRequires: perl(XML::Compile::SOAP::Daemon) >= 3.00
|
||
|
BuildRequires: perl(XML::Compile::Tester) >= 0.90
|
||
|
Requires: perl(File::Slurp::Tiny)
|
||
|
Requires: perl(LWP) >= 6.08
|
||
|
Requires: perl(Log::Report) >= 1.05
|
||
|
Requires: perl(XML::Compile) >= 1.48
|
||
|
Requires: perl(XML::Compile::Cache) >= 1.03
|
||
|
Requires: perl(XML::Compile::SOAP::Daemon) >= 3.00
|
||
|
Requires: perl(XML::Compile::Tester) >= 0.90
|
||
|
%{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
|
||
|
%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 ChangeLog examples README TODO
|
||
|
|
||
|
%changelog
|