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