1 %define apxs /usr/sbin/apxs
2 Summary: Support for the FastCGI protocol for apache webserver
3 Summary(pl): Obs³uga protoko³u FastCGI dla serwera apache
4 Summary(ru): FastCGI - ÂÏÌÅÅ ÂÙÓÔÒÁÑ ×ÅÒÓÉÑ CGI
5 Summary(uk): FastCGI - ¦ÌØÛ Û×ÉÄËÁ ×ÅÒÓ¦Ñ CGI
6 Name: apache-mod_fastcgi
10 Group: Networking/Daemons
11 Source0: http://www.FastCGI.com/dist/mod_fastcgi-%{version}.tar.gz
12 # Source0-md5: e4f5b1b185db4774021163dd0fcd2c56
13 Source1: 70_mod_fastcgi.conf
14 URL: http://www.FastCGI.com/
15 BuildRequires: %{apxs}
16 BuildRequires: apache-devel
17 Requires(post,preun): %{apxs}
18 Requires: apache >= 1.3.1
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _libexecdir %{_libdir}/apache
22 %define _htmldocdir /home/httpd/manual/mod
25 This 3rd party module provides support for the FastCGI protocol.
26 FastCGI is a language independent, scalable, open extension to CGI
27 that provides high performance and persistence without the limitations
28 of server specific APIs.
31 To jest modu³ apache dodaj±cy obs³ugê protoko³u FastCGI. FastCGI jest
32 niezale¿nym od jêzyka, skalowalnym, otwartym rozszerzeniem CGI daj±cym
33 du¿± wydajno¶æ bez ograniczania API specyficznego dla serwera.
36 FastCGI - ÒÁÓÛÉÒÅÎÉÅ CGI, ËÏÔÏÒÏÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÓÏÚÄÁ×ÁÔØ
37 ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÅ Internet-ÐÒÉÌÏÖÅÎÉÑ ÂÅÚ ÎÅÏÂÈÏÄÉÍÏÓÔÉ
38 ÉÓÐÏÌØÚÏ×ÁÔØ ÓÐÅÃÉÆÉÞÅÓËÉÅ ÄÌÑ ËÁÖÄÏÇÏ web-ÓÅÒ×ÅÒÁ API.
40 óËÏÒÏÓÔØ API web-ÓÅÒ×ÅÒÏ× ÓÏ ×ÓÅÍÉ ÐÒÅÉÍÕÝÅÓÔ×ÁÍÉ CGI.
43 FastCGI - ÒÏÚÛÉÒÅÎÎÑ CGI, ÑËÅ ÎÁÄÁ¤ ÍÏÖÌÉצÓÔØ ÓÔ×ÏÒÀ×ÁÔÉ
44 ×ÉÓÏËÏÐÒÏÄÕËÔÉ×Φ Internet-ÐÒÏÇÒÁÍÉ ÂÅÚ ÎÅÏÂȦÄÎÏÓÔ¦ ×ÉËÏÒÉÓÔÁÎÎÑ
45 ÓÐÅÃÉƦÞÎÉÈ ÄÌÑ ËÏÖÎÏÇÏ web-ÓÅÒ×ÅÒÕ API.
47 û×ÉÄ˦ÓÔØ API web-ÓÅÒ×ÅÒ¦× Ú¦ ×Ó¦ÍÁ ÐÅÒÅ×ÁÇÁÍÉ CGI.
50 %setup -q -n mod_fastcgi-%{version}
53 mv Makefile.AP2 Makefile
54 make top_dir=/usr/lib/apache INCLUDES=-I/usr/include/apache
57 rm -rf $RPM_BUILD_ROOT
58 libtool --mode=install install -d $RPM_BUILD_ROOT{%{_sysconfdir}/httpd/httpd.conf,%{_libexecdir},%{_htmldocdir}}
59 libtool --mode=install install mod_fastcgi.la $RPM_BUILD_ROOT%{_libexecdir}
60 install docs/*.html $RPM_BUILD_ROOT%{_htmldocdir}
61 install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/httpd.conf/
64 rm -rf $RPM_BUILD_ROOT
67 if [ -f /var/lock/subsys/httpd ]; then
68 /etc/rc.d/init.d/httpd restart 1>&2
70 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
74 if [ "$1" = "0" ]; then
75 if [ -f /var/lock/subsys/httpd ]; then
76 /etc/rc.d/init.d/httpd restart 1>&2
81 %defattr(644,root,root,755)
82 %doc docs/LICENSE.TERMS CHANGES
84 %attr(755,root,root) %{_libexecdir}/*
85 %config %{_sysconfdir}/httpd/httpd.conf/*.conf