perl-RPC-XML/perl-RPC-XML.spec
Stephan Kulow d9ffb3a72b Accepting request 181567 from openSUSE:Factory:Core
- add RPC-XML-0.77-fixtest.dif to make sure the serialization is 
  reproducible even with hash randomization in perl 5.18 (RT#86187)

OBS-URL: https://build.opensuse.org/request/show/181567
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPC-XML?expand=0&rev=26
2013-07-01 08:20:02 +00:00

91 lines
3.0 KiB
RPMSpec

#
# spec file for package perl-RPC-XML
#
# Copyright (c) 2013 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/
#
Name: perl-RPC-XML
Version: 0.77
Release: 0
%define cpan_name RPC-XML
Summary: A set of classes for core data, message and XML handling
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/RPC-XML/
Source: http://www.cpan.org/authors/id/R/RJ/RJRAY/RPC-XML-%{version}.tar.gz
#PATCH-FIX-OPENSUSE - ro@suse.de - fix build in chroot/buildservice
Patch1: RPC-XML-0.60-rev127.dif
Patch2: RPC-XML-0.76-extern_ent.dif
#PATCH-FIX-UPSTREAM - coolo@suse.de RT#86187
Patch3: RPC-XML-0.77-fixtest.dif
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl(LWP) >= 5.834
BuildRequires: perl(Scalar::Util) >= 1.19
BuildRequires: perl(XML::LibXML) >= 1.70
BuildRequires: perl(XML::Parser) >= 2.31
BuildRequires: perl(constant) >= 1.03
Requires: perl(File::Spec) >= 0.8
Requires: perl(LWP) >= 5.834
Requires: perl(Scalar::Util) >= 1.19
Requires: perl(XML::LibXML) >= 1.70
Requires: perl(XML::Parser) >= 2.31
Requires: perl(constant) >= 1.03
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
The *RPC::XML* package is an implementation of the *XML-RPC* standard.
The package 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 tied scalars so as to associate specific
type information with the value. Classes are also provided for requests,
responses, faults (errors) and a parser based on the the XML::Parser
manpage package from CPAN.
This module does not actually provide any transport implementation or
server basis. For these, see the RPC::XML::Client manpage and the
RPC::XML::Server manpage, respectively.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch1 -p0
%patch2
%patch3 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc ChangeLog ChangeLog.xml README README.apache2
%changelog