]> git.pld-linux.org Git - packages/perl-FCGI.git/blame - perl-FCGI.spec
- rebuild with perl 5.18.0
[packages/perl-FCGI.git] / perl-FCGI.spec
CommitLineData
1e9bd244 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
15d5e3c9 5%include /usr/lib/rpm/macros.perl
1e9b5247 6%define pdir FCGI
72c273e8 7Summary: FCGI - Fast CGI module
83984e6b 8Summary(pl.UTF-8): FCGI - szybki moduł CGI
f7398792 9Name: perl-FCGI
cf225177 10Version: 0.74
6ec0b9ae 11Release: 2
e95f322f 12License: BSD-like
f7398792 13Group: Development/Languages/Perl
cf225177
JB
14Source0: http://www.cpan.org/modules/by-module/FCGI/FCGI-%{version}.tar.gz
15# Source0-md5: 462a77a0072480fea791a4d3095eb486
e95f322f 16Source1: %{name}-acinclude.m4
cf225177 17URL: http://search.cpan.org/dist/FCGI/
c1fc07bc
JB
18BuildRequires: autoconf
19BuildRequires: automake
3ce485a3 20BuildRequires: perl-devel >= 1:5.8.0
ca69e6ce 21BuildRequires: rpm-perlprov >= 4.1-13
86f4ed51 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f7398792 23
24%description
1e9b5247
ER
25This is a FastCGI module for perl. It's based on the FCGI module that
26comes with Open Market's FastCGI Developer's Kit, but does not require
27you to recompile perl.
f7398792 28
d9fea757
JR
29%description -l pl.UTF-8
30To jest moduł FastCGI. Jest bazowany na module FCGI dostarczanym z
1e9b5247 31FastCGI Developer's Kit, ale nie wymaga rekompilacji Perla.
f7398792 32
33%prep
1e9b5247 34%setup -q -n %{pdir}-%{version}
e95f322f 35cp -f %{SOURCE1} acinclude.m4
f7398792 36
37%build
bf901971 38%{__aclocal}
1144a810 39%{__autoconf}
d9b8c677 40%configure
ca69e6ce 41%{__perl} Makefile.PL \
8a3c4f86 42 INSTALLDIRS=vendor
1e9bd244 43%{__make} \
b9fd4021 44 CC="%{__cc}" \
1e9bd244 45 OPTIMIZE="%{rpmcflags}"
46
47%{?with_tests:%{__make} test}
f7398792 48
49%install
50rm -rf $RPM_BUILD_ROOT
1e9b5247 51install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
f7398792 52
cf225177 53%{__make} pure_install \
1e9bd244 54 DESTDIR=$RPM_BUILD_ROOT
f7398792 55
1e9b5247
ER
56install *.fpl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57
f7398792 58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
1e9b5247 63%doc Change* LICENSE.TERMS README
ca69e6ce 64%{perl_vendorarch}/FCGI.pm
65%dir %{perl_vendorarch}/auto/FCGI
66%{perl_vendorarch}/auto/FCGI/FCGI.bs
67%attr(755,root,root) %{perl_vendorarch}/auto/FCGI/FCGI.so
cf225177 68%{_mandir}/man3/FCGI.3pm*
e5823504
ER
69%dir %{_examplesdir}/%{name}-%{version}
70%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*.fpl
This page took 0.038 seconds and 4 git commands to generate.