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 http://bugs.opensuse.org/
#


#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
Url:            http://search.cpan.org/dist/SOAP-Lite/
Source0:        https://cpan.metacpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
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
%{perl_requires}

%description
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.

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

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

%check
make %{?_smp_mflags} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

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

%changelog
openSUSE Build Service is sponsored by