]> git.pld-linux.org Git - packages/apache1.git/blob - apache1.spec
e1e858759fdb477c82dbfeebfb071d1af71ff93f
[packages/apache1.git] / apache1.spec
1 # TODO
2 # - split *all* modules to subpackages?
3 #
4 # Conditional build:
5 %bcond_with     rewrite_ldap    # enable ldap map support for mod_rewrite (alpha)
6 %bcond_without  ipv6            # disable IPv6 support
7 #
8 %include        /usr/lib/rpm/macros.perl
9 Summary:        The most widely used Web server on the Internet
10 Summary(cs):    Nejroz¹íøenìj¹í WWW server v Internetu
11 Summary(da):    Den mest brugte web-tjener på Internet
12 Summary(de):    Der am häufigsten verwendete Web-Server im Internet
13 Summary(es):    El servidor web más conocido y usado en Internet
14 Summary(fr):    Le serveur Web le plus utilisé sur Internet
15 Summary(id):    Web server yang paling banyak digunakan di Internet
16 Summary(is):    Vinsælasti vefþjónninn á Netinu
17 Summary(it):    Il web server più diffuso su Internet
18 Summary(ja):    ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤ÇºÇ¤â°ìÈÌŪ¤Ë»ÈÍѤµ¤ì¤Æ¤¤¤ë Web ¥µ¡¼¥Ð¡¼
19 Summary(nb):    Den mest utbredte web-tjeneren på Internett
20 Summary(pl):    Serwer WWW (World Wide Web)
21 Summary(pt):    O servidor Web mais largamente utilizado em toda a Internet
22 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
23 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ Web-Server
24 Summary(sk):    Najviac pou¾ívaný Web server na Internete
25 Summary(sl):    Najbolj uporabljani spletni stre¾nik interneta
26 Summary(sv):    Den mest använda webbservern på Internet
27 Summary(tr):    Lider WWW tarayýcý
28 Summary(uk):    îÁÊÐÏÐÕÌÑÒΦÛÉÊ Web-Server
29 Summary(zh_CN): Internet ÉÏÓ¦ÓÃ×î¹ã·ºµÄ Web ·þÎñ³ÌÐò¡£
30 Name:           apache1
31 Version:        1.3.33
32 Release:        2.4
33 License:        Apache Group
34 Group:          Networking/Daemons
35 Source0:        http://www.apache.org/dist/httpd/apache_%{version}.tar.gz
36 # Source0-md5:  3dfd2c3778f37a2dfc22b97417a61407
37 Source1:        %{name}.init
38 Source2:        %{name}.logrotate
39 Source3:        apache-icons.tar.gz
40 # Source3-md5:  2b085cbc19fd28536dc883f0b864cd83
41 Source4:        %{name}.sysconfig
42 Source5:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/apache-non-english-man-pages.tar.bz2
43 # Source5-md5:  74ff6e8d8a7b365b48ed10a52fbeb84e
44 Source6:        %{name}.monitrc
45 Source7:        %{name}-httpd.conf
46 Source8:        %{name}-common.conf
47 Source9:        %{name}-mod_status.conf
48 Source10:       %{name}-mod_proxy.conf
49 Source11:       %{name}-mod_autoindex.conf
50 Source12:       %{name}-mod_dir.conf
51 Source13:       %{name}-mod_info.conf
52 Source14:       %{name}-mod_log_config.conf
53 Source15:       %{name}-mod_userdir.conf
54 Source16:       %{name}-mod_mime_magic.conf
55 Source17:       %{name}-mod_alias.conf
56 Source18:       %{name}-mod_negotiation.conf
57 Source19:       %{name}-mod_mime.conf
58 Source20:       %{name}-mod_actions.conf
59 Source21:       %{name}-mod_cern_meta.conf
60 Source22:       %{name}-mod_setenvif.conf
61 Source23:       %{name}-mod_vhost_alias.conf
62 Source24:       %{name}-errordocs.conf
63 Patch0:         %{name}-PLD.patch
64 Patch1:         %{name}-suexec.patch
65 Patch2:         %{name}-errordocs.patch
66 Patch3:         %{name}-apxs.patch
67 Patch4:         %{name}-mod_ssl-addon.patch
68 Patch5:         %{name}-mod_ssl-eapi.patch
69 Patch6:         %{name}-EAPI_MM_CORE_PATH-correction.patch
70 Patch7:         %{name}-EAPI_MM=SYSTEM.patch
71 Patch8:         %{name}-ipv6-PLD.patch
72 Patch9:         %{name}-modules_symbols.patch
73 Patch10:        %{name}-apxs_force_rm_cp.patch
74 Patch11:        %{name}-db3.patch
75 Patch12:        %{name}-lookup_map_ldap.patch
76 Patch13:        %{name}-man.patch
77 Patch14:        %{name}-fpic.patch
78 Patch15:        %{name}-buff.patch
79 Patch16:        %{name}-mkstemp.patch
80 Patch17:        %{name}-EAPI-missing_files.patch
81 Patch18:        %{name}-PLD-nov6.patch
82 Patch19:        %{name}-configdir_skip_backups.patch
83 Patch20:        %{name}-apxs-quiet.patch
84 Patch21:        %{name}-db4.patch
85 URL:            http://www.apache.org/
86 BuildRequires:  db-devel >= 4.1
87 BuildRequires:  mm-devel >= 1.3.0
88 %{?with_rewrite_ldap:BuildRequires:     openldap-devel}
89 BuildRequires:  rpmbuild(macros) >= 1.159
90 BuildRequires:  rpm-perlprov
91 PreReq:         mm
92 PreReq:         perl-base
93 PreReq:         rc-scripts
94 Requires(pre):  /bin/id
95 Requires(pre):  /usr/bin/getent
96 Requires(pre):  /usr/bin/getgid
97 Requires(pre):  /usr/sbin/groupadd
98 Requires(pre):  /usr/sbin/useradd
99 Requires(pre):  /usr/sbin/usermod
100 Requires(pre):  textutils
101 Requires(post,preun):   /sbin/chkconfig
102 Requires(postun):       /usr/sbin/groupdel
103 Requires(postun):       /usr/sbin/userdel
104 Requires(triggerpostun):        sed >= 4.0
105 Requires:       /etc/mime.types
106 Requires:       %{name}-apxs = %{version}-%{release}
107 Requires:       mailcap
108 Requires:       psmisc >= 20.1
109 Provides:       %{name}(EAPI) = %{version}-%{release}
110 Provides:       group(http)
111 Provides:       httpd
112 Provides:       user(http)
113 Provides:       webserver = apache
114 Provides:       apache = %{version}-%{release}
115 %{?with_ipv6:Provides:  apache(ipv6)}
116 Obsoletes:      apache < 2.0.0
117 Obsoletes:      apache-extra
118 Obsoletes:      apache6
119 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
120
121 %define         _sysconfdir     /etc/apache
122 %define         _includedir     %{_prefix}/include/apache1
123 %define         _libexecdir     %{_prefix}/%{_lib}/apache1
124 %define         _datadir        %{httpdir}
125 %define         apxs            /usr/sbin/apxs1
126 %define         httpdir         /home/services/apache
127 %define         manualdir       %{_prefix}/share/apache1-manual
128
129 %description
130 Apache is a powerful, full-featured, efficient and freely-available
131 Web server. Apache is also the most popular Web server on the
132 Internet.
133
134 %description -l cs
135 Apache je výkonný plnì funkèní efektivní a volnì dostupný WWW server.
136 Je to nejpopulárnìj¹í WWW server v Internetu.
137
138 %description -l da
139 Apache er en stærk, funktionsrig, effektiv og frit tilgængelig
140 web-tjener. Apache er også den mest populære web-tjener på Internet.
141
142 %description -l de
143 Apache ist ein leistungsfähiger, frei verfügbarer und effizienter
144 Web-Server mit umfassenden Funktionen. Apache ist zudem der populärste
145 Web-Server im Internet.
146
147 %description -l es
148 El servidor web Apache es el mejor servidor gratuito disponible en el
149 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
150 que browsers web vean documentos y sometan datos remotamente. Puede
151 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
152 caché, y nos ofrece características como monitor de estado, conversión
153 dinámica de tipo, y otras más.
154
155 %description -l fr
156 Apache est un serveur Web puissant, efficace, gratuit et complet.
157 Apache est aussi le serveur Web le plus populaire sur Internet.
158
159 %description -l id
160 Apache adalah Web server yang powerful, efisien, kaya akan feature,
161 dan tersedia dengan free. Apache juga merupakan Web server yang paling
162 populer di Internet.
163
164 %description -l is
165 Apache er mjög öflugur og háþróaður vefþjónn sem er ókeypis. Apache er
166 einnig mest notaði vefþjónninn á Internetinu.
167
168 %description -l it
169 Apache è un Web server potente, dotato di tutte le caratteristiche,
170 efficiente e gratuito. Ed è anche il web server più diffuso su
171 Internet.
172
173 %description -l ja
174 Apache ¤Ï¶¯ÎϤǽ¼¼Â¤·¤¿µ¡Ç½¤ò»ý¤Ä̵½þ¤Î Web ¥µ¡¼¥Ð¡¼
175 ¤Ç¤¹¡£¤Þ¤¿¡¢apache ¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤ÇºÇ¤â°ìÈÌŪ¤Ë»ÈÍÑ ¤µ¤ì¤Æ¤¤¤ë Web
176 ¥µ¡¼¥Ð¡¼¤Ç¤¹¡£
177
178 %description -l nb
179 Apache er en kraftig, funksjonsrik, effektiv og fritt tilgjengelig
180 web-tjener. Apache er også den mest populære web-tjeneren på Internet.
181
182 %description -l pl
183 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
184 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
185
186 %description -l pt
187 O Apache é um servidor de Web poderoso, cheio de potencialidades,
188 eficiente e gratuito. O Apache é também o servidor Web mais conhecido
189 na Internet.
190
191 %description -l pt_BR
192 O servidor web Apache é o melhor servidor gratuito disponível no mundo
193 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
194 que browsers web vejam documentos e submetam dados remotamente. Ele
195 pode executar várias funções diferentes, incluindo funções de proxy e
196 cache, e oferece características como monitor de status, conversão
197 dinâmica de tipo, e mais.
198
199 %description -l ru
200 Apache - ÜÔÏ ÍÏÝÎÙÊ, ÐÏÌÎÏÆÕÎËÃÉÏÎÁÌØÎÙÊ, ÜÆÆÅËÔÉ×ÎÙÊ, Ó×ÏÂÏÄÎÏ
201 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ É ÓÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ × Internet WWW-ÓÅÒ×ÅÒ.
202
203 %description -l sk
204 Apache je výkonný, efektívny a voµne dostupný Web server, bohatý na
205 funkcie. Apache je tie¾ najpopulárnej¹ím Web serverom na Internete.
206
207 %description -l sv
208 Apache är en kraftfull, finessrik, effektiv och fritt tillgänglig
209 webbserver. Apache är också den populäraste webbservern på Internet.
210
211 %description -l tr
212 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
213 sunucusudur.
214
215 %description -l zh_CN
216 Apache Êǹ¦ÄÜÇ¿¾¢ÆëÈ«¡¢¸ßЧÇÒÃâ·ÑÌṩµÄ Web ·þÎñ³ÌÐò£¬ Í¬Ê±Ò²ÊÇ
217 Internet ÉÏ×îÁ÷ÐеĠWeb ·þÎñ³ÌÐò¡£
218
219 Èç¹ûÄúÐèÒª Web ·þÎñ³ÌÐò£¬Çë°²×° apache Èí¼þ°ü¡£
220
221 %package suexec
222 Summary:        Apache suexec wrapper
223 Summary(pl):    Suexec wrapper do serwera WWW Apache
224 Summary(ru):    Apache suEXEC CGI wrapper
225 Summary(uk):    Apache suEXEC CGI wrapper
226 Group:          Networking/Daemons
227 Requires:       %{name}(EAPI) = %{version}-%{release}
228 Obsoletes:      apache-suexec < 2.0.0
229
230 %description suexec
231 The suEXEC feature provides Apache users the ability to run CGI and
232 SSI programs under user IDs different from the user ID of the calling
233 web-server. Normally, when a CGI or SSI program executes, it runs as
234 the same user who is running the web server.
235
236 %description suexec -l pl
237 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
238 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
239 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
240
241 %description suexec -l ru
242 ðÁËÅÔ suEXEC ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ CGI-ÐÒÏÇÒÁÍÍÙ ÐÏÄ user-id, ÏÔÌÉÞÎÙÍÉ
243 ÏÔ ÔÏÇÏ, ÐÏÄ ËÏÔÏÒÙÍ ÒÁÂÏÔÁÅÔ ×ÙÚÙ×ÁÀÝÉÊ ÉÈ web-ÓÅÒ×ÅÒ. âÕÄÕÞÉ
244 ÐÒÁ×ÉÌØÎÏ ÉÓÐÏÌØÚÏ×ÁÎÎÙÍ, ÜÔÏÔ ÐÁËÅÔ ÐÏÚ×ÏÌÑÅÔ ÚÁÍÅÔÎÏ ÓÎÉÚÉÔØ ÒÉÓË
245 ÎÁÒÕÛÅÎÉÑ ÓÉÓÔÅÍÎÏÊ ÂÅÚÏÐÁÓÎÏÓÔÉ, ×ÙÚ×ÁÎÎÙÊ ÒÁÚÒÅÛÅÎÉÅÍ ÚÁÐÕÓËÁ
246 ÐÏÌØÚÏ×ÁÔÅÌÑÍ CGI-ÐÒÏÇÒÁÍÍ. ÷ÍÅÓÔÅ Ó ÔÅÍ, ÂÕÄÕÞÉ ÎÅÐÒÁ×ÉÌØÎÏ
247 ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÎÎÙÍ, ÜÔÏÔ ÐÁËÅÔ ÍÏÖÅÔ ÒÁÚÒÕÛÉÔØ ×ÁÛÕ ÓÉÓÔÅÍÕ, ÓÖÅÞØ ×ÁÛ
248 ÄÏÍ É ÕËÒÁÓÔØ ÄÅÎØÇÉ ÉÚ ×ÁÛÅÇÏ ÐÅÎÓÉÏÎÎÏÇÏ ÆÏÎÄÁ :)). åÓÌÉ ×Ù ÎÅ
249 ÉÍÅÅÔÅ ÏÐÙÔÁ ÒÁÂÏÔÙ Ó setuid root ÐÒÏÇÒÁÍÍÁÍÉ É ÐÒÏÂÌÅÍÁÍÉ ÓÉÓÔÅÍÎÏÊ
250 ÂÅÚÏÐÁÓÎÏÓÔÉ, ÐÏÒÏÖÄÅÎÎÙÍÉ ÉÈ ÐÒÉÍÅÎÅÎÉÅÍ, ÎÁÓÔÏÑÔÅÌØÎÏ ÒÅËÏÍÅÎÄÕÅÍ ÎÅ
251 ÉÓÐÏÌØÚÏ×ÁÔØ ÜÔÏÇÏ ÐÁËÅÔÁ...
252
253 %description suexec -l uk
254 ðÁËÅÔ suEXEC ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ CGI-ÐÒÏÇÒÁÍɠЦĠuser-id, ×¦ÄͦÎÎÉÍ
255 צĠÔÏÇÏ, Ð¦Ä ÑËÉÍ ÐÒÁÃÀ¤ ÓÅÒ×ÅÒ. ðÒÉ ÐÒÁ×ÉÌØÎÏÍÕ ×ÉËÏÒÉÓÔÁÎΦ, ÃÅÊ
256 ÐÁËÅÔ ÄÏÚ×ÏÌѤ ÐÏͦÔÎÏ ÚÎÉÚÉÔÉ ÒÉÚÉË ÐÏÒÕÛÅÎÎÑ ÓÉÓÔÅÍÎϧ ÂÅÚÐÅËÉ,
257 ×ÉËÌÉËÁÎÉÊ ÄÏÚ×ÏÌÏÍ ÚÁÐÕÓËÕ ËÏÒÉÓÔÕ×ÁÞÁÍÉ CGI-ÐÒÏÇÒÁÍ. òÁÚÏÍ Ú ÔÉÍ,
258 ÐÒÉ ÎÅצÒÎÏÍÕ ËÏÎƦÇÕÒÕ×ÁÎΦ, ÃÅÊ ÐÁËÅÔ ÍÏÖÅ ÚÒÕÊÎÕ×ÁÔÉ ×ÁÛÉ ÓÉÓÔÅÍÕ,
259 ÓÐÁÌÉÔÉ ×Á۠Ħ͠¦ ×ËÒÁÓÔÉ ÇÒÏÛ¦ Ú ×ÁÛÏÇÏ ÐÅÎÓ¦ÊÎÏÇÏ ÆÏÎÄÕ :)). ñËÝÏ ×É
260 ÎÅ ÍÁ¤ÔÅ ÄÏÓצÄÕ ÒÏÂÏÔÉ Ú setuid root ÐÒÏÇÒÁÍÁÍÉ ÔÁ ÐÒÏÂÌÅÍÁÍÉ
261 ÓÉÓÔÅÍÎϧ ÂÅÚÐÅËÉ, ËÏÔÒ¦ ÐÏÒÏÄÖÅΦ ×ÉËÏÒÉÓÔÁÎÎÑÍ ÔÁËÉÈ ÐÒÏÇÒÁÍ,
262 ÎÁÓÔ¦ÊÌÉ×Ï ÒÁÄÉÍÏ ÎÅ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÃØÏÇÏ ÐÁËÅÔÕ...
263
264 %package apxs
265 Summary:        APache eXtenSion tool
266 Summary(pl):    Narzêdzie do rozszerzania Apache'a
267 Group:          Development/Tools
268
269 %description apxs
270 APache eXtenSion tool.
271
272 %description apxs -l pl
273 Narzêdzie do rozszerzania Apache'a.
274
275 %package tools
276 Summary:        Apache tools
277 Summary(pl):    Narzêdzia Apache'a
278 Group:          Development/Tools
279
280 %description tools
281 Apache tools.
282
283 %description tools -l pl
284 Narzêdzia Apache'a.
285
286 %package index
287 Summary:        Apache index.html* files
288 Summary(pl):    Pliki Apache index.html*
289 Group:          Documentation
290 Requires:       %{name} = %{version}-%{release}
291 Obsoletes:      indexhtml
292
293 %description index
294 Apache index.html* files.
295
296 %description index -l pl
297 Pliki Apache index.html*.
298
299 %package doc
300 Summary:        Apache 1.3.x manual
301 Summary(pl):    Podrêcznik do Apache'a 1.3.x
302 Group:          Documentation
303 Requires:       %{name} = %{version}-%{release}
304
305 %description doc
306 Apache 1.3.x manual.
307
308 %description doc -l pl
309 Podrêcznik do Apache'a 1.3.x.
310
311 %package devel
312 Summary:        Module development tools for the Apache web server
313 Summary(cs):    Hlavièkové soubory pro Apache Web server
314 Summary(da):    Header-filer for Apache webserveren
315 Summary(de):    Include-Dateien für den Apache Web-Server
316 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
317 Summary(fr):    Fichiers à inclure pour le serveur Web Apache
318 Summary(id):    File header untuk Apache Web server
319 Summary(is):    Hausaskrár með Apache vefþjóninum
320 Summary(it):    File include per il web server Apache
321 Summary(ja):    Apache Web ¥µ¡¼¥Ð¡¼ÍѤγ«È¯¥Ä¡¼¥ë
322 Summary(nb):    Headerfiler for webtjeneren Apache
323 Summary(pl):    Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
324 Summary(pt):    Ficheiros de inclusão para o servidor Web Apache
325 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
326 Summary(ru):    æÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ web server'Á Apache
327 Summary(sk):    Hlavièkové súbory pre Apache Web server
328 Summary(sl):    Glave za spletni stre¾nik Apache
329 Summary(sv):    Huvudfiler för webbservern Apache
330 Summary(uk):    úÁÓÏÂÉ ÓÔ×ÏÒÅÎÎÑ ÍÏÄÕ̦נÄÌÑ web server'Õ Apache
331 Summary(zh_CN): ÓÃÓÚ Apache Web ·þÎñ³ÌÐòµÄ¿ª·¢¹¤¾ß¡£
332 Group:          Networking/Utilities
333 Requires:       %{name}-apxs = %{version}-%{release}
334 Provides:       %{name}(EAPI)-devel = %{version}-%{release}
335 Provides:       apache(EAPI)-devel = %{version}-%{release}
336 %{?with_ipv6:Provides:  apache(ipv6)-devel}
337 Obsoletes:      apache-devel < 2.0.0
338
339 %description devel
340 The apache-devel package contains header files for Apache.
341
342 %description devel -l cs
343 Balíèek apache-devel obsahuje hlavièkové soubory pro Apache.
344
345 %description devel -l da
346 Apache-devel pakken indeholder headerfiler for Apache.
347
348 %description devel -l de
349 Das Paket apache-devel enthält Header-Dateien für Apache.
350
351 %description devel -l es
352 Este paquete contiene los archivos de inclusión para el Apache.
353
354 %description devel -l fr
355 Le package apache-devel contient le code source pour le serveur Web
356 Apache.
357
358 %description devel -l id
359 Package apache-devel berisi source code dari Apache Web server.
360
361 %description devel -l is
362 Apache-devel pakkinn inniheldur frumkóða Apache vefþjónsins.
363
364 %description devel -l it
365 Il pacchetto apache-devel contiene i file header per Apache.
366
367 %description devel -l nb
368 Apache-devel pakken inneholder headerfiler for Apache.
369
370 %description devel -l pl
371 Pliki nag³ówkowe dla serwera WWW Apache.
372
373 %description devel -l pt
374 O pacote apache-devel contém outros ficheiros para o Apache.
375
376 %description devel -l pt_BR
377 Este pacote contem os arquivos de inclusão para o Apache.
378
379 %description devel -l ru
380 ðÁËÅÔ apache-devel ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ ÄÌÑ Web Server'Á.
381
382 %description devel -l sk
383 Balík apache-devel obsahuje zdrojový kód Apache Web servera.
384
385 %description devel -l sv
386 Paketet apache-devel innehåller huvudfilerna för Apache.
387
388 %description devel -l uk
389 ðÁËÅÔ apache-devel Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÄÌÑ Web Server'Á.
390
391 %package mod_actions
392 Summary:        Apache module for run CGI whenever a file of a certain type is requested
393 Summary(pl):    Modu³ dla apache do uruchamiania skryptów cgi
394 Group:          Networking/Daemons
395 Requires:       %{name}(EAPI) = %{version}-%{release}
396 Provides:       apache-mod_actions = %{version}-%{release}
397 Obsoletes:      apache-mod_actions < 2.0.0
398
399 %description mod_actions
400 This package contains mod_actions module. This module lets you run CGI
401 scripts whenever a file of a certain type is requested. This makes it
402 much easier to execute scripts that process files.
403
404 %description mod_actions -l pl
405 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
406 ¿±danie pobrania pliku okre¶lonego typu.
407
408 %package mod_auth
409 Summary:        Apache module with user authentication using textual files
410 Summary(pl):    Modu³ autentykacji u¿ytkownika przy u¿yciu plików tekstowych dla Apache
411 Group:          Networking/Daemons
412 Requires:       %{name}(EAPI) = %{version}-%{release}
413 Provides:       apache-mod_auth = %{version}-%{release}
414 Obsoletes:      apache-mod_auth < 2.0.0
415
416 %description mod_auth
417 This package contains mod_auth module. It provides for user
418 authentication using textual files.
419
420 %description mod_auth -l pl
421 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji przy
422 u¿yciu plików tekstowych.
423
424 %package mod_auth_anon
425 Summary:        Apache module with "anonymous" user access authentication
426 Summary(pl):    Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
427 Group:          Networking/Daemons
428 Requires:       %{name}(EAPI) = %{version}-%{release}
429 Provides:       apache-mod_auth_anon = %{version}-%{release}
430 Obsoletes:      apache-mod_auth_anon < 2.0.0
431
432 %description mod_auth_anon
433 This package contains mod_auth_anon module. It allows "anonymous" user
434 access to authenticated areas. It does access control in a manner
435 similar to anonymous FTP sites; i.e. have a 'magic' user id
436 'anonymous' and the email address as a password. These email addresses
437 can be logged. Combined with other (database) access control methods,
438 this allows for effective user tracking and customization according to
439 a user profile while still keeping the site open for 'unregistered'
440 users. One advantage of using Auth-based user tracking is that, unlike
441 magic-cookies and funny URL pre/postfixes, it is completely browser
442 independent and it allows users to share URLs.
443
444 %description mod_auth_anon -l pl
445 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
446 anonimowych serwerów FTP (u¿ytkownik ,,anonymous'' oraz has³o w
447 postaci adresu pocztowego u¿ytkownika).
448
449 %package mod_auth_db
450 Summary:        Apache module with user authentication which uses Berkeley DB files
451 Summary(pl):    Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
452 Group:          Networking/Daemons
453 Requires(triggerpostun):        %{apxs}
454 Requires:       %{name}(EAPI) = %{version}-%{release}
455 Provides:       apache-mod_auth_db = %{version}-%{release}
456 Obsoletes:      apache-mod_auth_db < 2.0.0
457
458 %description mod_auth_db
459 This package contains mod_auth_db module. It provides for user
460 authentication using Berkeley DB files. It is an alternative to DBM
461 files for those systems which support DB and not DBM. It is only
462 available in Apache 1.1 and later.
463
464 %description mod_auth_db -l pl
465 Ten pakiet zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
466 ale jako plików danych u¿ywa Berkeley DB.
467
468 %package mod_auth_digest
469 Summary:        Apache user authentication module using MD5 Digest Authentication
470 Summary(pl):    Modu³ apache do autoryzacji MD5
471 Group:          Networking/Daemons
472 Requires:       %{name}(EAPI) = %{version}-%{release}
473 Obsoletes:      %{name}-mod_digest
474 Provides:       apache-mod_auth_digest = %{version}-%{release}
475 Obsoletes:      apache-mod_auth_digest < 2.0.0
476
477 %description mod_auth_digest
478 This package contains mod_digest module. It provides user
479 authentication using MD5 Digest Authentication.
480
481 %description mod_auth_digest -l pl
482 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
483 Authentication.
484
485 %package mod_autoindex
486 Summary:        Apache module - display index of files
487 Summary(pl):    Modu³ apache do wy¶wietlania indeksu plików
488 Group:          Networking/Daemons
489 Requires(triggerpostun):        %{apxs}
490 Provides:       apache-mod_autoindex = %{version}-%{release}
491 Requires:       %{name}(EAPI) = %{version}-%{release}
492
493 %description mod_autoindex
494 This package contains mod_autoindex module. It provides
495 generation index of files.
496
497 %description mod_autoindex -l pl
498 Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
499
500 %package mod_define
501 Summary:        Apache module - authentication variables for arbitrary directives
502 Summary(pl):    Modu³ apache do definiowania zmiennych
503 Group:          Networking/Daemons
504 Requires:       %{name}(EAPI) = %{version}-%{release}
505 Provides:       apache-mod_define = %{version}-%{release}
506 Obsoletes:      apache-mod_define < 2.0.0
507
508 %description mod_define
509 It provides the definition variables for arbitrary directives, i.e.
510 variables which can be expanded on any(!) directive line.
511
512 %description mod_define -l pl
513 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
514
515 %package mod_digest
516 Summary:        Older version of apache user authentication module using MD5 Digest Authentication
517 Summary(pl):    Starsza wersja modu³u apache do autoryzacji MD5
518 Group:          Networking/Daemons
519 Requires:       %{name}(EAPI) = %{version}-%{release}
520 Provides:       apache-mod_digest = %{version}-%{release}
521 Obsoletes:      apache-mod_digest < 2.0.0
522
523 %description mod_digest
524 This package contains mod_digest module. It provides user
525 authentication using MD5 Digest Authentication. It implements an older
526 version of the MD5 Digest Authentication specification which will
527 probably not work with modern browsers. Please take a look at
528 mod_auth_digest which implements the most recent version of the
529 standard.
530
531 %description mod_digest -l pl
532 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
533 Authentication. Implementuje on jedynie starsz± wersjê specyfikacji
534 autentykacji MD5, i mo¿e nie dzia³aæ z nowoczesnymi przegl±darkami.
535 Sprawd¼ mod_auth_digest je¶li potrzebujesz implementacji najnowszej
536 wersji standardu.
537
538 %package mod_dir
539 Summary:        Apache module for "trailing slash" redirects and serving directory index files
540 Summary(pl):    Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
541 Group:          Networking/Daemons
542 Requires:       %{name}(EAPI) = %{version}-%{release}
543 Provides:       apache-mod_dir = %{version}-%{release}
544 Obsoletes:      apache-mod_dir < 2.0.0
545
546 %description mod_dir
547 This package contains mod_dir which provides "trailing slash"
548 redirects and serving directory index files.
549
550 %description mod_dir -l pl
551 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
552
553 %package mod_expires
554 Summary:        Apache module which generates Expires HTTP headers
555 Summary(pl):    Modu³ generuj±cy nag³ówki HTTP Expires
556 Group:          Networking/Daemons
557 Requires:       %{name}(EAPI) = %{version}-%{release}
558 Provides:       apache-mod_expires = %{version}-%{release}
559 Obsoletes:      apache-mod_expires < 2.0.0
560
561 %description mod_expires
562 This module controls the setting of the Expires HTTP header in server
563 responses. The expiration date can set to be relative to either the
564 time the source file was last modified, or to the time of the client
565 access.
566
567 %description mod_expires -l pl
568 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
569 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
570 ¼ród³owych lub odwo³ania klienta.
571
572 %package mod_headers
573 Summary:        Apache module allows for the customization of HTTP response headers
574 Summary(pl):    Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
575 Group:          Networking/Daemons
576 Requires:       %{name}(EAPI) = %{version}-%{release}
577 Provides:       apache-mod_headers = %{version}-%{release}
578 Obsoletes:      apache-mod_headers < 2.0.0
579
580 %description mod_headers
581 This package contains mod_headers module. The module allows for the
582 customization of HTTP response headers. Headers can be merged,
583 replaced or removed.
584
585 %description mod_headers -l pl
586 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
587 wysy³anych do przegl±darki.
588
589 %package mod_imap
590 Summary:        Apache module with imap-file handler
591 Summary(pl):    Modu³ z obs³ug± imap-file
592 Group:          Networking/Daemons
593 Requires:       %{name}(EAPI) = %{version}-%{release}
594 Provides:       apache-mod_imap = %{version}-%{release}
595 Obsoletes:      apache-mod_imap < 2.0.0
596
597 %description mod_imap
598 This package contains mod_imap module. It provides for .map files,
599 replacing the functionality of the imagemap CGI program. Any directory
600 or document type configured to use the handler imap-file.
601
602 %description mod_imap -l pl
603 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
604
605 %package mod_info
606 Summary:        Apache module with comprehensive overview of the server configuration
607 Summary(pl):    Modu³ dostarczaj±cy informacji na temat serwera.
608 Group:          Networking/Daemons
609 Requires:       %{name}(EAPI) = %{version}-%{release}
610 Provides:       apache-mod_info = %{version}-%{release}
611 Obsoletes:      apache-mod_info < 2.0.0
612
613 %description mod_info
614 This package contains mod_info module. It provides a comprehensive
615 overview of the server configuration including all installed modules
616 and directives in the configuration files.
617
618 %description mod_info -l pl
619 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
620 modu³ach itp.
621
622 %package mod_log_forensic
623 Summary:        Apache module for forensic logging of the requests
624 Summary:        Modu³ Apache'a do logowania ¿±dañ w celu pó¼niejszej analizy
625 Group:          Networking/Daemons
626 Requires:       %{name}(EAPI) = %{version}-%{release}
627 Provides:       apache-mod_log_forensic = %{version}-%{release}
628 Obsoletes:      apache-mod_log_forensic < 2.0.0
629
630 %description mod_log_forensic
631 This module provides for forensic logging of client requests. Logging
632 is done before and after processing a request.
633
634 %description mod_log_forensic -l pl
635 Ten modu³ pozwala na logowanie ¿±dañ w celu pó¼niejszej analizy.
636 Logowanie jest wykonywane przed i po przetworzeniu ¿±dania.
637
638 %package mod_mmap_static
639 Summary:        Apache module for mmap()ing statically configured list files
640 Summary(pl):    Modu³ s³u¿±cy do mmap()owania plików.
641 Group:          Networking/Daemons
642 Requires:       %{name}(EAPI) = %{version}-%{release}
643 Provides:       apache-mod_mmap_static = %{version}-%{release}
644 Obsoletes:      apache-mod_mmap_static < 2.0.0
645
646 %description mod_mmap_static
647 This package contains mod_mmap_static module. It provides mmap()ing of
648 a statically configured list of frequently requested but not changed
649 files.
650
651 %description mod_mmap_static -l pl
652 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
653 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
654
655 %package mod_proxy
656 Summary:        Apache module with Web proxy
657 Summary(pl):    Modu³ dodaj±cy obs³ugê serwera proxy
658 Group:          Networking/Daemons
659 Requires(post,preun):   %{name}(EAPI) = %{version}-%{release}
660 Requires(triggerpostun):        %{apxs}
661 Requires:       %{name}(EAPI) = %{version}-%{release}
662 Provides:       apache-mod_proxy = %{version}-%{release}
663 Obsoletes:      apache-mod_proxy < 2.0.0
664
665 %description mod_proxy
666 This package contains module with implementation a proxy/cache for
667 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
668 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
669 other proxy modules for these and other protocols.
670
671 %description mod_proxy -l pl
672 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
673 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
674 HTTP/1.0.
675
676 %package mod_rewrite
677 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
678 Summary(pl):    Modu³ do ,,przepisywania'' adresów URL w locie
679 Group:          Networking/Daemons
680 Requires:       %{name}(EAPI) = %{version}-%{release}
681 Provides:       apache-mod_rewrite = %{version}-%{release}
682 Obsoletes:      apache-mod_rewrite < 2.0.0
683
684 %description mod_rewrite
685 This package contains It provides a rule-based rewriting engine to
686 rewrite requested URLs on the fly.
687
688 %description mod_rewrite -l pl
689 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
690
691 %package mod_status
692 Summary:        Server status report module for apache
693 Summary(pl):    Modu³ dostarczaj±cy informacje statystyczne o serwerze.
694 Group:          Networking/Daemons
695 Requires(post,preun):   %{name}(EAPI) = %{version}-%{release}
696 Requires(triggerpostun):        %{apxs}
697 Requires:       %{name}(EAPI) = %{version}-%{release}
698 Provides:       apache-mod_status = %{version}-%{release}
699 Obsoletes:      apache-mod_status < 2.0.0
700
701 %description mod_status
702 The Status module allows a server administrator to find out how well
703 their server is performing. A HTML page is presented that gives the
704 current server statistics in an easily readable form. If required this
705 page can be made to automatically refresh (given a compatible
706 browser).
707
708 %description mod_status -l pl
709 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
710 pracy serwera apache (w postaci strony HTML).
711
712 %package mod_unique_id
713 Summary:        Apache module which provides a magic token for each request
714 Summary(pl):    Modu³ nadaj±cy ka¿demu ¿±daniu unikalny token
715 Group:          Networking/Daemons
716 Requires:       %{name}(EAPI) = %{version}-%{release}
717 Provides:       apache-mod_unique_id = %{version}-%{release}
718 Obsoletes:      apache-mod_unique_id < 2.0.0
719
720 %description mod_unique_id
721 This package contains the mod_unique_id. This module provides a magic
722 token for each request which is guaranteed to be unique across "all"
723 requests under very specific conditions. The unique identifier is even
724 unique across multiple machines in a properly configured cluster of
725 machines. The environment variable UNIQUE_ID is set to the identifier
726 for each request. Unique identifiers are useful for various reasons
727 which are beyond the scope of this document.
728
729 %description mod_unique_id -l pl
730 Modu³ nadaje przy ka¿dym ¿±daniu token unikalny w ramach wszystkich
731 ¿±dañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
732 maszyn. Modu³ ustawia przy ka¿dym ¿±daniu zmienn± ¶rodowiskow±
733 UNIQUE_ID.
734
735 %package mod_usertrack
736 Summary:        Apache module for user tracking using cookies
737 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia u¿ytkowników przy u¿yciu ciasteczek
738 Group:          Networking/Daemons
739 Requires:       %{name}(EAPI) = %{version}-%{release}
740 Provides:       apache-mod_usertrack = %{version}-%{release}
741 Obsoletes:      apache-mod_usertrack < 2.0.0
742
743 %description mod_usertrack
744 This package contains the user tracking module which did its own
745 logging using CookieLog directory. This module allow multiple log
746 files.
747
748 %description mod_usertrack -l pl
749 Modu³ pozwalaj±cy na ¶ledzenie u¿ytkowników przy pomocy ciasteczek.
750 Modu³ ma w³asne logowanie przy u¿yciu katalogu CookieLog; pozwala na
751 wiele plików logów.
752
753 %package mod_vhost_alias
754 Summary:        Apache module for dynamically configured mass virtual hosting
755 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych.
756 Group:          Networking/Daemons
757 Requires(post,preun):   %{name}(EAPI) = %{version}-%{release}
758 Requires(triggerpostun):        %{apxs}
759 Requires:       %{name}(EAPI) = %{version}-%{release}
760 Provides:       apache-mod_vhost_alias = %{version}-%{release}
761 Obsoletes:      apache-mod_vhost_alias < 2.0.0
762
763 %description mod_vhost_alias
764 This package contains the mod_vhost_alias. It provides support for
765 dynamically configured mass virtual hosting.
766
767 %description mod_vhost_alias -l pl
768 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
769 wirtualnych.
770
771 %prep
772 %setup -q -n apache_%{version} -a3
773 %patch0 -p1
774 %patch1 -p1
775 %patch2 -p1
776 %patch3 -p1
777 %patch4 -p0
778 %patch5 -p0
779 %patch6 -p1
780 %patch7 -p1
781 %{?with_ipv6:%patch8 -p1}
782 %patch9 -p1
783 %patch10 -p1
784 %patch11 -p1
785 %{?with_rewrite_ldap:%patch12 -p1}
786 %patch13 -p1
787 %patch14 -p1
788 %patch15 -p1
789 %patch16 -p1
790 %patch17 -p1
791 %{!?with_ipv6:%patch18 -p1}
792 %patch19 -p1
793 %patch20 -p1
794 %patch21 -p1
795
796 %build
797 OPTIM="%{rpmcflags} -DHARD_SERVER_LIMIT=2048" \
798 ./configure \
799         --prefix=%{_sysconfdir} \
800         --exec-prefix=%{_libexecdir} \
801         --bindir=%{_bindir} \
802         --sbindir=%{_sbindir} \
803         --sysconfdir=%{_sysconfdir} \
804         --datadir=%{_datadir} \
805         --includedir=%{_includedir} \
806         --libexecdir=%{_sysconfdir}/modules \
807         --localstatedir=/var \
808         --mandir=%{_mandir} \
809         --manualdir=%{manualdir} \
810         --runtimedir=/var/run \
811         --logfiledir=/var/log/apache \
812         --with-layout=PLD \
813         --without-confadjust \
814         --enable-module=all \
815         --enable-module=auth_digest \
816         --enable-shared=max \
817         --proxycachedir=/var/cache/apache \
818         --with-perl=%{_bindir}/perl \
819         --enable-suexec \
820         --suexec-caller=http \
821         --suexec-uidmin=500 \
822         --suexec-gidmin=500 \
823         --suexec-docroot=%{_datadir} \
824         --disable-rule=WANTHSREGEX \
825         --enable-rule=EAPI \
826         --target=apache \
827         %{?with_ipv6:--enable-rule=INET6}
828
829 %{__make} \
830         LIBS1="-lm -lcrypt -lmm -ldl"
831
832 rm -f src/modules/standard/mod_auth_db.so
833 %{__make} -C src/modules/standard mod_auth_db.so \
834         LIBS_SHLIB="-ldb"
835
836 rm -f src/modules/standard/mod_rewrite.so
837 %{__make} -C src/modules/standard mod_rewrite.so \
838         LIBS_SHLIB="-ldb %{?with_rewrite_ldap:-lldap -llber}"
839
840 %install
841 rm -rf $RPM_BUILD_ROOT
842 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
843         $RPM_BUILD_ROOT%{_datadir}/errordocs \
844         $RPM_BUILD_ROOT%{_sysconfdir}/conf.d \
845         $RPM_BUILD_ROOT%{_libexecdir} \
846         $RPM_BUILD_ROOT/var/{log/{apache,archiv/apache},run/apache}
847
848 %{__make} install-quiet \
849         root=$RPM_BUILD_ROOT
850
851 #mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
852
853 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache1
854 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/apache
855 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache1
856 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
857
858 touch $RPM_BUILD_ROOT/var/log/apache/{access,error,agent,referer}_log
859
860 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
861
862 mv $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf conf/apache.conf.dist
863 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
864
865 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/conf.d"
866
867 echo "LoadModule access_module      modules/mod_access.so" > $CFG/01_mod_access.conf
868 install %{SOURCE17}     $CFG/02_mod_alias.conf
869 echo "LoadModule asis_module        modules/mod_asis.so" > $CFG/03_mod_asis.conf
870 install %{SOURCE21} $CFG/04_mod_cern_meta.conf
871 echo "LoadModule cgi_module         modules/mod_cgi.so" > $CFG/05_mod_cgi.conf
872 echo "LoadModule env_module         modules/mod_env.so" > $CFG/06_mod_env.conf
873 echo "LoadModule include_module     modules/mod_include.so" > $CFG/07_mod_include.conf
874 echo "LoadModule log_agent_module   modules/mod_log_agent.so" > $CFG/08_mod_log_agent.conf
875 install %{SOURCE14} $CFG/09_mod_log_config.conf
876 echo "LoadModule log_referer_module modules/mod_log_referer.so" > $CFG/10_mod_log_referer.conf
877 install %{SOURCE16}     $CFG/11_mod_mime_magic.conf
878 install %{SOURCE19}     $CFG/12_mod_mime.conf
879 install %{SOURCE18} $CFG/13_mod_negotiation.conf
880 install %{SOURCE22}     $CFG/14_mod_setenvif.conf
881 echo "LoadModule speling_module     modules/mod_speling.so" > $CFG/15_mod_speling.conf
882 install %{SOURCE15}     $CFG/16_mod_userdir.conf
883
884 install %{SOURCE8}      $CFG/20_common.conf
885
886 install %{SOURCE23}     $CFG/20_mod_vhost_alias.conf
887 install %{SOURCE9}      $CFG/25_mod_status.conf
888 install %{SOURCE10}     $CFG/30_mod_proxy.conf
889 install %{SOURCE20}     $CFG/50_mod_actions.conf
890 echo "LoadModule auth_module    modules/mod_auth.so" > $CFG/51_mod_auth.conf
891 echo "LoadModule auth_anon_module       modules/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
892 echo "LoadModule auth_db_module modules/mod_auth_db.so" > $CFG/53_mod_auth_db.conf
893 echo "LoadModule auth_digest_module     modules/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
894 install %{SOURCE11}     $CFG/57_mod_autoindex.conf
895 install %{SOURCE12}     $CFG/59_mod_dir.conf
896 echo "LoadModule expires_module modules/mod_expires.so" > $CFG/67_mod_expires.conf
897 echo "LoadModule headers_module modules/mod_headers.so" > $CFG/68_mod_headers.conf
898 echo "LoadModule imap_module    modules/mod_imap.so" > $CFG/69_mod_imap.conf
899 echo "LoadModule rewrite_module modules/mod_rewrite.so" > $CFG/70_mod_rewrite.conf
900 echo "LoadModule usertrack_module       modules/mod_usertrack.so" > $CFG/71_mod_usertrack.conf
901 echo "LoadModule unique_id_module       modules/mod_unique_id.so" > $CFG/72_mod_unique_id.conf
902 echo "LoadModule define_module  modules/mod_define.so" > $CFG/73_mod_define.conf
903 echo "LoadModule digest_module  modules/mod_digest.so" > $CFG/74_mod_digest.conf
904 echo "LoadModule log_forensic_module    modules/mod_log_forensic.so" > $CFG/75_mod_log_forensic.conf
905 echo "LoadModule mmap_static_module     modules/mod_mmap_static.so" > $CFG/76_mod_mmap_static.conf
906 install %{SOURCE13} $CFG/77_mod_info.conf
907 install %{SOURCE24}     $CFG/80_errordocs.conf
908
909 install %{SOURCE6} $RPM_BUILD_ROOT/etc/monit
910
911 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
912
913 mv $RPM_BUILD_ROOT%{_sbindir}/apxs $RPM_BUILD_ROOT%{apxs}
914 mv $RPM_BUILD_ROOT%{_mandir}/man8/apxs.8 $RPM_BUILD_ROOT%{_mandir}/man8/apxs1.8
915
916 perl -p -i -e 's/^if ...O ne "MSWin32"./if (0)/' $RPM_BUILD_ROOT%{apxs}
917
918 mv $RPM_BUILD_ROOT%{_sysconfdir}/modules/* $RPM_BUILD_ROOT%{_libexecdir}
919 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/modules
920 ln -s %{_libexecdir} $RPM_BUILD_ROOT%{_sysconfdir}/modules
921 ln -s /var/log/apache $RPM_BUILD_ROOT%{_sysconfdir}/logs
922
923 %clean
924 rm -rf $RPM_BUILD_ROOT
925
926 %pre
927 if [ -n "`getgid http`" ]; then
928         if [ "`getgid http`" != "51" ]; then
929                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
930                 exit 1
931         fi
932 else
933         echo "Adding group http GID=51."
934         /usr/sbin/groupadd -g 51 -r -f http
935 fi
936 if [ -n "`id -u http 2>/dev/null`" ]; then
937         if [ "`id -u http`" != "51" ]; then
938                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
939                 exit 1
940         fi
941         if [ "`getent passwd http | cut -d: -f6`" = "/home/httpd" ]; then
942                 /usr/sbin/usermod -d %{httpdir} http
943         fi
944 else
945         echo "Adding user http UID=51."
946         /usr/sbin/useradd -u 51 -r -d %{httpdir} -s /bin/false -c "HTTP User" -g http http 1>&2
947 fi
948
949 %post
950 /sbin/chkconfig --add apache
951 umask 137
952 touch /var/log/apache/{access,error,agent,referer}_log
953 if [ -f /var/lock/subsys/apache ]; then
954         /etc/rc.d/init.d/apache restart 1>&2
955 else
956         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
957 fi
958
959 %preun
960 if [ "$1" = "0" ]; then
961         if [ -f /var/lock/subsys/apache ]; then
962                 /etc/rc.d/init.d/apache stop 1>&2
963         fi
964         /sbin/chkconfig --del apache
965 fi
966
967 %postun
968 if [ "$1" = "0" ]; then
969         %userremove http
970         %groupremove http
971 fi
972
973 %triggerpostun -- apache < 2.0.0
974 if [ -z "`getgid http`" ]; then
975         echo "Adding group http GID=51."
976         /usr/sbin/groupadd -g 51 -r -f http
977 fi
978 if [ -z "`id -u http 2>/dev/null`" ]; then
979         echo "Adding user http UID=51."
980         /usr/sbin/useradd -u 51 -r -d %{httpdir} -s /bin/false -c "HTTP User" -g http http 1>&2
981 fi
982 /sbin/chkconfig --add apache
983
984 %triggerpostun -- apache1 < 1.3.33-1.85
985 # upgrading from older version
986 if [ "$1" = "2" ]; then
987         sed -i -e '
988                 # get apxs over confusion of changed ServerRoot
989                 s,^\(LoadModule .*\) lib/apache1/,\1 modules/,
990
991                 # update ServerRoot
992                 s,^ServerRoot.*,ServerRoot "/etc/apache",
993         ' /etc/apache/apache.conf
994 fi
995
996 %triggerpostun -- %{name} <= 1.3.31-5
997 echo "WARNING!!!"
998 echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
999 echo "If you want to have the same functionality do:"
1000 echo "poldek --upgrade %{name}-mod_autoindex"
1001 echo
1002
1003 %post mod_actions
1004 if [ -f /var/lock/subsys/apache ]; then
1005         /etc/rc.d/init.d/apache restart 1>&2
1006 else
1007         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1008 fi
1009
1010 %preun mod_actions
1011 if [ "$1" = "0" ]; then
1012         if [ -f /var/lock/subsys/apache ]; then
1013                 /etc/rc.d/init.d/apache restart 1>&2
1014         fi
1015 fi
1016
1017 %post mod_auth
1018 if [ -f /var/lock/subsys/apache ]; then
1019         /etc/rc.d/init.d/apache restart 1>&2
1020 else
1021         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1022 fi
1023
1024 %preun mod_auth
1025 if [ "$1" = "0" ]; then
1026         if [ -f /var/lock/subsys/apache ]; then
1027                 /etc/rc.d/init.d/apache restart 1>&2
1028         fi
1029 fi
1030
1031 %post mod_auth_anon
1032 if [ -f /var/lock/subsys/apache ]; then
1033         /etc/rc.d/init.d/apache restart 1>&2
1034 else
1035         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1036 fi
1037
1038 %preun mod_auth_anon
1039 if [ "$1" = "0" ]; then
1040         if [ -f /var/lock/subsys/apache ]; then
1041                 /etc/rc.d/init.d/apache restart 1>&2
1042         fi
1043 fi
1044
1045 %post mod_auth_db
1046 if [ -f /var/lock/subsys/apache ]; then
1047         /etc/rc.d/init.d/apache restart 1>&2
1048 else
1049         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1050 fi
1051
1052 %preun mod_auth_db
1053 if [ "$1" = "0" ]; then
1054         if [ -f /var/lock/subsys/apache ]; then
1055                 /etc/rc.d/init.d/apache restart 1>&2
1056         fi
1057 fi
1058
1059 %triggerpostun mod_auth_db -- apache-mod_auth_db <= 1.3.20-2
1060 %{apxs} -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
1061
1062 %post mod_auth_digest
1063 if [ "$1" = "0" ]; then
1064         if [ -f /var/lock/subsys/apache ]; then
1065                 /etc/rc.d/init.d/apache restart 1>&2
1066         else
1067                 echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1068         fi
1069 fi
1070
1071 %preun mod_auth_digest
1072 if [ "$1" = "0" ]; then
1073         if [ -f /var/lock/subsys/apache ]; then
1074                 /etc/rc.d/init.d/apache restart 1>&2
1075         fi
1076 fi
1077
1078 %post mod_autoindex
1079 if [ -f /var/lock/subsys/apache ]; then
1080         /etc/rc.d/init.d/apache restart 1>&2
1081 fi
1082
1083 %preun mod_autoindex
1084 if [ "$1" = "0" ]; then
1085         if [ -f /var/lock/subsys/apache ]; then
1086                 /etc/rc.d/init.d/apache restart 1>&2
1087         fi
1088 fi
1089
1090 %triggerpostun mod_autoindex -- apache1-mod_autoindex < 1.3.33-1.85
1091 %{apxs} -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
1092 sed -i -e '
1093         s,^Include.*mod_autoindex.conf,Include %{_sysconfdir}/conf.d/*_mod_autoindex.conf,
1094 ' /etc/apache/apache.conf
1095
1096 %post mod_define
1097 if [ -f /var/lock/subsys/apache ]; then
1098         /etc/rc.d/init.d/apache restart 1>&2
1099 else
1100         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1101 fi
1102
1103 %preun mod_define
1104 if [ "$1" = "0" ]; then
1105         if [ -f /var/lock/subsys/apache ]; then
1106                 /etc/rc.d/init.d/apache restart 1>&2
1107         fi
1108 fi
1109
1110 %post mod_digest
1111 if [ -f /var/lock/subsys/apache ]; then
1112         /etc/rc.d/init.d/apache restart 1>&2
1113 else
1114         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1115 fi
1116
1117 %preun mod_digest
1118 if [ "$1" = "0" ]; then
1119         if [ -f /var/lock/subsys/apache ]; then
1120                 /etc/rc.d/init.d/apache restart 1>&2
1121         fi
1122 fi
1123
1124 %post mod_dir
1125 if [ -f /var/lock/subsys/apache ]; then
1126         /etc/rc.d/init.d/apache restart 1>&2
1127 else
1128         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1129 fi
1130
1131 %preun mod_dir
1132 if [ "$1" = "0" ]; then
1133         if [ -f /var/lock/subsys/apache ]; then
1134                 /etc/rc.d/init.d/apache restart 1>&2
1135         fi
1136 fi
1137
1138 %post mod_expires
1139 if [ -f /var/lock/subsys/apache ]; then
1140         /etc/rc.d/init.d/apache restart 1>&2
1141 else
1142         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1143 fi
1144
1145 %preun mod_expires
1146 if [ "$1" = "0" ]; then
1147         if [ -f /var/lock/subsys/apache ]; then
1148                 /etc/rc.d/init.d/apache restart 1>&2
1149         fi
1150 fi
1151
1152 %post mod_headers
1153 if [ -f /var/lock/subsys/apache ]; then
1154         /etc/rc.d/init.d/apache restart 1>&2
1155 else
1156         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1157 fi
1158
1159 %preun mod_headers
1160 if [ "$1" = "0" ]; then
1161         if [ -f /var/lock/subsys/apache ]; then
1162                 /etc/rc.d/init.d/apache restart 1>&2
1163         fi
1164 fi
1165
1166 %post mod_imap
1167 if [ -f /var/lock/subsys/apache ]; then
1168         /etc/rc.d/init.d/apache restart 1>&2
1169 else
1170         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1171 fi
1172
1173 %preun mod_imap
1174 if [ "$1" = "0" ]; then
1175         if [ -f /var/lock/subsys/apache ]; then
1176                 /etc/rc.d/init.d/apache restart 1>&2
1177         fi
1178 fi
1179
1180 %post mod_info
1181 if [ -f /var/lock/subsys/apache ]; then
1182         /etc/rc.d/init.d/apache restart 1>&2
1183 else
1184         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1185 fi
1186
1187 %preun mod_info
1188 if [ "$1" = "0" ]; then
1189         if [ -f /var/lock/subsys/apache ]; then
1190                 /etc/rc.d/init.d/apache restart 1>&2
1191         fi
1192 fi
1193
1194 %post mod_log_forensic
1195 if [ -f /var/lock/subsys/apache ]; then
1196         /etc/rc.d/init.d/apache restart 1>&2
1197 else
1198         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1199 fi
1200
1201 %preun mod_log_forensic
1202 if [ "$1" = "0" ]; then
1203         if [ -f /var/lock/subsys/apache ]; then
1204                 /etc/rc.d/init.d/apache restart 1>&2
1205         fi
1206 fi
1207
1208 %post mod_mmap_static
1209 if [ -f /var/lock/subsys/apache ]; then
1210         /etc/rc.d/init.d/apache restart 1>&2
1211 else
1212         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1213 fi
1214
1215 %preun mod_mmap_static
1216 if [ "$1" = "0" ]; then
1217         if [ -f /var/lock/subsys/apache ]; then
1218                 /etc/rc.d/init.d/apache restart 1>&2
1219         fi
1220 fi
1221
1222 %post mod_proxy
1223 if [ -f /var/lock/subsys/apache ]; then
1224         /etc/rc.d/init.d/apache restart 1>&2
1225 else
1226         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1227 fi
1228
1229 %preun mod_proxy
1230 if [ "$1" = "0" ]; then
1231         if [ -f /var/lock/subsys/apache ]; then
1232                 /etc/rc.d/init.d/apache restart 1>&2
1233         fi
1234 fi
1235
1236 %triggerpostun mod_proxy -- apache1-mod_proxy < 1.3.33-1.85
1237 %{apxs} -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
1238 sed -i -e '
1239         s,^Include.*mod_proxy.conf,Include %{_sysconfdir}/conf.d/*_mod_proxy.conf,
1240 ' /etc/apache/apache.conf
1241
1242 %post mod_rewrite
1243 if [ -f /var/lock/subsys/apache ]; then
1244         /etc/rc.d/init.d/apache restart 1>&2
1245 else
1246         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1247 fi
1248
1249 %preun mod_rewrite
1250 if [ "$1" = "0" ]; then
1251         if [ -f /var/lock/subsys/apache ]; then
1252                 /etc/rc.d/init.d/apache restart 1>&2
1253         fi
1254 fi
1255
1256 %post mod_status
1257 if [ -f /var/lock/subsys/apache ]; then
1258         /etc/rc.d/init.d/apache restart 1>&2
1259 else
1260         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1261 fi
1262
1263 %preun mod_status
1264 if [ "$1" = "0" ]; then
1265         if [ -f /var/lock/subsys/apache ]; then
1266                 /etc/rc.d/init.d/apache restart 1>&2
1267         fi
1268 fi
1269
1270 %triggerpostun mod_status -- apache1-mod_status < 1.3.33-1.85
1271 %{apxs} -e -A -n status %{_libexecdir}/mod_status.so 1>&2
1272 sed -i -e '
1273         s,^Include.*mod_status.conf,Include %{_sysconfdir}/conf.d/*_mod_status.conf,
1274 ' /etc/apache/apache.conf
1275
1276 %post mod_unique_id
1277 if [ -f /var/lock/subsys/apache ]; then
1278         /etc/rc.d/init.d/apache restart 1>&2
1279 else
1280         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1281 fi
1282
1283 %preun mod_unique_id
1284 if [ "$1" = "0" ]; then
1285         if [ -f /var/lock/subsys/apache ]; then
1286                 /etc/rc.d/init.d/apache restart 1>&2
1287         fi
1288 fi
1289
1290 %post mod_usertrack
1291 if [ -f /var/lock/subsys/apache ]; then
1292         /etc/rc.d/init.d/apache restart 1>&2
1293 else
1294         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1295 fi
1296
1297 %preun mod_usertrack
1298 if [ "$1" = "0" ]; then
1299         if [ -f /var/lock/subsys/apache ]; then
1300                 /etc/rc.d/init.d/apache restart 1>&2
1301         fi
1302 fi
1303
1304 %post mod_vhost_alias
1305 if [ -f /var/lock/subsys/apache ]; then
1306         /etc/rc.d/init.d/apache restart 1>&2
1307 else
1308         echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
1309 fi
1310
1311 %preun mod_vhost_alias
1312 if [ "$1" = "0" ]; then
1313         if [ -f /var/lock/subsys/apache ]; then
1314                 /etc/rc.d/init.d/apache restart 1>&2
1315         fi
1316 fi
1317
1318 %triggerpostun mod_vhost_alias -- apache1-mod_vhost_alias < 1.3.33-1.85
1319 %{apxs} -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
1320 sed -i -e '
1321         s,^Include.*mod_vhost_alias.conf,Include %{_sysconfdir}/conf.d/*_mod_vhost_alias.conf,
1322 ' /etc/apache/apache.conf
1323
1324 %files
1325 %defattr(644,root,root,755)
1326 %doc ABOUT_APACHE src/CHANGES README
1327 %doc conf/mime.types conf/apache.conf.dist
1328
1329 %attr(754,root,root) /etc/rc.d/init.d/apache
1330
1331 %attr(750,root,root) %dir %{_sysconfdir}
1332 %{_sysconfdir}/modules
1333 %{_sysconfdir}/logs
1334 %attr(750,root,root) %dir %{_sysconfdir}/conf.d
1335 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/apache.conf
1336 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_common.conf
1337 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_errordocs.conf
1338 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_access.conf
1339 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_alias.conf
1340 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_asis.conf
1341 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_cern_meta.conf
1342 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_cgi.conf
1343 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_env.conf
1344 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_include.conf
1345 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_log_agent.conf
1346 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_log_config.conf
1347 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_log_referer.conf
1348 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_mime.conf
1349 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_mime_magic.conf
1350 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_negotiation.conf
1351 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_setenvif.conf
1352 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_speling.conf
1353 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_userdir.conf
1354
1355 %attr(640,root,root) %{_sysconfdir}/magic
1356
1357 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1358 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
1359 %attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
1360
1361 %dir %{_libexecdir}
1362 %attr(755,root,root) %{_libexecdir}/mod_access.so
1363 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1364 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1365 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1366 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1367 %attr(755,root,root) %{_libexecdir}/mod_env.so
1368 %attr(755,root,root) %{_libexecdir}/mod_include.so
1369 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
1370 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1371 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
1372 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1373 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1374 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1375 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1376 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1377 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1378
1379 %attr(755,root,root) %{_bindir}/checkgid
1380 %attr(755,root,root) %{_bindir}/htdigest
1381
1382 %attr(755,root,root) %{_sbindir}/apache
1383
1384 %dir %attr(1773,root,http) /var/run/apache
1385
1386 %{_mandir}/man8/apache.8*
1387
1388 %attr(750,root,logs) %dir /var/log/apache
1389 %attr(750,root,logs) %dir /var/log/archiv/apache
1390 %attr(640,root,logs) %ghost /var/log/apache/*
1391
1392 %dir %{_datadir}
1393 %attr(755,root,root) %dir %{_datadir}/html
1394
1395 %{_datadir}/errordocs
1396 %dir %{_datadir}/icons
1397 %{_datadir}/icons/*.gif
1398 %{_datadir}/icons/*.png
1399 %dir %{_datadir}/icons/small
1400 %{_datadir}/icons/small/*.gif
1401 %{_datadir}/icons/small/*.png
1402 %attr(755,root,root) %{_datadir}/cgi-bin
1403
1404 %files apxs
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{apxs}
1407 %{_mandir}/man8/apxs1.8*
1408
1409 %files tools
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_sbindir}/ab
1412 %attr(755,root,root) %{_sbindir}/apachectl
1413 %attr(755,root,root) %{_sbindir}/logresolve
1414 %attr(755,root,root) %{_sbindir}/rotatelogs
1415 %{_mandir}/man1/htdigest.1*
1416 %{_mandir}/man8/ab*
1417 %{_mandir}/man8/apachectl*
1418 %{_mandir}/man8/[l-z]*
1419 %lang(hu) %{_mandir}/hu/man8/*
1420 %lang(ko) %{_mandir}/ko/man8/*
1421 %lang(pl) %{_mandir}/pl/man8/*
1422
1423 %files index
1424 %defattr(644,root,root,755)
1425 %config(noreplace,missingok) %{_datadir}/html/index.html
1426 # note: html extensions are not the same as (g)libc locale names
1427 %lang(ca) %{_datadir}/html/index.html.ca
1428 %lang(cs) %{_datadir}/html/index.html.cz
1429 %lang(de) %{_datadir}/html/index.html.de
1430 %lang(da) %{_datadir}/html/index.html.dk
1431 %lang(et) %{_datadir}/html/index.html.ee
1432 %lang(el) %{_datadir}/html/index.html.el
1433 %{_datadir}/html/index.html.en
1434 %lang(es) %{_datadir}/html/index.html.es
1435 %lang(fr) %{_datadir}/html/index.html.fr
1436 %lang(he) %{_datadir}/html/index.html.he.iso8859-8
1437 %lang(hu) %{_datadir}/html/index.html.hu
1438 %lang(it) %{_datadir}/html/index.html.it
1439 %lang(ja) %{_datadir}/html/index.html.ja.jis
1440 %lang(ko) %{_datadir}/html/index.html.kr.iso-kr
1441 %lang(de_LU) %{_datadir}/html/index.html.lb.utf8
1442 %lang(nl) %{_datadir}/html/index.html.nl
1443 %lang(nn) %{_datadir}/html/index.html.nn
1444 %lang(nb) %{_datadir}/html/index.html.no
1445 %lang(pl) %{_datadir}/html/index.html.po.iso-pl
1446 %lang(pt) %{_datadir}/html/index.html.pt
1447 %lang(pt_BR) %{_datadir}/html/index.html.pt-br
1448 %lang(ru) %{_datadir}/html/index.html.ru.cp-1251
1449 %lang(ru) %{_datadir}/html/index.html.ru.cp866
1450 %lang(ru) %{_datadir}/html/index.html.ru.iso-ru
1451 %lang(ru) %{_datadir}/html/index.html.ru.koi8-r
1452 %lang(ru) %{_datadir}/html/index.html.ru.ucs2
1453 %lang(ru) %{_datadir}/html/index.html.ru.ucs4
1454 %lang(ru) %{_datadir}/html/index.html.ru.utf8
1455 %lang(sv) %{_datadir}/html/index.html.se
1456 %lang(zh_TW) %{_datadir}/html/index.html.zh-tw.big5
1457 %{_datadir}/html/*.gif
1458
1459 %files doc
1460 %defattr(644,root,root,755)
1461 %dir %{manualdir}
1462 %dir %{manualdir}/images
1463 %{manualdir}/images/apache_header.gif
1464 %{manualdir}/images/custom_errordocs.gif
1465 %{manualdir}/images/home.gif
1466 %{manualdir}/images/index.gif
1467 %{manualdir}/images/pixel.gif
1468 %{manualdir}/images/sub.gif
1469 %{manualdir}/misc
1470 %{manualdir}/LICENSE
1471 %{manualdir}/bind.html.html
1472 %{manualdir}/bind.html.en
1473 %lang(fr) %{manualdir}/bind.html.fr
1474 %lang(ja) %{manualdir}/bind.html.ja.jis
1475 %{manualdir}/configuring.html.html
1476 %{manualdir}/configuring.html.en
1477 %lang(fr) %{manualdir}/configuring.html.fr
1478 %lang(ja) %{manualdir}/configuring.html.ja.jis
1479 %{manualdir}/content-negotiation.html.html
1480 %{manualdir}/content-negotiation.html.en
1481 %lang(ja) %{manualdir}/content-negotiation.html.ja.jis
1482 %{manualdir}/custom-error.html.html
1483 %{manualdir}/custom-error.html.en
1484 %lang(fr) %{manualdir}/custom-error.html.fr
1485 %lang(ja) %{manualdir}/custom-error.html.ja.jis
1486 %{manualdir}/dns-caveats.html.html
1487 %{manualdir}/dns-caveats.html.en
1488 %lang(fr) %{manualdir}/dns-caveats.html.fr
1489 %lang(ja) %{manualdir}/dns-caveats.html.ja.jis
1490 %{manualdir}/dso.html
1491 %{manualdir}/env.html.html
1492 %{manualdir}/env.html.en
1493 %lang(ja) %{manualdir}/env.html.ja.jis
1494 %{manualdir}/footer.html
1495 %{manualdir}/handler.html.html
1496 %{manualdir}/handler.html.en
1497 %lang(ja) %{manualdir}/handler.html.ja.jis
1498 %{manualdir}/header.html
1499 %{manualdir}/index.html.html
1500 %{manualdir}/index.html.en
1501 %lang(fr) %{manualdir}/index.html.fr
1502 %lang(ja) %{manualdir}/index.html.ja.jis
1503 %{manualdir}/install.html.html
1504 %{manualdir}/install.html.en
1505 %lang(es) %{manualdir}/install.html.es
1506 %lang(fr) %{manualdir}/install.html.fr
1507 %lang(ja) %{manualdir}/install.html.ja.jis
1508 %{manualdir}/invoking.html.html
1509 %{manualdir}/invoking.html.en
1510 %lang(fr) %{manualdir}/invoking.html.fr
1511 %lang(ja) %{manualdir}/invoking.html.ja.jis
1512 %{manualdir}/keepalive.html.html
1513 %{manualdir}/keepalive.html.en
1514 %lang(ja) %{manualdir}/keepalive.html.ja.jis
1515 %{manualdir}/location.html.html
1516 %{manualdir}/location.html.en
1517 %lang(ja) %{manualdir}/location.html.ja.jis
1518 %{manualdir}/logs.html
1519 %{manualdir}/multilogs.html
1520 %{manualdir}/new_features_1_3.html.html
1521 %{manualdir}/new_features_1_3.html.en
1522 %lang(ja) %{manualdir}/new_features_1_3.html.ja.jis
1523 %{manualdir}/process-model.html.html
1524 %{manualdir}/process-model.html.en
1525 %lang(ja) %{manualdir}/process-model.html.ja.jis
1526 %{manualdir}/sections.html.html
1527 %{manualdir}/sections.html.en
1528 %lang(ja) %{manualdir}/sections.html.ja.jis
1529 %{manualdir}/server-wide.html.html
1530 %{manualdir}/server-wide.html.en
1531 %lang(fr) %{manualdir}/server-wide.html.fr
1532 %lang(ja) %{manualdir}/server-wide.html.ja.jis
1533 %{manualdir}/sitemap.html
1534 %{manualdir}/sourcereorg.html
1535 %{manualdir}/stopping.html.html
1536 %{manualdir}/stopping.html.en
1537 %lang(fr) %{manualdir}/stopping.html.fr
1538 %{manualdir}/upgrading_to_1_3.html
1539 %{manualdir}/urlmapping.html
1540 %dir %{manualdir}/howto
1541 %{manualdir}/howto/cgi.html.html
1542 %{manualdir}/howto/cgi.html.en
1543 %lang(ja) %{manualdir}/howto/cgi.html.ja.jis
1544 %{manualdir}/howto/footer.html
1545 %{manualdir}/howto/header.html
1546 %{manualdir}/howto/htaccess.html
1547 %{manualdir}/howto/ssi.html.html
1548 %{manualdir}/howto/ssi.html.en
1549 %lang(ja) %{manualdir}/howto/ssi.html.ja.jis
1550 %dir %{manualdir}/mod
1551 %{manualdir}/mod/core.html.html
1552 %{manualdir}/mod/core.html.en
1553 %lang(fr) %{manualdir}/mod/core.html.fr
1554 %lang(ja) %{manualdir}/mod/core.html.ja.jis
1555 %{manualdir}/mod/directive-dict.html.html
1556 %{manualdir}/mod/directive-dict.html.en
1557 %lang(fr) %{manualdir}/mod/directive-dict.html.fr
1558 %lang(ja) %{manualdir}/mod/directive-dict.html.ja.jis
1559 %{manualdir}/mod/directives.html.html
1560 %lang(de) %{manualdir}/mod/directives.html.de
1561 %{manualdir}/mod/directives.html.en
1562 %lang(fr) %{manualdir}/mod/directives.html.fr
1563 %lang(ja) %{manualdir}/mod/directives.html.ja.jis
1564 %{manualdir}/mod/footer.html
1565 %{manualdir}/mod/header.html
1566 %{manualdir}/mod/index-bytype.html.html
1567 %{manualdir}/mod/index-bytype.html.en
1568 %lang(fr) %{manualdir}/mod/index-bytype.html.fr
1569 %lang(ja) %{manualdir}/mod/index-bytype.html.ja.jis
1570 %{manualdir}/mod/index.html.html
1571 %{manualdir}/mod/index.html.en
1572 %lang(fr) %{manualdir}/mod/index.html.fr
1573 %lang(ja) %{manualdir}/mod/index.html.ja.jis
1574 %{manualdir}/mod/mod_access.html.html
1575 %{manualdir}/mod/mod_access.html.en
1576 %lang(ja) %{manualdir}/mod/mod_access.html.ja.jis
1577 %{manualdir}/mod/mod_alias.html.html
1578 %{manualdir}/mod/mod_alias.html.en
1579 %lang(ja) %{manualdir}/mod/mod_alias.html.ja.jis
1580 %{manualdir}/mod/mod_asis.html.html
1581 %{manualdir}/mod/mod_asis.html.en
1582 %lang(ja) %{manualdir}/mod/mod_asis.html.ja.jis
1583 %{manualdir}/mod/mod_autoindex.html.html
1584 %{manualdir}/mod/mod_autoindex.html.en
1585 %lang(ja) %{manualdir}/mod/mod_autoindex.html.ja.jis
1586 %{manualdir}/mod/mod_cern_meta.html
1587 %{manualdir}/mod/mod_cgi.html.html
1588 %{manualdir}/mod/mod_cgi.html.en
1589 %lang(ja) %{manualdir}/mod/mod_cgi.html.ja.jis
1590 %{manualdir}/mod/mod_env.html.html
1591 %{manualdir}/mod/mod_env.html.en
1592 %lang(ja) %{manualdir}/mod/mod_env.html.ja.jis
1593 %{manualdir}/mod/mod_include.html
1594 %{manualdir}/mod/mod_log_agent.html
1595 %{manualdir}/mod/mod_log_config.html.html
1596 %{manualdir}/mod/mod_log_config.html.en
1597 %lang(ja) %{manualdir}/mod/mod_log_config.html.ja.jis
1598 %{manualdir}/mod/mod_log_referer.html
1599 %{manualdir}/mod/mod_mime.html.html
1600 %{manualdir}/mod/mod_mime.html.en
1601 %lang(ja) %{manualdir}/mod/mod_mime.html.ja.jis
1602 %{manualdir}/mod/mod_mime_magic.html
1603 %{manualdir}/mod/mod_negotiation.html.html
1604 %{manualdir}/mod/mod_negotiation.html.en
1605 %lang(ja) %{manualdir}/mod/mod_negotiation.html.ja.jis
1606 %{manualdir}/mod/mod_setenvif.html.html
1607 %{manualdir}/mod/mod_setenvif.html.en
1608 %lang(ja) %{manualdir}/mod/mod_setenvif.html.ja.jis
1609 %{manualdir}/mod/mod_so.html.html
1610 %{manualdir}/mod/mod_so.html.en
1611 %lang(ja) %{manualdir}/mod/mod_so.html.ja.jis
1612 %{manualdir}/mod/mod_speling.html.html
1613 %{manualdir}/mod/mod_speling.html.en
1614 %lang(ja) %{manualdir}/mod/mod_speling.html.ja.jis
1615 %{manualdir}/mod/mod_userdir.html.html
1616 %{manualdir}/mod/mod_userdir.html.en
1617 %lang(ja) %{manualdir}/mod/mod_userdir.html.ja.jis
1618 %{manualdir}/mod/module-dict.html.html
1619 %{manualdir}/mod/module-dict.html.en
1620 %lang(ja) %{manualdir}/mod/module-dict.html.ja.jis
1621 %dir %{manualdir}/programs
1622 %{manualdir}/programs/ab.html
1623 %{manualdir}/programs/apachectl.html.html
1624 %{manualdir}/programs/apachectl.html.en
1625 %lang(ja) %{manualdir}/programs/apachectl.html.ja.jis
1626 %{manualdir}/programs/apxs.html
1627 %{manualdir}/programs/dbmmanage.html
1628 %{manualdir}/programs/footer.html
1629 %{manualdir}/programs/header.html
1630 %{manualdir}/programs/htdigest.html
1631 %{manualdir}/programs/htpasswd.html.html
1632 %{manualdir}/programs/htpasswd.html.en
1633 %lang(ja) %{manualdir}/programs/htpasswd.html.ja.jis
1634 %{manualdir}/programs/httpd.html.html
1635 %{manualdir}/programs/httpd.html.en
1636 %lang(ja) %{manualdir}/programs/httpd.html.ja.jis
1637 %{manualdir}/programs/index.html.html
1638 %{manualdir}/programs/index.html.en
1639 %lang(ja) %{manualdir}/programs/index.html.ja.jis
1640 %{manualdir}/programs/logresolve.html
1641 %{manualdir}/programs/other.html
1642 %{manualdir}/programs/rotatelogs.html
1643 %dir %{manualdir}/vhosts
1644 %{manualdir}/vhosts/details.html
1645 %{manualdir}/vhosts/examples.html
1646 %{manualdir}/vhosts/fd-limits.html.html
1647 %{manualdir}/vhosts/fd-limits.html.en
1648 %lang(ja) %{manualdir}/vhosts/fd-limits.html.ja.jis
1649 %{manualdir}/vhosts/footer.html
1650 %{manualdir}/vhosts/header.html
1651 %{manualdir}/vhosts/host.html
1652 %{manualdir}/vhosts/index.html.html
1653 %{manualdir}/vhosts/index.html.en
1654 %lang(ja) %{manualdir}/vhosts/index.html.ja.jis
1655 %{manualdir}/vhosts/ip-based.html
1656 %{manualdir}/vhosts/mass.html
1657 %{manualdir}/vhosts/name-based.html.html
1658 %{manualdir}/vhosts/name-based.html.en
1659 %lang(ja) %{manualdir}/vhosts/name-based.html.ja.jis
1660 %{manualdir}/vhosts/vhosts-in-depth.html
1661 %{manualdir}/vhosts/virtual-host.html
1662 # suexec
1663 %{manualdir}/suexec.html.html
1664 %{manualdir}/suexec.html.en
1665 %lang(ja) %{manualdir}/suexec.html.ja.jis
1666 %{manualdir}/programs/suexec.html.html
1667 %{manualdir}/programs/suexec.html.en
1668 %lang(ja) %{manualdir}/programs/suexec.html.ja.jis
1669 # mod_actions
1670 %{manualdir}/mod/mod_actions.html.html
1671 %{manualdir}/mod/mod_actions.html.en
1672 %lang(ja) %{manualdir}/mod/mod_actions.html.ja.jis
1673 # mod_auth
1674 %{manualdir}/howto/auth.html
1675 %{manualdir}/mod/mod_auth.html.html
1676 %{manualdir}/mod/mod_auth.html.en
1677 %lang(ja) %{manualdir}/mod/mod_auth.html.ja.jis
1678 # mod_anon
1679 %{manualdir}/mod/mod_auth_anon.html
1680 # mod_auth_db
1681 %{manualdir}/mod/mod_auth_db.html
1682 # mod_auth_digest
1683 %{manualdir}/mod/mod_auth_digest.html
1684 # mod_define
1685 %{manualdir}/mod/mod_define.html
1686 # mod_digest
1687 %{manualdir}/mod/mod_digest.html
1688 # mod_dir
1689 %{manualdir}/mod/mod_dir.html.html
1690 %{manualdir}/mod/mod_dir.html.en
1691 %lang(ja) %{manualdir}/mod/mod_dir.html.ja.jis
1692 # mod_expires
1693 %{manualdir}/mod/mod_expires.html
1694 # mod_headers
1695 %{manualdir}/mod/mod_headers.html
1696 # mod_imap
1697 %{manualdir}/mod/mod_imap.html
1698 # mod_info
1699 %{manualdir}/mod/mod_info.html.html
1700 %{manualdir}/mod/mod_info.html.en
1701 %lang(ja) %{manualdir}/mod/mod_info.html.ja.jis
1702 # mod_log_forensic
1703 %{manualdir}/mod/mod_log_forensic.html.html
1704 %{manualdir}/mod/mod_log_forensic.html.en
1705 # mod_mmap_static
1706 %{manualdir}/mod/mod_mmap_static.html
1707 # mod_proxy
1708 %{manualdir}/mod/mod_proxy.html
1709 # mod_rewrite
1710 %{manualdir}/mod/mod_rewrite.html.html
1711 %{manualdir}/mod/mod_rewrite.html.en
1712 %lang(ja) %{manualdir}/mod/mod_rewrite.html.ja.jis
1713 %{manualdir}/images/mod_rewrite*
1714 # mod_status
1715 %{manualdir}/mod/mod_status.html
1716 # mod_unique_id
1717 %{manualdir}/mod/mod_unique_id.html.html
1718 %{manualdir}/mod/mod_unique_id.html.en
1719 %lang(ja) %{manualdir}/mod/mod_unique_id.html.ja.jis
1720 # mod_usertrack
1721 %{manualdir}/mod/mod_cookies.html
1722 %{manualdir}/mod/mod_usertrack.html
1723 # mod_vhost_alias
1724 %{manualdir}/mod/mod_vhost_alias.html
1725
1726 %files suexec
1727 %defattr(644,root,root,755)
1728 %attr(4755,root,root) %{_sbindir}/suexec
1729
1730 %files devel
1731 %defattr(644,root,root,755)
1732 %{_includedir}
1733
1734 %files mod_actions
1735 %defattr(644,root,root,755)
1736 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_actions.conf
1737 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1738
1739 %files mod_auth
1740 %defattr(644,root,root,755)
1741 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_auth.conf
1742 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1743 # FIXME apache2 puts in sbin
1744 %attr(755,root,root) %{_bindir}/htpasswd
1745 %{_mandir}/man1/htpasswd.1*
1746
1747 %files mod_auth_anon
1748 %defattr(644,root,root,755)
1749 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_auth_anon.conf
1750 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1751
1752 %files mod_auth_db
1753 %defattr(644,root,root,755)
1754 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_auth_db.conf
1755 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
1756 %attr(755,root,root) %{_bindir}/dbmmanage
1757 %{_mandir}/man1/dbmmanage.1*
1758
1759 %files mod_auth_digest
1760 %defattr(644,root,root,755)
1761 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_auth_digest.conf
1762 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1763
1764 %files mod_autoindex
1765 %defattr(644,root,root,755)
1766 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_autoindex.conf
1767 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1768
1769 %files mod_define
1770 %defattr(644,root,root,755)
1771 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_define.conf
1772 %attr(755,root,root) %{_libexecdir}/mod_define.so
1773
1774 %files mod_digest
1775 %defattr(644,root,root,755)
1776 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_digest.conf
1777 %attr(755,root,root) %{_libexecdir}/mod_digest.so
1778
1779 %files mod_dir
1780 %defattr(644,root,root,755)
1781 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_dir.conf
1782 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1783
1784 %files mod_expires
1785 %defattr(644,root,root,755)
1786 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_expires.conf
1787 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1788
1789 %files mod_headers
1790 %defattr(644,root,root,755)
1791 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_headers.conf
1792 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1793
1794 %files mod_imap
1795 %defattr(644,root,root,755)
1796 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_imap.conf
1797 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1798
1799 %files mod_info
1800 %defattr(644,root,root,755)
1801 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_info.conf
1802 %attr(755,root,root) %{_libexecdir}/mod_info.so
1803
1804 %files mod_log_forensic
1805 %defattr(644,root,root,755)
1806 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_log_forensic.conf
1807 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1808
1809 %files mod_mmap_static
1810 %defattr(644,root,root,755)
1811 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_mmap_static.conf
1812 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1813
1814 %files mod_proxy
1815 %defattr(644,root,root,755)
1816 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_proxy.conf
1817 %attr(755,root,root) %{_libexecdir}/libproxy.so
1818 %dir %attr(770,root,http) /var/cache/apache
1819
1820 %files mod_rewrite
1821 %defattr(644,root,root,755)
1822 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_rewrite.conf
1823 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1824
1825 %files mod_status
1826 %defattr(644,root,root,755)
1827 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_status.conf
1828 %attr(755,root,root) %{_libexecdir}/mod_status.so
1829
1830 %files mod_unique_id
1831 %defattr(644,root,root,755)
1832 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_unique_id.conf
1833 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1834
1835 %files mod_usertrack
1836 %defattr(644,root,root,755)
1837 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_usertrack.conf
1838 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1839
1840 %files mod_vhost_alias
1841 %defattr(644,root,root,755)
1842 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_vhost_alias.conf
1843 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
This page took 0.157603 seconds and 2 git commands to generate.