]> git.pld-linux.org Git - packages/perl-Frontier-RPC.git/blob - perl-Frontier-RPC.spec
- drop dependency on mod_perl 1.x for apache 1.x
[packages/perl-Frontier-RPC.git] / perl-Frontier-RPC.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Frontier
6 %define pnam    RPC
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
10 Version:        0.07
11 Release:        3
12 # same as perl
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
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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
30 with HTTP::Daemon.
31
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.
38
39 %prep
40 %setup -q -n Frontier-RPC-%{version}b4
41 %patch0 -p1
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc ChangeLog Changes docs README
65 %{perl_vendorlib}/Apache/XMLRPC.pm
66 %{perl_vendorlib}/Frontier
67 %{_mandir}/man3/*
68 %{_examplesdir}/%{name}-%{version}
This page took 0.086742 seconds and 4 git commands to generate.