3 %bcond_without tests # do not perform "make test"
7 Summary: Frontier::RPC2 - encode/decode RPC2 format XML
8 Summary(pl.UTF-8): Frontier::RPC2 - kodowanie/dekodowanie formatu XML RPC2
9 Name: perl-Frontier-RPC
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/K/KM/KMACLEOD/Frontier-RPC-%{version}b4.tar.gz
16 # Source0-md5: c04582da604f11bdbe60606738f92457
17 Patch0: no-mod_perl-1.x.patch
18 URL: https://metacpan.org/pod/Frontier::RPC2
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-XML-Parser
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Frontier::RPC implements UserLand Software's XML RPC (Remote Procedure
27 Calls using Extensible Markup Language). Frontier::RPC includes both a
28 client module for making requests to a server and several server
29 modules for implementing servers using CGI, Apache, and standalone
32 %description -l pl.UTF-8
33 Frontier::RPC implementuje XML RPC (Remote Procedure Calls - zdalne
34 wywołania przy użyciu języku XML) UserLand Software. Frontier::RPC
35 zawiera zarówno moduł kliencki do wysyłania żądań do serwera, a także
36 kilka modułów serwerowych do implementowania serwerów przy użyciu CGI,
37 Apache'a, a także samodzielnie z użyciem HTTP::Daemon.
40 %setup -q -n Frontier-RPC-%{version}b4
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc ChangeLog Changes docs README
65 %{perl_vendorlib}/Apache/XMLRPC.pm
66 %{perl_vendorlib}/Frontier
68 %{_examplesdir}/%{name}-%{version}