]> git.pld-linux.org Git - packages/apache1-mod_fastcgi.git/blob - apache1-mod_fastcgi.spec
- release 4.
[packages/apache1-mod_fastcgi.git] / apache1-mod_fastcgi.spec
1 Summary:        Support for the FastCGI protocol for apache webserver
2 Summary(pl):    Obs³uga protoko³u FastCGI dla serwera apache
3 Summary(ru):    FastCGI - ÂÏÌÅÅ ÂÙÓÔÒÁÑ ×ÅÒÓÉÑ CGI
4 Summary(uk):    FastCGI - Â¦ÌØÛ Û×ÉÄËÁ ×ÅÒӦѠCGI
5 Name:           apache-mod_fastcgi
6 Version:        2.2.10
7 Release:        4
8 License:        Open Market
9 Group:          Networking/Daemons
10 Group(cs):      Sí»ové/Démoni
11 Group(da):      Netværks/Dæmoner
12 Group(de):      Netzwerkwesen/Server
13 Group(es):      Red/Servidores
14 Group(fr):      Réseau/Serveurs
15 Group(is):      Net/Púkar
16 Group(it):      Rete/Demoni
17 Group(no):      Nettverks/Daemoner
18 Group(pl):      Sieciowe/Serwery
19 Group(pt):      Rede/Servidores
20 Group(ru):      óÅÔØ/äÅÍÏÎÙ
21 Group(sl):      Omre¾ni/Stre¾niki
22 Group(sv):      Nätverk/Demoner
23 Group(uk):      íÅÒÅÖÁ/äÅÍÏÎÉ
24 Source0:        http://www.FastCGI.com/dist/mod_fastcgi_%{version}.tar.gz
25 URL:            http://www.FastCGI.com/
26 BuildRequires:  apache-devel
27 Requires:       apache >= 1.3.1
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _libexecdir     %{_libdir}/apache
31 %define         _htmldocdir     /home/httpd/manual/mod
32
33 %description
34 This 3rd party module provides support for the FastCGI protocol.
35 FastCGI is a language independent, scalable, open extension to CGI
36 that provides high performance and persistence without the limitations
37 of server specific APIs.
38
39 %description -l pl
40 To jest modu³ apache dodaj±cy obs³ugê protoko³u FastCGI. FastCGI jest
41 niezale¿nym od jêzyka, skalowalnym, otwartym rozszerzeniem CGI daj±cym
42 du¿± wydajno¶æ bez ograniczania API specificznego dla serwera.
43
44 %description -l ru
45 FastCGI - ÒÁÓÛÉÒÅÎÉÅ CGI, ËÏÔÏÒÏÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÓÏÚÄÁ×ÁÔØ
46 ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÅ Internet-ÐÒÉÌÏÖÅÎÉÑ ÂÅÚ ÎÅÏÂÈÏÄÉÍÏÓÔÉ
47 ÉÓÐÏÌØÚÏ×ÁÔØ ÓÐÅÃÉÆÉÞÅÓËÉÅ ÄÌÑ ËÁÖÄÏÇÏ web-ÓÅÒ×ÅÒÁ API.
48
49 óËÏÒÏÓÔØ API web-ÓÅÒ×ÅÒÏ× ÓÏ ×ÓÅÍÉ ÐÒÅÉÍÕÝÅÓÔ×ÁÍÉ CGI.
50
51 %description -l uk
52 FastCGI - ÒÏÚÛÉÒÅÎÎÑ CGI, ÑËÅ ÎÁÄÁ¤ ÍÏÖÌÉצÓÔØ ÓÔ×ÏÒÀ×ÁÔÉ
53 ×ÉÓÏËÏÐÒÏÄÕËÔÉ×Φ Internet-ÐÒÏÇÒÁÍÉ ÂÅÚ ÎÅÏÂȦÄÎÏÓÔ¦ ×ÉËÏÒÉÓÔÁÎÎÑ
54 ÓÐÅÃÉƦÞÎÉÈ ÄÌÑ ËÏÖÎÏÇÏ web-ÓÅÒ×ÅÒÕ API.
55
56 û×ÉÄ˦ÓÔØ API web-ÓÅÒ×ÅҦנڦ ×Ó¦ÍÁ ÐÅÒÅ×ÁÇÁÍÉ CGI.
57
58 %prep
59 %setup -q -n mod_fastcgi_%{version}
60
61 %build
62 apxs -D SUEXEC_BIN="\"\\\"%{_sbindir}/suexec\\\"\"" -o mod_fastcgi.so -c *.c
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_libexecdir},%{_htmldocdir}}
67
68 install mod_fastcgi.so $RPM_BUILD_ROOT%{_libexecdir}
69
70 install docs/*.html $RPM_BUILD_ROOT%{_htmldocdir}
71
72 gzip -9nf docs/LICENSE.TERMS CHANGES
73
74 %post
75 %{_sbindir}/apxs -e -a -n fastcgi %{_libexecdir}/mod_fastcgi.so 1>&2
76 if [ -f /var/lock/subsys/httpd ]; then
77         /etc/rc.d/init.d/httpd restart 1>&2
78 else
79         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
80 fi
81
82 %preun
83 if [ "$1" = "0" ]; then
84         %{_sbindir}/apxs -e -A -n fastcgi %{_libexecdir}/mod_fastcgi.so 1>&2
85         if [ -f /var/lock/subsys/httpd ]; then
86                 /etc/rc.d/init.d/httpd restart 1>&2
87         fi
88 fi
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %doc docs/*.gz *.gz
96 %doc %{_htmldocdir}
97 %attr(755,root,root) %{_libexecdir}/*
This page took 0.055717 seconds and 4 git commands to generate.