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