8
0
forked from pool/perl-RPC-XML
Files
perl-RPC-XML/perl-RPC-XML.spec

99 lines
3.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-RPC-XML (Version 0.67)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: perl-RPC-XML
BuildRequires: perl-XML-Parser perl-libwww-perl
#BuildRequires: perl-XML-LibXML
Url: http://search.cpan.org/search?module=RPC::XML
License: Artistic License ..
Group: Development/Libraries/Perl
Requires: perl = %{perl_version} perl-XML-Parser perl-libwww-perl
AutoReqProv: on
Summary: A set of classes for core data, message and XML handling
Version: 0.67
Release: 1
Source: RPC-XML-%{version}.tar.bz2
Patch0: RPC-XML-0.53-ext-daemon-and-header-cb.dif
Patch1: RPC-XML-0.60-fix-utf8.dif
Patch2: RPC-XML-0.60-rev127.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The RPC::XML package is a reference implementation of the XML-RPC
standard.
Authors:
--------
Randy J. Ray <rjray@blackperl.com>
%prep
%setup -n RPC-XML-%{version}
%patch0 -p0
%patch1 -p1
%patch2
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
make test
# ---------------------------------------------------------------------------
%install
make DESTDIR=$RPM_BUILD_ROOT \
INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
install_vendor
%perl_process_packlist
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
/usr/bin/make_method
%dir %{perl_vendorlib}/RPC
%dir %{perl_vendorlib}/RPC/XML
%{perl_vendorlib}/RPC/XML.pm
%{perl_vendorlib}/RPC/XML/*
%dir %{perl_vendorlib}/Apache
%dir %{perl_vendorlib}/Apache/RPC
%{perl_vendorlib}/Apache/RPC/*
%dir %{perl_vendorlib}/auto/RPC
%dir %{perl_vendorlib}/auto/RPC/XML
%dir %{perl_vendorlib}/auto/RPC/XML/Server
%dir %{perl_vendorlib}/auto/RPC/XML/Procedure
%dir %{perl_vendorlib}/auto/RPC/XML/Function
%{perl_vendorlib}/auto/RPC/XML/Server/*
%{perl_vendorlib}/auto/RPC/XML/Procedure/*
%{perl_vendorlib}/auto/RPC/XML/Function/*
%dir %{perl_vendorarch}/auto/RPC
%dir %{perl_vendorarch}/auto/RPC/XML
%{perl_vendorarch}/auto/RPC/XML/.packlist
%doc MANIFEST ChangeLog README README.apache2
%{_mandir}/man3/RPC::XML*
%{_mandir}/man3/Apache::RPC::*
%{_mandir}/man1/make_method.1.gz
/var/adm/perl-modules/%{name}
%changelog