From d2881c283db99b4e89f4c52e7900bffdeee4bb72 Mon Sep 17 00:00:00 2001
From: Damian Wrobel <dwro...@ertelnet.rybnik.pl>
Date: Wed, 8 Feb 2017 09:32:58 +0100
Subject: Initial import (#1418310)

---
 .gitignore                                 |   1 +
 perl-SOAP-WSDL-HTTP.pm.patch               |  12 ++
 perl-SOAP-WSDL-makefile.pl-exe_files.patch |  17 ++
 perl-SOAP-WSDL-pod-spelling.patch          | 306 +++++++++++++++++++++++++++++
 perl-SOAP-WSDL-pod-whatis.patch            |  55 ++++++
 perl-SOAP-WSDL-use-Test-XML.patch          |  22 +++
 perl-SOAP-WSDL.spec                        | 148 ++++++++++++++
 sources                                    |   1 +
 8 files changed, 562 insertions(+)
 create mode 100644 perl-SOAP-WSDL-HTTP.pm.patch
 create mode 100644 perl-SOAP-WSDL-makefile.pl-exe_files.patch
 create mode 100644 perl-SOAP-WSDL-pod-spelling.patch
 create mode 100644 perl-SOAP-WSDL-pod-whatis.patch
 create mode 100644 perl-SOAP-WSDL-use-Test-XML.patch
 create mode 100644 perl-SOAP-WSDL.spec

diff --git a/.gitignore b/.gitignore
index e69de29..f34f3d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/SOAP-WSDL-3.003.tar.gz
diff --git a/perl-SOAP-WSDL-HTTP.pm.patch b/perl-SOAP-WSDL-HTTP.pm.patch
new file mode 100644
index 0000000..c613932
--- /dev/null
+++ b/perl-SOAP-WSDL-HTTP.pm.patch
@@ -0,0 +1,12 @@
+--- a/lib/SOAP/WSDL/Transport/HTTP.pm  2015-04-02 12:17:58.000000000 -0500
++++ b/lib/SOAP/WSDL/Transport/HTTP.pm  2017-02-04 12:31:10.501103626 -0600
+@@ -29,6 +29,9 @@
+         ? lc($encoding)
+         : 'utf-8';
+ 
++    $endpoint = ""
++        if not defined($endpoint);
++
+     $content_type = "text/xml; charset=$encoding"
+         if not defined($content_type);
+     # what's this all about?
diff --git a/perl-SOAP-WSDL-makefile.pl-exe_files.patch 
b/perl-SOAP-WSDL-makefile.pl-exe_files.patch
new file mode 100644
index 0000000..4d4dd01
--- /dev/null
+++ b/perl-SOAP-WSDL-makefile.pl-exe_files.patch
@@ -0,0 +1,17 @@
+Description: resurrect installation of bin/wsdl2perl.pl
+Origin: vendor
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2016-05-29
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=114807
+Bug: https://rt.cpan.org/Ticket/Display.html?id=114807
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -29,6 +29,7 @@
+     test => { RECURSIVE_TEST_FILES => 1, },
+     ABSTRACT_FROM  => 'lib/SOAP/WSDL.pm',
+     AUTHOR       => 'Scott Walters <sc...@slowass.net>',
++    EXE_FILES    => [ 'bin/wsdl2perl.pl' ],
+     (eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
+     'meta-spec' => { version => 2 },
+      resources => {
diff --git a/perl-SOAP-WSDL-pod-spelling.patch 
b/perl-SOAP-WSDL-pod-spelling.patch
new file mode 100644
index 0000000..d703bcc
--- /dev/null
+++ b/perl-SOAP-WSDL-pod-spelling.patch
@@ -0,0 +1,306 @@
+Description: spelling fixes
+Origin: vendor
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2016-05-29
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=114805
+Bug: https://rt.cpan.org/Ticket/Display.html?id=114805
+
+--- a/lib/SOAP/WSDL.pm
++++ b/lib/SOAP/WSDL.pm
+@@ -668,7 +668,7 @@
+ =head2 Debugging / Tracing
+ 
+ While SOAP::Lite features a global tracing facility, SOAP::WSDL
+-allows to switch tracing on/of on a per-object base.
++allows one to switch tracing on/of on a per-object base.
+ 
+ This has to be done in the SOAP client used by SOAP::WSDL - see
+ L<get_client|get_client> for an example and L<SOAP::WSDL::Client> for
+@@ -737,7 +737,7 @@
+ 
+ =item * Serialization of hash refs does not work for ambiguous values
+ 
+-If you have list elements with multiple occurences allowed, SOAP::WSDL
++If you have list elements with multiple occurrences allowed, SOAP::WSDL
+ has no means of finding out which variant you meant.
+ 
+ Passing in item => [1,2,3] could serialize to
+@@ -811,7 +811,7 @@
+ 
+ Martin Kutter wrote:
+ 
+-There are many people out there who fostered SOAP::WSDL's developement.
++There are many people out there who fostered SOAP::WSDL's development.
+ I would like to thank them all (and apologize to all those I have forgotten).
+ 
+ Giovanni S. Fois wrote a improved version of SOAP::WSDL (which eventually
+@@ -838,7 +838,7 @@
+ testing. Thank you.
+ 
+ Noah Robin contributed lots of documentation fixes, and the mod_perl server,
+-and eventually joined SOAP::WSDL's developement. Thanks.
++and eventually joined SOAP::WSDL's development. Thanks.
+ 
+ Mark Overmeer wrote XML::Compile::SOAP - competition is good for business.
+ 
+--- a/lib/SOAP/WSDL/Expat/MessageParser.pm
++++ b/lib/SOAP/WSDL/Expat/MessageParser.pm
+@@ -297,7 +297,7 @@
+ 
+ =head2 Skipping unwanted items
+ 
+-Sometimes there's unneccessary information transported in SOAP messages.
++Sometimes there's unnecessary information transported in SOAP messages.
+ 
+ To skip XML nodes (including all child nodes), just edit the type map for
+ the message, set the type map entry to '__SKIP__', and comment out all
+--- a/lib/SOAP/WSDL/Manual/CodeFirst.pod
++++ b/lib/SOAP/WSDL/Manual/CodeFirst.pod
+@@ -71,7 +71,7 @@
+ Perl does not have the concept of interfaces. However, Moose provides Roles, 
which can be used for defining
+ interfaces.
+ 
+-However, it's not really necessary to define a interface Interface (in the 
sense of a Jave interface) -
++However, it's not really necessary to define a interface Interface (in the 
sense of a Java interface) -
+ a interface class is sufficient.
+ 
+ Subroutine attributes could be used for providing additional information - 
attributes in perl are much like
+--- a/lib/SOAP/WSDL/Manual/Cookbook.pod
++++ b/lib/SOAP/WSDL/Manual/Cookbook.pod
+@@ -101,7 +101,7 @@
+ If you're talking to a Server using NTLMv2 exclusively, you will only the 
first line 
+ in the debug output, and then an error.
+ 
+-To explicitely enable NTLMv2, do the following in your client:
++To explicitly enable NTLMv2, do the following in your client:
+ 
+  use Authen::NTLM;
+  ntlmv2(1);
+@@ -117,7 +117,7 @@
+ this is implementation specific (MIT or Heimdahl). See your Kerberos/GSSAPI 
+ documentation for details.
+ 
+-(Newer) Windows Web Services usually allow to use both the Negotiate 
(Kerberos) 
++(Newer) Windows Web Services usually allow one to use both the Negotiate 
(Kerberos)
+ and NTLM authentication scheme. 
+ 
+ =head3 Accessing HTTPS webservices protected by certificate authentication
+@@ -156,7 +156,7 @@
+ 
+ How do I do this using SOAP::WSDL?
+ 
+-A: The following steps are neccessary to achieve this result:
++A: The following steps are necessary to achieve this result:
+ 
+ First, you would need to write a new serializer, which is quite easy, as it
+ just creates the envelope and calls ->serialize_qualified() on $header and
+@@ -214,7 +214,7 @@
+ 
+ =head2 Disabling strict XML processing in a CGI based server
+ 
+-You have to set the deserializer in the transport class explicitely to
++You have to set the deserializer in the transport class explicitly to
+ a L<SOAP::WSDL::Deserializer|SOAP::WSDL::Deserializer> object with the
+ C<strict> option set to 0.
+ 
+--- a/lib/SOAP/WSDL/Manual/FAQ.pod
++++ b/lib/SOAP/WSDL/Manual/FAQ.pod
+@@ -64,7 +64,7 @@
+ Its SOAP message parser however, is not namespace sensitive but uses the
+ pre-shared information from the WSDL for looking up what each XML node means.
+ 
+-SOAP::WSDL can parse SOAP messages including namespace informations up to the
++SOAP::WSDL can parse SOAP messages including namespace information up to the
+ point where equally named elements from different namespaces may appear at
+ the same position.
+ 
+--- a/lib/SOAP/WSDL/Manual/Parser.pod
++++ b/lib/SOAP/WSDL/Manual/Parser.pod
+@@ -75,7 +75,7 @@
+ 
+ =head3 Skipping unwanted items
+ 
+-Sometimes there's unneccessary information transported in SOAP messages.
++Sometimes there's unnecessary information transported in SOAP messages.
+ 
+ To skip XML nodes (including all child nodes), just edit the type map for
+ the message and set the type map entry to '__SKIP__'.
+--- a/lib/SOAP/WSDL/Manual/XSD.pod
++++ b/lib/SOAP/WSDL/Manual/XSD.pod
+@@ -316,7 +316,7 @@
+ starting with "xml" (case-insensitive).
+ 
+ All XML attributes for a XML element are set- and retrievable via the method
+-C<attr>. The name is chosen to allow mimicing SOAP::Lite's behaviour, which
++C<attr>. The name is chosen to allow mimicking SOAP::Lite's behaviour, which
+ allows setting a SOAP::Data object's attributes via C<attr>.
+ 
+  my $attrSet = $obj->attr();
+@@ -424,7 +424,7 @@
+ 
+ =item * fractionDigits
+ 
+-=item * lenght
++=item * length
+ 
+ =item * maxExclusive
+ 
+--- a/lib/SOAP/WSDL/Manual/Glossary.pod
++++ b/lib/SOAP/WSDL/Manual/Glossary.pod
+@@ -16,7 +16,7 @@
+ SOAP is a W3C recommendation. The latest version of the SOAP specification
+ may be found at L<http://www.w3.org/TR/soap/>.
+ 
+-SOAP defines a protocoll for message exchange between applications.
++SOAP defines a protocol for message exchange between applications.
+ The most popular usage is to use SOAP for remote procedure calls (RPC).
+ 
+ While one of the constituting aspects of a web service is its
+--- a/lib/SOAP/WSDL/Server/Simple.pm
++++ b/lib/SOAP/WSDL/Server/Simple.pm
+@@ -129,7 +129,7 @@
+ =head1 DESCRIPTION
+ 
+ Lightweight SOAP server for use with HTTP::Server::Simple, mainly designed
+-for testing purposes. It allows to set up a simple SOAP server without having
++for testing purposes. It allows one to set up a simple SOAP server without 
having
+ to configure CGI or mod_perl stuff.
+ 
+ SOAP::WSDL::Server::Simple is not recommended for production use.
+--- a/lib/SOAP/WSDL/Manual/WS_I.pod
++++ b/lib/SOAP/WSDL/Manual/WS_I.pod
+@@ -129,7 +129,7 @@
+ 
+ A fault is generated when an error occurs processing the message.
+ SOAP::WSDL::Deserializer::SOAP11 does not perform any additional processing
+-after an error occured.
++after an error occurred.
+ 
+ =head2 R1029
+ 
+@@ -429,7 +429,7 @@
+ 
+ The wsdl:import element imports the referenced WSDL definition.
+ 
+-This is rather hard-wired and does not allow to specify a wsdl:import without
++This is rather hard-wired and does not allow one to specify a wsdl:import 
without
+ a resolvable location in SOAP::WSDL.
+ 
+ =head2 R4002
+@@ -492,7 +492,7 @@
+ 
+  A DESCRIPTION MAY use any construct from XML Schema 1.0.
+ 
+-SOAP::WSDL's WSDL parser doen not allow all contructs from XML Schema 1.0 to
++SOAP::WSDL's WSDL parser doen not allow all constructs from XML Schema 1.0 to
+ be used.
+ 
+ TODO become "minimal conformant".
+--- 
a/example/lib/MyInterfaces/FullerData_x0020_Fortune_x0020_Cookie/FullerData_x0020_Fortune_x0020_CookieSoap.pm
++++ 
b/example/lib/MyInterfaces/FullerData_x0020_Fortune_x0020_Cookie/FullerData_x0020_Fortune_x0020_CookieSoap.pm
+@@ -177,7 +177,7 @@
+ You may pass any combination of objects, hash and list refs to these
+ methods, as long as you meet the structure.
+ 
+-List items (i.e. multiple occurences) are not displayed in the synopsis.
++List items (i.e. multiple occurrences) are not displayed in the synopsis.
+ You may generally pass a list ref of hash refs (or objects) instead of a hash
+ ref - this may result in invalid XML if used improperly, though. Note that
+ SOAP::WSDL always expects list references at maximum depth position.
+--- a/lib/SOAP/WSDL/Deserializer/Hash.pm
++++ b/lib/SOAP/WSDL/Deserializer/Hash.pm
+@@ -98,7 +98,7 @@
+      }
+  }
+ 
+-List reference creation is triggered by the second occurance of an element.
++List reference creation is triggered by the second occurrence of an element.
+ XML Array types with one element only will not be represented as list
+ references.
+ 
+--- a/lib/SOAP/WSDL/Generator/Template/XSD/Interface/POD/method_info.tt
++++ b/lib/SOAP/WSDL/Generator/Template/XSD/Interface/POD/method_info.tt
+@@ -6,7 +6,7 @@
+ You may pass any combination of objects, hash and list refs to these
+ methods, as long as you meet the structure.
+ 
+-List items (i.e. multiple occurences) are not displayed in the synopsis.
++List items (i.e. multiple occurrences) are not displayed in the synopsis.
+ You may generally pass a list ref of hash refs (or objects) instead of a hash
+ ref - this may result in invalid XML if used improperly, though. Note that
+ SOAP::WSDL always expects list references at maximum depth position.
+--- a/lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/choice.tt
++++ b/lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/choice.tt
+@@ -3,7 +3,7 @@
+ [%- IF complexType.get_name %] # [% XSD.create_xsd_name(complexType) %][% END 
%]
+ [%- indent = indent _ '  ' %]
+ [% indent %]# One of the following elements.
+-[% indent %]# No occurance checks yet, so be sure to pass just one...
++[% indent %]# No occurrence checks yet, so be sure to pass just one...
+ [%- FOREACH element = complexType.get_element %]
+ [% indent %][% XSD.perl_var_name(XSD.element_name(element)) %] => [% INCLUDE 
element/POD/structure.tt -%]
+ [% END %]
+--- a/lib/SOAP/WSDL/Generator/Visitor.pm
++++ b/lib/SOAP/WSDL/Generator/Visitor.pm
+@@ -58,7 +58,7 @@
+ described by [GHJV1995].
+ 
+ A Visitor is an object implementing some behaviour for a fixed set of classes,
+-whose implementation would otherwise need to be scattered accross those
++whose implementation would otherwise need to be scattered across those
+ classes' implementations.
+ 
+ Visitors are usually combined with Iterators for traversing either a list or
+@@ -182,7 +182,7 @@
+ 
+ Both Type Classes and Interface Classes include documentation. Additional
+ documentation may be generated as a hint for programmers, or later for
+-mimicing .NET's .asmx example pages.
++mimicking .NET's .asmx example pages.
+ 
+ =back
+ 
+--- a/lib/SOAP/WSDL/Manual.pod
++++ b/lib/SOAP/WSDL/Manual.pod
+@@ -178,7 +178,7 @@
+  );
+ 
+ The lines are hash key - value pairs. The keys are the XPath expressions
+-without occurence numbers (like [1]) relative to the Body element.
++without occurrence numbers (like [1]) relative to the Body element.
+ Namespaces are ignored.
+ 
+ If you don't know about XPath: They are just the names of the XML tags,
+--- a/lib/SOAP/WSDL/Transport/Test.pm
++++ b/lib/SOAP/WSDL/Transport/Test.pm
+@@ -76,7 +76,7 @@
+ SOAP::WSDL::Transport::Test is a file-based test transport backend for
+ SOAP::WSDL.
+ 
+-When SOAP::WSDL::Transport::Test is used as transport backend, the reponse is
++When SOAP::WSDL::Transport::Test is used as transport backend, the response is
+ read from a XML file and the request message is discarded. This is
+ particularly useful for testing SOAP::WSDL plugins.
+ 
+--- a/lib/SOAP/WSDL/XSD/Typelib/Element.pm
++++ b/lib/SOAP/WSDL/XSD/Typelib/Element.pm
+@@ -159,7 +159,7 @@
+ for the {http://www.w3.org/2001/XMLSchema-instance}nil="true"; attribute
+ is hardcoded as 'xsi'.
+ 
+-You should definitly provide your XML envelope generator with the same prefix
++You should definitely provide your XML envelope generator with the same prefix
+ namespace combination (Default for SOAP::WSDL::Envelope).
+ 
+ =back
+--- a/bin/wsdl2perl.pl
++++ b/bin/wsdl2perl.pl
+@@ -163,7 +163,7 @@
+ 
+ =head1 OPTIONS
+ 
+- NAME            SHORT  DESCRITPION
++ NAME            SHORT  DESCRIPTION
+  ----------------------------------------------------------------------------
+  prefix            p   Prefix for all generated classes. If you set "-p=Foo",
+                        you will get "FooAttributes", "FooTypes",
diff --git a/perl-SOAP-WSDL-pod-whatis.patch b/perl-SOAP-WSDL-pod-whatis.patch
new file mode 100644
index 0000000..4c8ef6d
--- /dev/null
+++ b/perl-SOAP-WSDL-pod-whatis.patch
@@ -0,0 +1,55 @@
+Description: fix whatis entries
+Origin: vendor
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2016-05-29
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=114806
+Bug: https://rt.cpan.org/Ticket/Display.html?id=114806
+
+--- a/lib/SOAP/WSDL/Manual/CodeFirst.pod
++++ b/lib/SOAP/WSDL/Manual/CodeFirst.pod
+@@ -1,6 +1,8 @@
+ =pod
+ 
+-=head1 Writing Code-First Web Services with SOAP::WSDL
++=head1 NAME
++
++CodeFirst - Writing Code-First Web Services with SOAP::WSDL
+ 
+ B<Note: This document is just a collection of thought. There's no 
implementation yet>.
+ 
+--- a/lib/SOAP/WSDL/Manual/Deserializer.pod
++++ b/lib/SOAP/WSDL/Manual/Deserializer.pod
+@@ -2,7 +2,7 @@
+ 
+ =head1 NAME
+ 
+-SOAP::WSDL::Manual::Deserializer
++SOAP::WSDL::Manual::Deserializer - Deserializer classes
+ 
+ =head1 DESERIALIZER CLASSES
+ 
+@@ -46,4 +46,4 @@
+ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
+ 
+ =cut
+- 
+\ No newline at end of file
++
+--- a/lib/SOAP/WSDL/Manual/Serializer.pod
++++ b/lib/SOAP/WSDL/Manual/Serializer.pod
+@@ -2,7 +2,7 @@
+ 
+ =head1 NAME
+ 
+-SOAP::WSDL::Manual::Serializer
++SOAP::WSDL::Manual::Serializer - Serializer classes
+ 
+ =head1 SERIALIZER CLASSES
+ 
+@@ -27,4 +27,4 @@
+ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
+ 
+ =cut
+- 
+\ No newline at end of file
++
diff --git a/perl-SOAP-WSDL-use-Test-XML.patch 
b/perl-SOAP-WSDL-use-Test-XML.patch
new file mode 100644
index 0000000..9e6b22c
--- /dev/null
+++ b/perl-SOAP-WSDL-use-Test-XML.patch
@@ -0,0 +1,22 @@
+Description: use Test::XML for comparing XML instead of 'eq'
+ 'eq' works most of the time, until you have XML structures which have more
+ than one attribute. Their serialization is non-deterministic since the order
+ of the attributes is not predictable.
+Author: Damyan Ivanov <d...@debian.org>
+Bug: https://rt.cpan.org/Ticket/Display.html?id=74257
+Bug-Debian: https://bugs.debian.org/720964
+--- a/t/SOAP/WSDL/05_simpleType-list.t
++++ b/t/SOAP/WSDL/05_simpleType-list.t
+@@ -36,7 +36,11 @@ ok $xml = $soap->call('test', testAll =>
+ #5
+ ok ( $xml2 = $soap->call('test', testAll => "1 2" ) , 'Serialized scalar 
call' );
+ #6
+-ok( $xml eq $xml2, 'Got expected result');
++SKIP: {
++    skip "Test::XML needed for comparing XML", 1
++        unless eval { require Text::XML };
++    is_xml( $xml, $xml2, 'Got expected result');
++}
+ 
+ #7    
+ TODO: {
diff --git a/perl-SOAP-WSDL.spec b/perl-SOAP-WSDL.spec
new file mode 100644
index 0000000..675a93e
--- /dev/null
+++ b/perl-SOAP-WSDL.spec
@@ -0,0 +1,148 @@
+Summary:       Perl module for SOAP with WSDL support
+Name:          perl-SOAP-WSDL
+Version:       3.003
+Release:       4%{?dist}
+License:       GPL+ or Artistic
+Group:         Development/Libraries
+URL:           http://search.cpan.org/dist/SOAP-WSDL/
+Source:        
http://www.cpan.org/modules/by-module/SOAP/SOAP-WSDL-%{version}.tar.gz
+# Patches (0-3) taken from Debian package
+# Upstream reference: https://rt.cpan.org/Ticket/Display.html?id=114807
+Patch0:        %{name}-makefile.pl-exe_files.patch
+# Upstream reference: https://rt.cpan.org/Ticket/Display.html?id=114805
+Patch1:        %{name}-pod-spelling.patch
+# Upstream reference: https://rt.cpan.org/Ticket/Display.html?id=114806
+Patch2:        %{name}-pod-whatis.patch
+# Upstream reference: https://rt.cpan.org/Ticket/Display.html?id=74257
+Patch3:        %{name}-use-Test-XML.patch
+# Courtesy of Andrew Bauer
+# Upstream reference: https://rt.cpan.org/Public/Bug/Display.html?id=120112
+Patch4:        %{name}-HTTP.pm.patch
+
+BuildArch:     noarch
+BuildRequires: git
+BuildRequires: perl
+BuildRequires: perl-generators
+BuildRequires: perl(Apache2::Const)
+BuildRequires: perl(Apache2::Log)
+BuildRequires: perl(Apache2::RequestIO)
+BuildRequires: perl(Apache2::RequestRec)
+BuildRequires: perl(Apache2::RequestUtil)
+BuildRequires: perl(APR::Table)
+BuildRequires: perl(base)
+BuildRequires: perl(bytes)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Class::Load)
+BuildRequires: perl(Class::Std::Fast)
+BuildRequires: perl(Class::Std::Fast::Storable)
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(Date::Format)
+BuildRequires: perl(Date::Parse)
+BuildRequires: perl(Encode)
+BuildRequires: perl(File::Basename)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(HTTP::Headers)
+BuildRequires: perl(HTTP::Request)
+BuildRequires: perl(HTTP::Response)
+BuildRequires: perl(HTTP::Status)
+BuildRequires: perl(IO::Scalar)
+BuildRequires: perl(Test::MockObject)
+BuildRequires: perl(List::Util)
+BuildRequires: perl(LWP::UserAgent)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(SOAP::Lite)
+BuildRequires: perl(strict)
+BuildRequires: perl(Template)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(URI)
+BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
+BuildRequires: perl(XML::Parser::Expat)
+
+Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:      perl(SOAP::Lite)
+
+%{?perl_default_filter}
+
+
+%description
+SOAP::WSDL provides easy access to Web Services with WSDL descriptions.
+The WSDL is parsed and stored in memory. Your data is serialized according
+to the rules in the WSDL. The only transport mechanisms currently supported
+are HTTP and HTTPS.
+
+
+%package  Apache
+Summary:  SOAP server with WSDL support for Apache2 web server
+Requires: %{name} = %{version}-%{release}
+
+
+%description Apache
+The SOAP::WSDL-server package contains a SOAP compliant server capable of
+sending messages via the Apache2 web server.
+
+
+%package  examples
+Summary:  Examples for the Perl SOAP::WSDL module
+Requires: %{name} = %{version}-%{release}
+
+
+%description examples
+The package contains examples for SOAP::WSDL module.
+
+
+%prep
+%autosetup -S git -n SOAP-WSDL-%{version}
+# fix example's permission
+chmod a-x example/cgi-bin/*.pl
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%make_build
+
+
+%install
+%make_build pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -delete
+chmod 0755 %{buildroot}%{_bindir}/wsdl2perl.pl
+
+
+%check
+%make_build test
+
+
+%files
+%license LICENSE
+%doc Changes HACKING README TODO
+%{_bindir}/wsdl2perl.pl
+%exclude %{perl_vendorlib}/SOAP/WSDL/Server/
+%{perl_vendorlib}/SOAP/*
+%{_mandir}/man1/wsdl2perl.pl.1*
+%{_mandir}/man3/SOAP::*3pm*
+
+
+%files Apache
+%license LICENSE
+%{perl_vendorlib}/SOAP/WSDL/Server/
+
+
+%files examples
+%license LICENSE
+%doc example/
+
+
+%changelog
+* Tue Feb 07 2017 Damian Wrobel <dwro...@ertelnet.rybnik.pl> - 3.003-4
+- Move man pages, Changes, HACKING, README and TODO to main package,
+- Rename subpackage -doc to -examples
+
+* Mon Feb 06 2017 Damian Wrobel <dwro...@ertelnet.rybnik.pl> - 3.003-3
+- Add missing Test::Pod BR,
+- Fix build failure on rawhide
+
+* Wed Feb 01 2017 Damian Wrobel <dwro...@ertelnet.rybnik.pl> - 3.003-2
+- Split out Apache dependent sub-package
+
+* Tue Jan 31 2017 Damian Wrobel <dwro...@ertelnet.rybnik.pl> - 3.003-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..bcd1b88 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (SOAP-WSDL-3.003.tar.gz) = 
a74416ea1208f589ddde3799856e9cb7c495e5d6c31aa0e8659abfcbf21bcaa9570200c5b86746401a7566d8de25c4a7ba4338828830d11f7b66f2abb424b2b3
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-SOAP-WSDL.git/commit/?h=epel7&id=d2881c283db99b4e89f4c52e7900bffdeee4bb72
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to