]> git.pld-linux.org Git - packages/perl-FCGI.git/blob - perl-FCGI.spec
- tests added
[packages/perl-FCGI.git] / perl-FCGI.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        FCGI - Fast CGI module
7 Summary(pl):    FCGI - szybki modu³ CGI
8 Name:           perl-FCGI
9 Version:        0.67
10 Release:        2
11 License:        BSD-like
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-module/FCGI/FCGI-%{version}.tar.gz
14 # Source0-md5:  2e9b5bd1f74290fd9788555e8108a3d2
15 Source1:        %{name}-acinclude.m4
16 URL:            http://www.fastcgi.com/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  perl-devel >= 5.6.1
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This is a FastCGI module for perl. It's based on the FCGI module
25 that comes with Open Market's FastCGI Developer's Kit, but does
26 not require you to recompile perl.
27
28 %description -l pl
29 To jest modu³ FastCGI. Jest bazowany na module FCGI dostarczanym
30 z FastCGI Developer's Kit, ale nie wymaga rekompilacji perla.
31
32 %prep
33 %setup -q -n FCGI-%{version}
34 cp -f %{SOURCE1} acinclude.m4
35
36 %build
37 %{__aclocal}
38 %{__autoconf}
39 %configure
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make} \
43         OPTIMIZE="%{rpmcflags}"
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Change* LICENSE.TERMS README echo.fpl
59 %{perl_vendorarch}/FCGI.pm
60 %dir %{perl_vendorarch}/auto/FCGI
61 %{perl_vendorarch}/auto/FCGI/FCGI.bs
62 %attr(755,root,root) %{perl_vendorarch}/auto/FCGI/FCGI.so
63 %{_mandir}/man3/*
This page took 0.048167 seconds and 3 git commands to generate.