File perl-RPC-XML.spec of Package perl-RPC-XML

#
# spec file for package perl-RPC-XML (Version 0.60)
#
# 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-RPC-XML
BuildRequires:  perl-XML-Parser perl-libwww-perl
#BuildRequires:  perl-XML-LibXML
Url:            http://search.cpan.org/search?module=RPC::XML
License:        Artistic License
Group:          Development/Libraries/Perl
Requires:       perl = %{perl_version} perl-XML-Parser perl-libwww-perl
AutoReqProv:    on
Summary:        A set of classes for core data, message and XML handling
Version:        0.60
Release:        28
Source:         RPC-XML-%{version}.tar.bz2
Patch0:         RPC-XML-0.53-ext-daemon-and-header-cb.dif
Patch1:         RPC-XML-0.60-fix-utf8.dif
Patch2:         RPC-XML-0.60-rev127.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The RPC::XML package is a reference implementation of the XML-RPC
standard.



Authors:
--------
    Randy J. Ray <rjray@blackperl.com>

%prep
%setup -n RPC-XML-%{version}
%patch0 -p0
%patch1 -p1
%patch2
# ---------------------------------------------------------------------------

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

%install
make DESTDIR=$RPM_BUILD_ROOT \
	 INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
	 INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
	 install_vendor
%perl_process_packlist

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;

%files
%defattr(-,root,root)
/usr/bin/make_method
%dir %{perl_vendorlib}/RPC
%dir %{perl_vendorlib}/RPC/XML
%{perl_vendorlib}/RPC/XML.pm
%{perl_vendorlib}/RPC/XML/*
%dir %{perl_vendorlib}/Apache
%dir %{perl_vendorlib}/Apache/RPC
%{perl_vendorlib}/Apache/RPC/*
%dir %{perl_vendorlib}/auto/RPC
%dir %{perl_vendorlib}/auto/RPC/XML
%dir %{perl_vendorlib}/auto/RPC/XML/Server
%dir %{perl_vendorlib}/auto/RPC/XML/Procedure
%dir %{perl_vendorlib}/auto/RPC/XML/Function
%{perl_vendorlib}/auto/RPC/XML/Server/*
%{perl_vendorlib}/auto/RPC/XML/Procedure/*
%{perl_vendorlib}/auto/RPC/XML/Function/*
%dir %{perl_vendorarch}/auto/RPC
%dir %{perl_vendorarch}/auto/RPC/XML
%{perl_vendorarch}/auto/RPC/XML/.packlist
%doc MANIFEST ChangeLog README README.apache2 
%{_mandir}/man3/RPC::XML*
%{_mandir}/man3/Apache::RPC::*
%{_mandir}/man1/make_method.1.gz
/var/adm/perl-modules/%{name}

%changelog
* Mon Aug 18 2008 ro@suse.de
- hack to build also in buildservice where 127.0.0.1 can
  resolve to the hostname instead of localhost
* Mon Apr 14 2008 mc@suse.de
- version 0.60
  * fix problem caused by having colons in temp-file names.
  * fix for SSL
  * Fixed the bug in RPC::XML::Server::process_request() could lead to an
  infinite loop if the client shuts down the socket before the full
  request is sent.
  * RPC::XML::smart_encode actually die with an error when a
  reference-type is passed in that cannot be converted.
  * performance improvement
  * fix the XML serialization of double values
* Fri Jul 14 2006 mc@suse.de
- version 0.59
- Fixes to POD documentation
- lib/Apache/RPC/Server.pm:
  Fixed the logic around the setting of $no_def in new(); it was
  handling the no_default method-argument backwards
- fixed some testcases
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Sun Jul 31 2005 cthiel@suse.de
- update to version 0.58
* Fri Apr 01 2005 mc@suse.de
- update to version 0.57
- remove RPC-XML-0.53-http-compress-fix.dif ;
  not needed anymore
* Mon Aug 09 2004 mc@suse.de
- update to version 0.54
* Wed Dec 03 2003 mc@suse.de
- fix http compression (RPC-XML-0.53-http-compress-fix.dif)
* Tue Dec 02 2003 mc@suse.de
- initial version 0.53
openSUSE Build Service is sponsored by