File perl-SOAP-Lite.spec of Package perl-SOAP-Lite

# spec file for package perl-SOAP-Lite
# Copyright (c) 2018 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

#Upstream: Artistic-1.0 or GPL-1.0+
%define cpan_name SOAP-Lite
Name:           perl-SOAP-Lite
Version:        1.26
Release:        0
Summary:        Perl's Web Services Toolkit
License:        (Artistic-1.0 OR GPL-1.0+) AND CC-BY-ND-2.0
Group:          Development/Libraries/Perl
Source1:        cpanspec.yml
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Class::Inspector)
BuildRequires:  perl(Compress::Zlib)
BuildRequires:  perl(IO::SessionData) >= 1.03
BuildRequires:  perl(IO::Socket::SSL)
BuildRequires:  perl(LWP::Protocol::https)
BuildRequires:  perl(LWP::UserAgent)
BuildRequires:  perl(Task::Weaken)
BuildRequires:  perl(Test::Warn)
BuildRequires:  perl(URI)
BuildRequires:  perl(XML::Parser) >= 2.23
BuildRequires:  perl(XML::Parser::Lite) >= 0.715
Requires:       perl(Class::Inspector)
Requires:       perl(Compress::Zlib)
Requires:       perl(IO::SessionData) >= 1.03
Requires:       perl(IO::Socket::SSL)
Requires:       perl(LWP::Protocol::https)
Requires:       perl(LWP::UserAgent)
Requires:       perl(Task::Weaken)
Requires:       perl(URI)
Requires:       perl(XML::Parser) >= 2.23
Recommends:     perl(Apache)
Recommends:     perl(DIME::Tools) >= 0.03
Recommends:     perl(FCGI)
Recommends:     perl(HTTP::Daemon)
Recommends:     perl(MIME::Tools)
BuildArch:      noarch

SOAP::Lite is a collection of Perl modules which provides a simple and
lightweight interface to the Simple Object Access Protocol (SOAP) both on
client and server side.

%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
sed -e 's,!/bin/env perl,!/usr/bin/perl,' -i bin/*pl

perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

make %{?_smp_mflags} test


%files -f %{name}.files
%doc Changes Debian_CPANTS.txt examples HACKING README ReleaseNotes.txt
%license LICENSE

openSUSE Build Service is sponsored by