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