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 Group(cs): Sí»ové/Démoni
12 Group(da): Netværks/Dæmoner
13 Group(de): Netzwerkwesen/Server
14 Group(es): Red/Servidores
15 Group(fr): Réseau/Serveurs
17 Group(it): Rete/Demoni
18 Group(no): Nettverks/Daemoner
19 Group(pl): Sieciowe/Serwery
20 Group(pt): Rede/Servidores
21 Group(ru): óÅÔØ/äÅÍÏÎÙ
22 Group(sl): Omre¾ni/Stre¾niki
23 Group(sv): Nätverk/Demoner
24 Group(uk): íÅÒÅÖÁ/äÅÍÏÎÉ
25 Source0: http://www.FastCGI.com/dist/mod_fastcgi_%{version}.tar.gz
26 URL: http://www.FastCGI.com/
27 BuildRequires: apache-devel
28 BuildRequires: %{apxs}
29 Prereq: %{_sbindir}/apxs
30 Requires: apache >= 1.3.1
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _libexecdir %{_libdir}/apache
34 %define _htmldocdir /home/httpd/manual/mod
37 This 3rd party module provides support for the FastCGI protocol.
38 FastCGI is a language independent, scalable, open extension to CGI
39 that provides high performance and persistence without the limitations
40 of server specific APIs.
43 To jest modu³ apache dodaj±cy obs³ugê protoko³u FastCGI. FastCGI jest
44 niezale¿nym od jêzyka, skalowalnym, otwartym rozszerzeniem CGI daj±cym
45 du¿± wydajno¶æ bez ograniczania API specificznego dla serwera.
48 FastCGI - ÒÁÓÛÉÒÅÎÉÅ CGI, ËÏÔÏÒÏÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÓÏÚÄÁ×ÁÔØ
49 ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÅ Internet-ÐÒÉÌÏÖÅÎÉÑ ÂÅÚ ÎÅÏÂÈÏÄÉÍÏÓÔÉ
50 ÉÓÐÏÌØÚÏ×ÁÔØ ÓÐÅÃÉÆÉÞÅÓËÉÅ ÄÌÑ ËÁÖÄÏÇÏ web-ÓÅÒ×ÅÒÁ API.
52 óËÏÒÏÓÔØ API web-ÓÅÒ×ÅÒÏ× ÓÏ ×ÓÅÍÉ ÐÒÅÉÍÕÝÅÓÔ×ÁÍÉ CGI.
55 FastCGI - ÒÏÚÛÉÒÅÎÎÑ CGI, ÑËÅ ÎÁÄÁ¤ ÍÏÖÌÉצÓÔØ ÓÔ×ÏÒÀ×ÁÔÉ
56 ×ÉÓÏËÏÐÒÏÄÕËÔÉ×Φ Internet-ÐÒÏÇÒÁÍÉ ÂÅÚ ÎÅÏÂȦÄÎÏÓÔ¦ ×ÉËÏÒÉÓÔÁÎÎÑ
57 ÓÐÅÃÉƦÞÎÉÈ ÄÌÑ ËÏÖÎÏÇÏ web-ÓÅÒ×ÅÒÕ API.
59 û×ÉÄ˦ÓÔØ API web-ÓÅÒ×ÅÒ¦× Ú¦ ×Ó¦ÍÁ ÐÅÒÅ×ÁÇÁÍÉ CGI.
62 %setup -q -n mod_fastcgi_%{version}
65 %{apxs} -D SUEXEC_BIN="\"\\\"%{_sbindir}/suexec\\\"\"" -o mod_fastcgi.so -c *.c
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_libexecdir},%{_htmldocdir}}
71 install mod_fastcgi.so $RPM_BUILD_ROOT%{_libexecdir}
73 install docs/*.html $RPM_BUILD_ROOT%{_htmldocdir}
75 gzip -9nf docs/LICENSE.TERMS CHANGES
78 %{_sbindir}/apxs -e -a -n fastcgi %{_libexecdir}/mod_fastcgi.so 1>&2
79 if [ -f /var/lock/subsys/httpd ]; then
80 /etc/rc.d/init.d/httpd restart 1>&2
82 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
86 if [ "$1" = "0" ]; then
87 %{_sbindir}/apxs -e -A -n fastcgi %{_libexecdir}/mod_fastcgi.so 1>&2
88 if [ -f /var/lock/subsys/httpd ]; then
89 /etc/rc.d/init.d/httpd restart 1>&2
94 rm -rf $RPM_BUILD_ROOT
97 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libexecdir}/*