perl-RPC-XML/perl-RPC-XML.spec

Name: perl-RPC-XML
Summary: Data, client and server classes for XML-RPC
Version: 0.71
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/RPC-XML/
Description: The RPC::XML package is an implementation of XML-RPC. The module provides classes for sample client and server implementations, a server designed as an Apache location-handler, and a suite of data-manipulation classes that are used by them.

CentOS 7 x86_64

The build could not start because the following file is missing: RPC-XML-0.71.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: RPC-XML-0.71.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Randy J Ray <rjray$blackperl,com>

# latest version that can be built on el5

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name RPC-XML

Summary: Data, client and server classes for XML-RPC
Name: perl-RPC-XML
Version: 0.71
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/RPC-XML/

Source: http://backpan.cpan.org/modules/by-authors/Randy_J_Ray/RPC-XML-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch

BuildRequires: perl >= 5.6.1
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(constant) >= 1.03
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl(LWP) >= 5.801
BuildRequires: perl(Scalar::Util) >= 1.19
BuildRequires: perl(Test::More)
BuildRequires: perl(XML::Parser) >= 2.31
BuildRequires: rpm-macros-rpmforge
Requires: perl >= 5.6.1
Requires: perl(constant) >= 1.03
Requires: perl(File::Spec) >= 0.8
Requires: perl(LWP) >= 5.801
Requires: perl(Scalar::Util) >= 1.19
Requires: perl(XML::Parser) >= 2.31
### Apparently I used the wrong name: XML-RPC doesn't exist, it's RPC-XML
Obsoletes: perl-XML-RPC

### remove autoreq Perl dependencies
%filter_from_requires /^perl.*/d
%filter_setup

%description
The RPC::XML package is an implementation of XML-RPC. The module provides
classes for sample client and server implementations, a server designed as
an Apache location-handler, and a suite of data-manipulation classes that
are used by them.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog ChangeLog.xml MANIFEST META.yml README README.apache2 SIGNATURE
%doc %{_mandir}/man1/make_method.1*
#%doc %{_mandir}/man3/*
%doc %{_mandir}/man3/Apache::RPC::*.3pm*
%doc %{_mandir}/man3/RPC::XML.3pm*
%doc %{_mandir}/man3/RPC::XML::*.3pm*
%{_bindir}/make_method
%dir %{perl_vendorlib}/auto/RPC/
%{perl_vendorlib}/auto/RPC/XML/
%dir %{perl_vendorlib}/Apache/
%{perl_vendorlib}/Apache/RPC
%dir %{perl_vendorlib}/RPC/
%{perl_vendorlib}/RPC/XML/
%{perl_vendorlib}/RPC/XML.pm

%changelog
* Thu Jun 17 2010 Steve Huff <shuff@vecna.org> - 0.71-1
- Updated to version 0.71.
- Source now comes from backpan.

* Tue Jul 21 2009 Christoph Maser <cmr@financial.com> - 0.67-1
- Updated to version 0.67.

* Mon Jun 22 2009 Christoph Maser <cmr@financial.com> - 0.65-1
- Updated to version 0.65.

* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 0.64-1
- Updated to release 0.64.

* Fri May 02 2008 Dag Wieers <dag@wieers.com> - 0.60-1
- Updated to release 0.60.

* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.59-1
- Updated to release 0.59.

* Wed Jun  8 2005 Dries Verachtert <dries@ulyssis.org> - 0.58-1
- Updated to release 0.58.

* Sat Jan  1 2005 Dries Verachtert <dries@ulyssis.org> - 0.57-1
- Initial package.