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