8
0
forked from pool/perl-RPC-XML
Files
perl-RPC-XML/perl-RPC-XML.spec
Stephan Kulow 0ac68ec7ef Accepting request 297258 from devel:languages:perl:autoupdate
- updated to 0.78
   see /usr/share/doc/packages/perl-RPC-XML/ChangeLog
  0.78	Thursday February  6, 2014, 08:00:00 PM -0800
  
  	* lib/RPC/XML.pm
  	A patch to loop detection in smart_encode from Dag-Erling
  	Smørgrav. Some other minor bits.
  
  	* lib/RPC/XML/Procedure.pm
  	RT #83108: Fixed a spelling error. Some other fixes, too.
  
  	* lib/RPC/XML.pm
  	RT #86187: Force key-ordering in struct as_string and
  	serialize. Was getting some intermittent bug reports of
  	failures in t/15_serialize.t that amounted to the keys in a
  	fault struct not being in consistent order.
  
  	* lib/RPC/XML.pm
  	* t/15_serialize.t
  	Undo the previous change and fix the test. The previous change
  	didn't feel right, so this rolls it back and fixes the problem
  	at the level of the test, instead.
  
  	* Makefile.PL
  	* lib/RPC/XML.pm
  	* lib/RPC/XML/Client.pm
  	* lib/RPC/XML/Server.pm
  	Replace direct evals for loading optional modules with
  	Module::Load. Required adding this to Makefile.PL because
  	Module::Load is not core in 5.8.8. Also did some slight doc

OBS-URL: https://build.opensuse.org/request/show/297258
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPC-XML?expand=0&rev=28
2015-04-16 17:42:51 +00:00

91 lines
3.1 KiB
RPMSpec

#
# spec file for package perl-RPC-XML
#
# Copyright (c) 2015 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/
#
Name: perl-RPC-XML
Version: 0.78
Release: 0
%define cpan_name RPC-XML
Summary: Set of Classes for Core Data, Message and Xml Handling
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/RPC-XML/
Source0: http://www.cpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: RPC-XML-0.60-rev127.dif
Patch1: RPC-XML-0.76-extern_ent.dif
Patch2: RPC-XML-0.77-fixtest.dif
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(LWP) >= 5.834
BuildRequires: perl(Module::Load) >= 0.24
BuildRequires: perl(Scalar::Util) >= 1.19
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(XML::Parser) >= 2.31
Requires: perl(LWP) >= 5.834
Requires: perl(Module::Load) >= 0.24
Requires: perl(Scalar::Util) >= 1.19
Requires: perl(Test::More) >= 0.94
Requires: perl(XML::Parser) >= 2.31
Recommends: perl(Compress::Raw::Zlib) >= 2.063
Recommends: perl(DateTime) >= 0.70
Recommends: perl(DateTime::Format::ISO8601) >= 0.07
Recommends: perl(XML::LibXML) >= 1.85
%{perl_requires}
%description
The *RPC::XML* package is an implementation of the *XML-RPC* standard. The
package as a whole provides classes for data, for clients, for servers and
for parsers (based on the XML::Parser and XML::LibXML packages from CPAN).
This module provides a set of classes for creating values to pass to the
constructors for requests and responses. These are lightweight objects,
most of which are implemented as blessed scalar references so as to
associate specific type information with the value. Classes are also
provided for requests, responses and faults (errors).
This module does not actually provide any transport implementation or
server basis. For these, see RPC::XML::Client and RPC::XML::Server,
respectively.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%patch0
%patch1
%patch2 -p1
%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 ChangeLog ChangeLog.xml README README.apache2
%changelog