2007-01-16 00:31:43 +01:00
|
|
|
#
|
2011-11-11 12:21:52 +01:00
|
|
|
# spec file for package perl-RPC-XML
|
2007-01-16 00:31:43 +01:00
|
|
|
#
|
2015-04-16 19:42:51 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:31:43 +01:00
|
|
|
#
|
2008-08-19 00:23:04 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:31:43 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-11-11 12:21:52 +01:00
|
|
|
|
2007-01-16 00:31:43 +01:00
|
|
|
Name: perl-RPC-XML
|
2015-04-16 19:42:51 +02:00
|
|
|
Version: 0.78
|
2012-06-04 18:12:55 +02:00
|
|
|
Release: 0
|
2011-03-22 07:47:11 +01:00
|
|
|
%define cpan_name RPC-XML
|
2015-04-16 19:42:51 +02:00
|
|
|
Summary: Set of Classes for Core Data, Message and Xml Handling
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2011-03-22 07:47:11 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2012-06-04 18:12:55 +02:00
|
|
|
Url: http://search.cpan.org/dist/RPC-XML/
|
2015-04-16 19:42:51 +02:00
|
|
|
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
|
2012-06-04 18:12:55 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-03-22 07:47:11 +01:00
|
|
|
BuildRequires: perl(LWP) >= 5.834
|
2015-04-16 19:42:51 +02:00
|
|
|
BuildRequires: perl(Module::Load) >= 0.24
|
2011-03-22 07:47:11 +01:00
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.19
|
2015-04-16 19:42:51 +02:00
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
2011-03-22 07:47:11 +01:00
|
|
|
BuildRequires: perl(XML::Parser) >= 2.31
|
|
|
|
Requires: perl(LWP) >= 5.834
|
2015-04-16 19:42:51 +02:00
|
|
|
Requires: perl(Module::Load) >= 0.24
|
2011-03-22 07:47:11 +01:00
|
|
|
Requires: perl(Scalar::Util) >= 1.19
|
2015-04-16 19:42:51 +02:00
|
|
|
Requires: perl(Test::More) >= 0.94
|
2011-03-22 07:47:11 +01:00
|
|
|
Requires: perl(XML::Parser) >= 2.31
|
2015-04-16 19:42:51 +02:00
|
|
|
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
|
2010-12-10 11:58:51 +01:00
|
|
|
%{perl_requires}
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%description
|
2015-04-16 19:42:51 +02:00
|
|
|
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).
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2015-04-16 19:42:51 +02:00
|
|
|
This module provides a set of classes for creating values to pass to the
|
2011-03-22 07:47:11 +01:00
|
|
|
constructors for requests and responses. These are lightweight objects,
|
2015-04-16 19:42:51 +02:00
|
|
|
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).
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2011-03-22 07:47:11 +01:00
|
|
|
This module does not actually provide any transport implementation or
|
2015-04-16 19:42:51 +02:00
|
|
|
server basis. For these, see RPC::XML::Client and RPC::XML::Server,
|
|
|
|
respectively.
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%prep
|
2011-03-22 07:47:11 +01:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2015-04-16 19:42:51 +02:00
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
|
|
|
%patch0
|
|
|
|
%patch1
|
|
|
|
%patch2 -p1
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%build
|
2011-03-22 07:47:11 +01:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%install
|
2011-03-22 07:47:11 +01:00
|
|
|
%perl_make_install
|
2007-01-16 00:31:43 +01:00
|
|
|
%perl_process_packlist
|
2011-03-22 07:47:11 +01:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2011-03-22 07:47:11 +01:00
|
|
|
%files -f %{name}.files
|
2015-04-16 19:42:51 +02:00
|
|
|
%defattr(-,root,root,755)
|
2011-03-22 07:47:11 +01:00
|
|
|
%doc ChangeLog ChangeLog.xml README README.apache2
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2008-04-14 22:15:24 +02:00
|
|
|
%changelog
|