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

#
# spec file for package perl-SOAP-Lite
#
# Copyright (c) 2013 SUSE LINUX Products 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-SOAP-Lite
Version:        1.08
Release:        0
%define cpan_name SOAP-Lite
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/
Source:         http://www.cpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Class::Inspector)
BuildRequires:  perl(Compress::Zlib)
BuildRequires:  perl(Crypt::SSLeay)
BuildRequires:  perl(IO::SessionData) >= 1.03
BuildRequires:  perl(IO::Socket::SSL)
BuildRequires:  perl(LWP::UserAgent)
BuildRequires:  perl(Task::Weaken)
BuildRequires:  perl(URI)
BuildRequires:  perl(XML::Parser) >= 2.23
Requires:       perl(Class::Inspector)
Requires:       perl(Compress::Zlib)
Requires:       perl(Crypt::SSLeay)
Requires:       perl(IO::SessionData) >= 1.03
Requires:       perl(IO::Socket::SSL)
Requires:       perl(LWP::UserAgent)
Requires:       perl(Task::Weaken)
Requires:       perl(URI)
Requires:       perl(XML::Parser) >= 2.23
%{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 -print0 | xargs -0 chmod 644
# MANUAL
sed -e 's,!/bin/env perl,!/usr/bin/perl,' -i bin/*pl

%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 Changes examples HACKING README ReleaseNotes.txt

%changelog
openSUSE Build Service is sponsored by