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

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

# norootforbuild


Name:           perl-SOAP-Lite
BuildRequires:  perl-Compress-Zlib perl-Crypt-SSLeay perl-IO-Socket-SSL perl-MIME-Lite perl-MIME-tools perl-XML-Parser
Url:            http://www.soaplite.com/
License:        Artistic License
Group:          Development/Libraries/Perl
Requires:       perl-libwww-perl perl-XML-Parser perl-MIME-Lite perl-URI perl-MIME-tools perl-Compress-Zlib perl-HTTPS-Daemon perl-IO-Socket-SSL
AutoReqProv:    on
Summary:        SOAP::Lite for Perl
Version:        0.710.08
Release:        1
Source:         SOAP-Lite-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch1:         https_daemon.diff
Patch2:         env_path.dif

%description
SOAP::Lite for Perl is a collection of Perl modules which provides a
simple and lightweight interface to the Simple Object Access Protocol
(SOAP, also known as Service Oriented Access Protocol) both on client
and server side.



Authors:
--------
    Paul Kulchenko <paulclinger@yahoo.com>

%prep
%setup -n SOAP-Lite-%{version}
%patch1 -p1
%patch2
find -name "*.orig" -type f | xargs -r rm -v
# ---------------------------------------------------------------------------

%build
perl Makefile.PL --noprompt
make
# ---------------------------------------------------------------------------

%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%if %suse_version > 820
make DESTDIR=$RPM_BUILD_ROOT \
	 INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
	 install_vendor
%perl_process_packlist
%else
install -d $RPM_BUILD_ROOT/%{perl_archlib}
make PREFIX=$RPM_BUILD_ROOT/usr \
         INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
         install
install -d  $RPM_BUILD_ROOT/var/adm/perl-modules
cat $RPM_BUILD_ROOT/%{perl_archlib}/perllocal.pod | sed "s@$RPM_BUILD_ROOT@@g" > $RPM_BUILD_ROOT/var/adm/perl-modules/%{name}
cd $RPM_BUILD_ROOT/%{perl_sitearch}/auto/SOAP/Lite
sed "s@$RPM_BUILD_ROOT@@g" < .packlist | sort -u > .packlist.tmp
mv .packlist.tmp .packlist
%endif

%files
%defattr(-,root,root)
%dir %{perl_vendorlib}/Apache
%dir %{perl_vendorlib}/Apache/XMLRPC
%dir %{perl_vendorlib}/IO
%dir %{perl_vendorlib}/UDDI
%dir %{perl_vendorlib}/XML
%dir %{perl_vendorlib}/XML/Parser
%dir %{perl_vendorlib}/XMLRPC
%dir %{perl_vendorlib}/XMLRPC/Transport
%dir %{perl_vendorarch}/auto/SOAP
%dir %{perl_vendorarch}/auto/SOAP/Lite
%{perl_vendorlib}/OldDocs
%{perl_vendorlib}/SOAP
%{perl_vendorlib}/Apache/SOAP.pm
%{perl_vendorlib}/Apache/XMLRPC/Lite.pm
%{perl_vendorlib}/IO/SessionData.pm
%{perl_vendorlib}/IO/SessionSet.pm
%{perl_vendorlib}/UDDI/Lite.pm
%{perl_vendorlib}/XML/Parser/Lite.pm
%{perl_vendorlib}/XMLRPC/Lite.pm
%{perl_vendorlib}/XMLRPC/Test.pm
%{perl_vendorlib}/XMLRPC/Transport/HTTP.pm
%{perl_vendorlib}/XMLRPC/Transport/POP3.pm
%{perl_vendorlib}/XMLRPC/Transport/TCP.pm
%{perl_vendorarch}/auto/SOAP/Lite/.packlist
/var/adm/perl-modules/%{name}
/usr/bin/SOAPsh.pl
/usr/bin/XMLRPCsh.pl
/usr/bin/stubmaker.pl
%doc Changes MANIFEST README examples
%doc %{_mandir}/man3/*
%doc %{_mandir}/man1/*

%changelog
* Fri Sep 05 2008 ug@suse.de
  * HTTP header is no more accessible
  * Memory leak when calling WS using wsdl
  SOAP::Transport::HTTP->new() was leaking two scalars per call
  * > not deserialized in result
  * < and > not deserialized in faultstring/detail
  * Incorrect Content-Type while sending requests with no parts
  * Incorrect starting part detection for Multipart/Related
  * SOAP::Lite Envelope not stripped down for XMLRPC
  * XMLRPC::Transport::HTTP::CGI generates extra params
  * fixed memory leaks with XMLRPC::Lite
  * SOAP::Lite Passes Decoded Strings to LWP
  * KeepAlive fails to function
  * Subclasses of XMLRPC::Serializer misbehave because of a "ref" call in SOAP::Lite
  * Memory leak in 0.69 && 0.71
  * version 0.710.08
* Fri Apr 04 2008 ug@suse.de
- version update from 0.69 to 0.71.01
- tons of fixes please look at the CHANGES file for details
- Added LOOPBACK test transport backend.
- Added more core tests
- Added additional callbacks to XML::Parser::Lite and made it
  work under (at least) perl5.6.2, 5.8.7, 5.8.8 and 5.10.
* Wed Oct 25 2006 ug@suse.de
- version update from 0.66 to 0.69
- Commented out two lines of code that were causing S::L to die under
  a non-fatal error condition. This is a HACK.
- Patched support for mod_perl Apache2 (thanks to JT Justman)
- Fixed bug where SOAP::SOM objects were not properly detected,
  serialized and returned (thanks chris at prather dot o r g)
- Fixed bug with default_ns and ns functions so that they
  serialized XML properly.
- Started to add experimental DIME support - possible impacts to MIME
  support as well
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 02 2006 ug@suse.de
- version update from 0.60a to 0.66
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Mon Mar 22 2004 ro@suse.de
- removed .orig backup files
* Fri Feb 27 2004 ug@suse.de
- version update from 0.60 to 0.60a
* Tue Aug 26 2003 ug@suse.de
- version update from 0.55 to 0.60
- Makefile.PL patch dropped because
  autodetection of installed perl modules
  is working in 0.60
- Merged SOAP::MIME into SOAP::Lite's core
- Differentiate between xsd:int and xsd:long to
  fix interoperability bug with Java Web services
- Fixed MIME interoperability bug with Apache Axis
- SOAP Faultcodes are now properly typed a xsd:QName, whereas
  before they were xsd:string
- Fixed documentation errors
- Disabled SOAPStruct (bug 747316)
- Fixed XML::Parser::Expat vulnerability (bug 747265)
- Fixed warning when autodispatched call has no parameters
- Fixed warning when empty SOAPAction specified (bug 747278)
- Turned off HTTP keep alive patch by default
- Removed dependency on the URI module for non-HTTP transports
* Tue Aug 26 2003 ro@suse.de
- fix dependency: /usr/bin/env, not /bin/env
* Mon Aug 25 2003 ug@suse.de
- initial version
openSUSE Build Service is sponsored by