]> git.pld-linux.org Git - SPECS.git/blob - perl-FCGI-Client.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-FCGI-Client.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define         pdir    FCGI
6 %define         pnam    Client
7 Summary:        FCGI::Client - client library for fastcgi protocol
8 Name:           perl-FCGI-Client
9 Version:        0.09
10 Release:        1
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/FCGI/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  d3e621b79a96ea1463331e33cf337524
16 # generic URL, check or change before uncommenting
17 URL:            http://search.cpan.org/dist/FCGI-Client/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Any-Moose >= 0.13
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 FCGI::Client is client library for fastcgi protocol.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 %{__perl} Build.PL \
34         --destdir=$RPM_BUILD_ROOT \
35         --installdirs=vendor
36 ./Build
37
38 %{?with_tests:./Build test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 ./Build install
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes README.md
51 %{perl_vendorlib}/FCGI/*.pm
52 %{perl_vendorlib}/FCGI/Client
53 %{_mandir}/man3/*
This page took 0.319199 seconds and 3 git commands to generate.