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
|
|
|
#
|
2021-03-12 08:52:03 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2019-08-26 16:25:21 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:31:43 +01:00
|
|
|
#
|
|
|
|
|
2011-11-11 12:21:52 +01:00
|
|
|
|
2021-11-03 08:15:23 +01:00
|
|
|
%define cpan_name RPC-XML
|
2007-01-16 00:31:43 +01:00
|
|
|
Name: perl-RPC-XML
|
2021-11-03 08:15:23 +01:00
|
|
|
Version: 0.82
|
2012-06-04 18:12:55 +02:00
|
|
|
Release: 0
|
2019-08-26 16:25:21 +02:00
|
|
|
Summary: Set of classes for core data, message and XML handling
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2021-03-12 08:52:03 +01:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2019-08-26 16:25:21 +02:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}.tar.gz
|
2015-04-16 19:42:51 +02:00
|
|
|
Source1: cpanspec.yml
|
2019-08-26 16:25:21 +02:00
|
|
|
Patch0: RPC-XML-0.77-fixtest.dif
|
2015-04-16 19:42:51 +02:00
|
|
|
BuildArch: noarch
|
2012-06-04 18:12:55 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2021-11-03 08:15:23 +01:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.56
|
|
|
|
BuildRequires: perl(HTTP::Daemon) >= 6.12
|
|
|
|
BuildRequires: perl(HTTP::Message) >= 6.26
|
|
|
|
BuildRequires: perl(IO::Socket::IP)
|
|
|
|
BuildRequires: perl(LWP) >= 6.51
|
|
|
|
BuildRequires: perl(Module::Load) >= 0.36
|
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.55
|
|
|
|
BuildRequires: perl(Test::More) >= 1.302183
|
|
|
|
BuildRequires: perl(XML::Parser) >= 2.46
|
|
|
|
Requires: perl(HTTP::Daemon) >= 6.12
|
|
|
|
Requires: perl(HTTP::Message) >= 6.26
|
|
|
|
Requires: perl(LWP) >= 6.51
|
|
|
|
Requires: perl(Module::Load) >= 0.36
|
|
|
|
Requires: perl(Scalar::Util) >= 1.55
|
|
|
|
Requires: perl(XML::Parser) >= 2.46
|
|
|
|
Recommends: perl(DateTime) >= 1.54
|
|
|
|
Recommends: perl(DateTime::Format::ISO8601) >= 0.15
|
|
|
|
Recommends: perl(XML::LibXML) >= 2.0206
|
2010-12-10 11:58:51 +01:00
|
|
|
%{perl_requires}
|
2021-11-03 08:15:23 +01:00
|
|
|
# MANUAL BEGIN
|
|
|
|
BuildRequires: perl(HTTP::Daemon)
|
|
|
|
# MANUAL END
|
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
|
2021-11-03 08:15:23 +01:00
|
|
|
%autosetup -n %{cpan_name}-%{version} -p1
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%build
|
2019-08-26 16:25:21 +02:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-11-03 08:15:23 +01:00
|
|
|
%make_build
|
2011-03-22 07:47:11 +01:00
|
|
|
|
|
|
|
%check
|
2019-08-26 16:25:21 +02:00
|
|
|
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
|
|
|
|
%doc ChangeLog ChangeLog.xml README README.apache2
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2008-04-14 22:15:24 +02:00
|
|
|
%changelog
|