]> git.pld-linux.org Git - packages/apache1-mod_fastcgi.git/blob - apache1-mod_fastcgi.spec
- updated to 2.4.2
[packages/apache1-mod_fastcgi.git] / apache1-mod_fastcgi.spec
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
7 Version:        2.4.2
8 Release:        1
9 License:        distributable
10 Group:          Networking/Daemons
11 Source0:        http://www.FastCGI.com/dist/mod_fastcgi-%{version}.tar.gz
12 # Source0-md5:  e994414304b535cb99e10b7d1cad1d1e
13 Source1:        70_mod_fastcgi.conf
14 URL:            http://www.FastCGI.com/
15 BuildRequires:  %{apxs}
16 BuildRequires:  apache-devel
17 BuildRequires:  libtool
18 Requires(post,preun):   %{apxs}
19 Requires:       apache >= 1.3.1
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _libexecdir     %{_libdir}/apache
23 %define         _htmldocdir     /home/httpd/manual/mod
24
25 %description
26 This 3rd party module provides support for the FastCGI protocol.
27 FastCGI is a language independent, scalable, open extension to CGI
28 that provides high performance and persistence without the limitations
29 of server specific APIs.
30
31 %description -l pl
32 To jest modu³ apache dodaj±cy obs³ugê protoko³u FastCGI. FastCGI jest
33 niezale¿nym od jêzyka, skalowalnym, otwartym rozszerzeniem CGI daj±cym
34 du¿± wydajno¶æ bez ograniczania API specyficznego dla serwera.
35
36 %description -l ru
37 FastCGI - ÒÁÓÛÉÒÅÎÉÅ CGI, ËÏÔÏÒÏÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÓÏÚÄÁ×ÁÔØ
38 ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÅ Internet-ÐÒÉÌÏÖÅÎÉÑ ÂÅÚ ÎÅÏÂÈÏÄÉÍÏÓÔÉ
39 ÉÓÐÏÌØÚÏ×ÁÔØ ÓÐÅÃÉÆÉÞÅÓËÉÅ ÄÌÑ ËÁÖÄÏÇÏ web-ÓÅÒ×ÅÒÁ API.
40
41 óËÏÒÏÓÔØ API web-ÓÅÒ×ÅÒÏ× ÓÏ ×ÓÅÍÉ ÐÒÅÉÍÕÝÅÓÔ×ÁÍÉ CGI.
42
43 %description -l uk
44 FastCGI - ÒÏÚÛÉÒÅÎÎÑ CGI, ÑËÅ ÎÁÄÁ¤ ÍÏÖÌÉצÓÔØ ÓÔ×ÏÒÀ×ÁÔÉ
45 ×ÉÓÏËÏÐÒÏÄÕËÔÉ×Φ Internet-ÐÒÏÇÒÁÍÉ ÂÅÚ ÎÅÏÂȦÄÎÏÓÔ¦ ×ÉËÏÒÉÓÔÁÎÎÑ
46 ÓÐÅÃÉƦÞÎÉÈ ÄÌÑ ËÏÖÎÏÇÏ web-ÓÅÒ×ÅÒÕ API.
47
48 û×ÉÄ˦ÓÔØ API web-ÓÅÒ×ÅҦנڦ ×Ó¦ÍÁ ÐÅÒÅ×ÁÇÁÍÉ CGI.
49
50 %prep
51 %setup -q -n mod_fastcgi-%{version}
52
53 %build
54 %{__make} -f Makefile.AP2 top_dir=%{_libexecdir} INCLUDES="-I%{_includedir}/apache"
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/httpd/httpd.conf,%{_libexecdir},%{_htmldocdir}}
59
60 libtool --mode=install install mod_fastcgi.la $RPM_BUILD_ROOT%{_libexecdir}
61
62 install docs/*.html $RPM_BUILD_ROOT%{_htmldocdir}
63
64 install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/httpd.conf/
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 if [ -f /var/lock/subsys/httpd ]; then
71         /etc/rc.d/init.d/httpd restart 1>&2
72 else
73         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
74 fi
75  
76 %preun
77 if [ "$1" = "0" ]; then
78         if [ -f /var/lock/subsys/httpd ]; then
79                 /etc/rc.d/init.d/httpd restart 1>&2
80         fi
81 fi
82  
83 %files
84 %defattr(644,root,root,755)
85 %doc docs/LICENSE.TERMS CHANGES
86 %doc %{_htmldocdir}/*
87 %attr(755,root,root) %{_libexecdir}/*
88 %config %{_sysconfdir}/httpd/httpd.conf/*.conf
This page took 0.056147 seconds and 4 git commands to generate.