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