]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- added some missing html manual files
[packages/apache.git] / apache.spec
1 #
2 # Conditional build:
3 # mod_rewrite_ldap - enable ldap map supoort for mod_rewrite (alpha)
4 # _without_apache_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(de):    Leading World Wide Web-Server
9 Summary(es):    Servidor HTTPD para proveer servicios WWW
10 Summary(fr):    Le serveur web le plus utilise sur Internet
11 Summary(pl):    Serwer WWW (World Wide Web)
12 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
13 Summary(tr):    Lider WWW tarayýcý
14 Name:           apache
15 Version:        1.3.22
16 Release:        2
17 License:        Apache Group License
18 Group:          Networking/Daemons
19 Group(de):      Netzwerkwesen/Server
20 Group(pl):      Sieciowe/Serwery
21 URL:            http://www.apache.org/
22 Source0:        ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz
23 Source1:        %{name}.init
24 Source2:        %{name}.logrotate
25 Source3:        %{name}-icons.tar.gz
26 Source4:        %{name}.sysconfig
27 Source5:        %{name}-non-english-man-pages.tar.bz2
28 Source6:        %{name}-httpd.conf
29 Source8:        %{name}-mod_vhost_alias.conf
30 Source9:        %{name}-mod_status.conf
31 Source10:       %{name}-mod_proxy.conf
32 Patch0:         %{name}-PLD.patch
33 Patch1:         %{name}-suexec.patch
34 Patch2:         %{name}-htdocs.patch
35 Patch3:         %{name}-errordocs.patch
36 Patch4:         %{name}-apxs.patch
37 Patch5:         %{name}-mod_ssl-addon.patch
38 Patch6:         %{name}-mod_ssl-eapi.patch
39 Patch7:         %{name}-EAPI_MM_CORE_PATH-correction.patch
40 Patch8:         %{name}-EAPI_MM=SYSTEM.patch
41 Patch9:         %{name}-ipv6-PLD.patch
42 Patch10:        %{name}-modules_symbols.patch
43 Patch11:        %{name}-apxs_force_rm_cp.patch
44 Patch12:        %{name}-db3.patch
45 Patch13:        %{name}-lookup_map_ldap.patch
46 Patch14:        %{name}-man.patch
47 Patch15:        %{name}-fpic.patch
48 Patch16:        %{name}-buff.patch
49 Patch17:        %{name}-mkstemp.patch
50 Patch18:        %{name}-EAPI-missing_files.patch
51 Patch19:        %{name}-PLD-nov6.patch
52 Patch20:        %{name}-configdir_skip_backups.patch
53 Patch21:        %{name}-apxs-quiet.patch
54 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 BuildRequires:  db3-devel
56 BuildRequires:  mm-devel >= 1.1.3
57 %{?mod_rewrite_ldap:BuildRequires: openldap-devel}
58 Provides:       httpd
59 Provides:       webserver
60 Provides:       %{name}(EAPI) = %{version}
61 Prereq:         /sbin/chkconfig
62 Prereq:         /usr/sbin/useradd
63 Prereq:         /usr/bin/getgid
64 Prereq:         /bin/id
65 Prereq:         sh-utils
66 Prereq:         rc-scripts
67 Prereq:         mm
68 Prereq:         perl
69 Requires:       mailcap
70 Requires:       /etc/mime.types
71 Requires:       psmisc >= 20.1
72 Obsoletes:      apache-extra
73 Obsoletes:      apache6
74 Obsoletes:      apache-doc
75 Obsoletes:      indexhtml
76
77 %define         _sysconfdir     /etc/httpd
78 %define         _includedir     %{_prefix}/include/apache
79 %define         _datadir        /home/httpd
80 %define         _libexecdir     %{_prefix}/lib/apache
81
82 %description
83 Apache is a powerful, full-featured, efficient and freely-available
84 Web server. Apache is also the most popular Web server on the
85 Internet.
86
87 %description -l de
88 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
89 erhältlich und weit verbreitet ist.
90
91 %description -l es
92 El servidor web Apache es el mejor servidor gratuito disponible en el
93 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
94 que browsers web vean documentos y sometan datos remotamente.
95 Puede ejecutar varias funciones diferentes, incluyendo funciones de
96 proxy y caché, y nos ofrece características como monitor de estado,
97 conversión dinámica de tipo, y otras más.
98
99 %description -l fr
100 Apache est un serveur Web puissant, efficace, gratuit et complet.
101 Apache est aussi le serveur Web le plus populaire sur Internet.
102
103 %description -l pl
104 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
105 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
106
107 %description -l pt_BR
108 O servidor web Apache é o melhor servidor gratuito disponível no mundo
109 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
110 que browsers web vejam documentos e submetam dados remotamente. Ele
111 pode executar várias funções diferentes, incluindo funções de proxy e
112 cache, e oferece características como monitor de status, conversão
113 dinâmica de tipo, e mais.
114
115 %description -l tr
116 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
117 sunucusudur.
118
119 %package suexec
120 Summary:        Apache suexec wrapper
121 Summary(pl):    Suexec wrapper do serwera www Apache
122 Group:          Development/Tools
123 Group(de):      Entwicklung/Werkzeuge
124 Group(fr):      Development/Outils
125 Group(pl):      Programowanie/Narzêdzia
126 Requires:       %{name}(EAPI) = %{version}
127
128 %description suexec
129 The suEXEC feature provides Apache users the ability to run CGI and
130 SSI programs under user IDs different from the user ID of the calling
131 web-server. Normally, when a CGI or SSI program executes, it runs as
132 the same user who is running the web server.
133
134 %description suexec -l pl
135 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
136 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
137 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
138
139 %package devel
140 Summary:        Module development tools for the Apache web server
141 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
142 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
143 Summary(pl):    Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
144 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
145 Group:          Networking/Utilities
146 Group(de):      Netzwerkwesen/Werkzeuge
147 Group(es):      Red/Utilitarios
148 Group(pl):      Sieciowe/Narzêdzia
149 Group(pt_BR):   Rede/Utilitários
150 Requires:       %{name}(EAPI) = %{version}
151 Provides:       %{name}(EAPI)-devel
152
153 %description devel
154 The apache-devel package contains header files for Apache.
155
156 %description devel -l es
157 Este paquete contiene los archivos de inclusión para el Apache, bien
158 como el utilitario apxs para la construcción de objetos compartidos
159 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
160 o desarrollar módulos adicionales para Apache.
161
162 %description devel -l fr
163 Le package apache-devel contient le code source pour le serveur Web
164 Apache et le binaire APXS dont vous aurez besoin pour construire des
165 Objets Dynamiques Partages (DSOs) pour Apache.
166
167 %description devel -l pl
168 Pliki nag³ówkowe dla serwera WWW Apache.
169
170 %description devel -l pt_BR
171 Este pacote contem os arquivos de inclusão para o Apache, bem como o
172 utilitário apxs para a construção de objetos compartilhados dinâmicos
173 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
174 desenvolver módulos adicionais para o Apache.
175
176 %package mod_actions
177 Summary:        Apache module for run CGI whenever a file of a certain type is requested
178 Summary(pl):    Modu³ dla apache do uruchamiania skryptów cgi
179 Group:          Networking/Daemons
180 Group(de):      Netzwerkwesen/Server
181 Group(pl):      Sieciowe/Serwery
182 Prereq:         %{_sbindir}/apxs
183 Prereq:         perl
184 Requires:       %{name}(EAPI) = %{version}
185
186 %description mod_actions
187 This package contains mod_actions module. This module lets you run CGI
188 scripts whenever a file of a certain type is requested. This makes it
189 much easier to execute scripts that process files.
190
191 %description mod_actions -l pl
192 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
193 ¿±danie pobrania pliku okre¶lonego typu.
194
195 %package mod_auth
196 Summary:        Apache module with user authentication using textual files
197 Group:          Networking/Daemons
198 Group(de):      Netzwerkwesen/Server
199 Group(pl):      Sieciowe/Serwery
200 Prereq:         %{_sbindir}/apxs
201 Prereq:         perl
202 Requires:       %{name}(EAPI) = %{version}
203
204 %description mod_auth
205 This package contains mod_auth module. It provides for user
206 authentication using textual files.
207
208 %description mod_auth -l pl
209 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji przy
210 u¿yciu plików tekstowych.
211
212 %package mod_auth_anon
213 Summary:        Apache module with "anonymous" user access authentication
214 Summary(pl):    Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
215 Group:          Networking/Daemons
216 Group(de):      Netzwerkwesen/Server
217 Group(pl):      Sieciowe/Serwery
218 Prereq:         %{_sbindir}/apxs
219 Prereq:         perl
220 Requires:       %{name}(EAPI) = %{version}
221
222 %description mod_auth_anon
223 This package contains mod_auth_anon module. It allows "anonymous" user
224 access to authenticated areas. It does access control in a manner
225 similar to anonymous-ftp sites; i.e. have a 'magic' user id
226 'anonymous' and the email address as a password. These email addresses
227 can be logged. Combined with other (database) access control methods,
228 this allows for effective user tracking and customization according to
229 a user profile while still keeping the site open for 'unregistered'
230 users. One advantage of using Auth-based user tracking is that, unlike
231 magic-cookies and funny URL pre/postfixes, it is completely browser
232 independent and it allows users to share URLs.
233
234 %description mod_auth_anon -l pl
235 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
236 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
237 postaci adresu pocztowego u¿ytkownika).
238
239 %package mod_auth_db
240 Summary:        Apache module with user authentication which uses Berkeley DB files
241 Summary(pl):    Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
242 Group:          Networking/Daemons
243 Group(de):      Netzwerkwesen/Server
244 Group(pl):      Sieciowe/Serwery
245 Prereq:         %{_sbindir}/apxs
246 Prereq:         perl
247 Requires:       %{name}(EAPI) = %{version}
248
249 %description mod_auth_db
250 This package contains mod_auth_db module. It provides for user
251 authentication using Berkeley DB files. It is an alternative to DBM
252 files for those systems which support DB and not DBM. It is only
253 available in Apache 1.1 and later.
254
255 %description mod_auth_db -l pl
256 Ten pakiet zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
257 ale jako plików danych u¿ywa Berkeley DB.
258
259 %package mod_define
260 Summary:        Apache module - authentication variables for arbitrary directives
261 Summary(pl):    Modu³ apache do definiowania zmiennych
262 Group:          Networking/Daemons
263 Group(de):      Netzwerkwesen/Server
264 Group(pl):      Sieciowe/Serwery
265 Prereq:         %{_sbindir}/apxs
266 Prereq:         perl
267 Requires:       %{name}(EAPI) = %{version}
268
269 %description mod_define
270 It provides the definition variables for arbitrary directives, i.e.
271 variables which can be expanded on any(!) directive line.
272
273 %description mod_define -l pl
274 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
275
276 %package mod_digest
277 Summary:        Apache user authentication module using MD5 Digest Authentication 
278 Summary(pl):    Modu³ apache do autoryzacji MD5
279 Group:          Networking/Daemons
280 Group(de):      Netzwerkwesen/Server
281 Group(pl):      Sieciowe/Serwery
282 Prereq:         %{_sbindir}/apxs
283 Prereq:         perl
284 Requires:       %{name}(EAPI) = %{version}
285
286 %description mod_digest
287 This package contains mod_digest module. It provides user
288 authentication using MD5 Digest Authentication.
289
290 %description mod_digest -l pl
291 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
292 Authentication.
293
294 %package mod_dir
295 Summary:        Apache module for "trailing slash" redirects and serving directory index files
296 Summary(pl):    Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
297 Group:          Networking/Daemons
298 Group(de):      Netzwerkwesen/Server
299 Group(pl):      Sieciowe/Serwery
300 Prereq:         %{_sbindir}/apxs
301 Prereq:         perl
302 Requires:       %{name}(EAPI) = %{version}
303
304 %description mod_dir
305 This package contains mod_dir which provides "trailing slash"
306 redirects and serving directory index files.
307
308 %description mod_dir -l pl
309 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
310
311 %package mod_headers
312 Summary:        Apache module allows for the customization of HTTP response headers
313 Summary(pl):    Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
314 Group:          Networking/Daemons
315 Group(de):      Netzwerkwesen/Server
316 Group(pl):      Sieciowe/Serwery
317 Prereq:         %{_sbindir}/apxs
318 Prereq:         perl
319 Requires:       %{name}(EAPI) = %{version}
320
321 %description mod_headers
322 This package contains mod_headers module. The module allows for the
323 customization of HTTP response headers. Headers can be merged,
324 replaced or removed.
325
326 %description mod_headers -l pl
327 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
328 wysy³anych do przegl±darki.
329
330 %package mod_mmap_static
331 Summary:        Apache module for mmap()ing statically configured list files
332 Summary(pl):    Modu³ s³u¿±cy do mmap()owania plików.
333 Group:          Networking/Daemons
334 Group(de):      Netzwerkwesen/Server
335 Group(pl):      Sieciowe/Serwery
336 Prereq:         %{_sbindir}/apxs
337 Prereq:         perl
338 Requires:       %{name}(EAPI) = %{version}
339
340 %description mod_mmap_static
341 This package contains mod_mmap_static module. It provides mmap()ing of
342 a statically configured list of frequently requested but not changed
343 files.
344
345 %description mod_mmap_static -l pl
346 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
347 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
348
349 %package mod_imap
350 Summary:        Apache module with imap-file handler
351 Summary(pl):    Modu³ z obs³ug± imap-file
352 Group:          Networking/Daemons
353 Group(de):      Netzwerkwesen/Server
354 Group(pl):      Sieciowe/Serwery
355 Prereq:         %{_sbindir}/apxs
356 Prereq:         perl
357 Requires:       %{name}(EAPI) = %{version}
358
359 %description mod_imap
360 This package contains mod_imap module. It provides for .map files,
361 replacing the functionality of the imagemap CGI program. Any directory
362 or document type configured to use the handler imap-file.
363
364 %description mod_imap -l pl
365 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
366
367 %package mod_info
368 Summary:        Apache module with comprehensive overview of the server configuration
369 Summary(pl):    Modu³ dostarczaj±cy informacji na temat serwera.
370 Group:          Networking/Daemons
371 Group(de):      Netzwerkwesen/Server
372 Group(pl):      Sieciowe/Serwery
373 Prereq:         %{_sbindir}/apxs
374 Prereq:         perl
375 Requires:       %{name}(EAPI) = %{version}
376
377 %description mod_info
378 This package contains mod_info module. It provides a comprehensive
379 overview of the server configuration including all installed modules
380 and directives in the configuration files.
381
382 %description mod_info -l pl
383 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
384 modu³ach itp.
385
386 %package mod_proxy
387 Summary:        Apache module with Web proxy
388 Summary(pl):    Modu³ dodaj±cy obs³ugê serwera proxy
389 Group:          Networking/Daemons
390 Group(de):      Netzwerkwesen/Server
391 Group(pl):      Sieciowe/Serwery
392 Prereq:         %{_sbindir}/apxs
393 Prereq:         perl
394 Requires:       %{name}(EAPI) = %{version}
395
396 %description mod_proxy
397 This package contains module with implementation a proxy/cache for
398 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
399 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
400 other proxy modules for these and other protocols.
401
402 %description mod_proxy -l pl
403 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
404 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
405 HTTP/1.0.
406
407 %package mod_rewrite
408 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
409 Summary(pl):    Modu³ do ,,przepisywania'' adresów URL w locie
410 Group:          Networking/Daemons
411 Group(de):      Netzwerkwesen/Server
412 Group(pl):      Sieciowe/Serwery
413 Prereq:         %{_sbindir}/apxs
414 Prereq:         perl
415 Requires:       %{name}(EAPI) = %{version}
416
417 %description mod_rewrite
418 This package contains It provides a rule-based rewriting engine to
419 rewrite requested URLs on the fly.
420
421 %description mod_rewrite -l pl
422 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
423
424 %package mod_status
425 Summary:        Server status report module for apache
426 Summary(pl):    Modu³ dostarczaj±cy informacje statystyczne o serwerze.
427 Group:          Networking/Daemons
428 Group(de):      Netzwerkwesen/Server
429 Group(pl):      Sieciowe/Serwery
430 Prereq:         %{_sbindir}/apxs
431 Prereq:         perl
432 Requires:       %{name}(EAPI) = %{version}
433
434 %description mod_status
435 The Status module allows a server administrator to find out how well
436 their server is performing. A HTML page is presented that gives the
437 current server statistics in an easily readable form. If required this
438 page can be made to automatically refresh (given a compatible
439 browser).
440
441 %description mod_status -l pl
442 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
443 pracy serwera apache (w postaci strony HTML).
444
445 %package mod_usertrack
446 Summary:        Apache module for user tracking using cookies
447 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
448 Group:          Networking/Daemons
449 Group(de):      Netzwerkwesen/Server
450 Group(pl):      Sieciowe/Serwery
451 Prereq:         %{_sbindir}/apxs
452 Prereq:         perl
453 Requires:       %{name}(EAPI) = %{version}
454
455 %description mod_usertrack
456 This package contains the user tracking module which did its own
457 logging using CookieLog directory. This module allow multiple log
458 files.
459
460 %description mod_usertrack -l pl
461 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
462
463 %package mod_vhost_alias
464 Summary:        Apache module for dynamically configured mass virtual hosting
465 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych.
466 Group:          Networking/Daemons
467 Group(de):      Netzwerkwesen/Server
468 Group(pl):      Sieciowe/Serwery
469 Prereq:         %{_sbindir}/apxs
470 Prereq:         perl
471 Requires:       %{name}(EAPI) = %{version}
472
473 %description mod_vhost_alias
474 This package contains the mod_vhost_alias. It provides support for
475 dynamically configured mass virtual hosting.
476
477 %description mod_vhost_alias -l pl
478 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
479 wirtualnych.
480
481 %package mod_unique_id
482 Summary:        Apache module which provides a magic token for each request
483 Summary(pl):    Modu³ nadaj±cy ka¿demu ¿±daniu unikalny token
484 Group:          Networking/Daemons
485 Group(de):      Netzwerkwesen/Server
486 Group(pl):      Sieciowe/Serwery
487 Prereq:         %{_sbindir}/apxs
488 Prereq:         perl
489 Requires:       %{name}(EAPI) = %{version}
490
491 %description mod_unique_id
492 This package contains the mod_unique_id. This module provides a magic
493 token for each request which is guaranteed to be unique across "all"
494 requests under very specific conditions. The unique identifier is even
495 unique across multiple machines in a properly configured cluster of
496 machines. The environment variable UNIQUE_ID is set to the identifier
497 for each request. Unique identifiers are useful for various reasons
498 which are beyond the scope of this document.
499
500 %description mod_unique_id -l pl
501 Modu³ nadaje przy ka¿dym ¿±daniu token unikalny w ramach wszystkich
502 ¿±dañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
503 maszyn. Modu³ ustawia przy ka¿dym ¿±daniu zmienn± ¶rodowiskow±
504 UNIQUE_ID.
505
506 %package mod_expires
507 Summary:        Apache module which generates Expires HTTP headers
508 Summary(pl):    Modu³ generuj±cy nag³ówki HTTP Expires
509 Group:          Networking/Daemons
510 Group(de):      Netzwerkwesen/Server
511 Group(pl):      Sieciowe/Serwery
512 Prereq:         %{_sbindir}/apxs
513 Prereq:         perl
514 Requires:       %{name}(EAPI) = %{version}
515
516 %description mod_expires
517 This module controls the setting of the Expires HTTP header in server
518 responses. The expiration date can set to be relative to either the
519 time the source file was last modified, or to the time of the client
520 access.
521
522 %description mod_expires -l pl
523 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
524 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
525 ¼ród³owych lub odwo³ania klienta.
526
527 %prep 
528 %setup -q -n apache_%{version} -a3
529 %patch0 -p1
530 %patch1 -p1
531 %patch2 -p1
532 %patch3 -p1
533 %patch4 -p1
534 %patch5 -p0
535 %patch6 -p0
536 %patch7 -p1
537 %patch8 -p1
538 %{!?_without_apache_ipv6:%patch9 -p1}
539 %patch10 -p1
540 %patch11 -p1
541 %patch12 -p1
542 %{?mod_rewrite_ldap:%patch13 -p1}
543 %patch14 -p1
544 %patch15 -p1
545 %patch16 -p1
546 %patch17 -p1
547 %patch18 -p1
548 %{?_without_apache_ipv6:%patch19 -p1}
549 %patch20 -p1
550 %patch21 -p1
551
552 %build
553 OPTIM="%{rpmcflags}" \
554 ./configure \
555         --prefix=%{_prefix} \
556         --sysconfdir=%{_sysconfdir} \
557         --includedir=%{_includedir} \
558         --sbindir=%{_sbindir} \
559         --libexecdir=%{_libexecdir} \
560         --datadir=%{_datadir} \
561         --manualdir=%{_datadir}/html/manual \
562         --localstatedir=/var \
563         --runtimedir=/var/run \
564         --logfiledir=/var/log/httpd \
565         --with-layout=PLD \
566         --without-confadjust \
567         --enable-module=all \
568         --enable-shared=max \
569         --proxycachedir=/var/cache/apache \
570         --with-perl=%{_bindir}/perl \
571         --enable-suexec \
572         --suexec-caller=http \
573         --suexec-uidmin=500 \
574         --suexec-gidmin=500 \
575         --suexec-docroot=%{_datadir} \
576         --disable-rule=WANTHSREGEX \
577         --enable-rule=EAPI \
578         %{!?_without_apache_ipv6:--enable-rule=INET6}
579
580 %{__make} LIBS1="-lm -lcrypt -lmm -ldl"
581
582 rm -f src/modules/standard/mod_auth_db.so
583 %{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
584
585 rm -f src/modules/standard/mod_rewrite.so
586 %{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-ldb %{?mod_rewrite_ldap:-lldap -llber}"
587
588 %install
589 rm -rf $RPM_BUILD_ROOT
590 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
591         $RPM_BUILD_ROOT%{_datadir}/errordocs \
592         $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},run/apache}
593
594 %{__make} install-quiet root="$RPM_BUILD_ROOT"
595
596 mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
597
598 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
599 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
600 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
601 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
602
603 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
604
605 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
606
607 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
608
609 install %{SOURCE8}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
610 install %{SOURCE9}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
611 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
612
613 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
614
615 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
616
617 %clean
618 rm -rf $RPM_BUILD_ROOT
619
620 %pre
621 if [ -n "`getgid http`" ]; then
622         if [ "`getgid http`" != "51" ]; then
623                 echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
624                 exit 1
625         fi
626 else
627         /usr/sbin/groupadd -g 51 -r -f http
628 fi
629 if [ -n "`id -u http 2>/dev/null`" ]; then
630         if [ "`id -u http`" != "51" ]; then
631                 echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
632                 exit 1
633         fi
634 else
635         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
636 fi
637
638 %post
639 /sbin/chkconfig --add httpd
640 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
641 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
642 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
643 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
644 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
645 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
646 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
647 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
648 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
649 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
650 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
651 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
652 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
653 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
654 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
655 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
656 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
657 umask 137
658 touch /var/log/httpd/{access,error,agent,referer}_log
659 if [ -f /var/lock/subsys/httpd ]; then
660         /etc/rc.d/init.d/httpd restart 1>&2
661 else
662         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
663 fi
664
665 %preun
666 if [ "$1" = "0" ]; then
667         %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
668         %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
669         %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
670         %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
671         %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
672         %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
673         %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
674         %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
675         %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
676         %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
677         %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
678         %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
679         %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
680         %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
681         %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
682         %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
683         %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
684         if [ -f /var/lock/subsys/httpd ]; then
685                 /etc/rc.d/init.d/httpd stop 1>&2
686         fi
687         /sbin/chkconfig --del httpd
688 fi
689
690 %postun
691 if [ "$1" = "0" ]; then
692         /usr/sbin/userdel http
693         /usr/sbin/groupdel http
694 fi
695
696 %post mod_actions
697 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
698 if [ -f /var/lock/subsys/httpd ]; then
699         /etc/rc.d/init.d/httpd restart 1>&2
700 else
701         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
702 fi
703
704 %preun mod_actions
705 if [ "$1" = "0" ]; then
706         %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
707         if [ -f /var/lock/subsys/httpd ]; then
708                 /etc/rc.d/init.d/httpd restart 1>&2
709         fi
710 fi
711
712 %post mod_auth
713 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
714 if [ -f /var/lock/subsys/httpd ]; then
715         /etc/rc.d/init.d/httpd restart 1>&2
716 else
717         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
718 fi
719
720 %preun mod_auth
721 if [ "$1" = "0" ]; then
722         %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
723         if [ -f /var/lock/subsys/httpd ]; then
724                 /etc/rc.d/init.d/httpd restart 1>&2
725         fi
726 fi
727
728 %post mod_auth_anon
729 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
730 if [ -f /var/lock/subsys/httpd ]; then
731         /etc/rc.d/init.d/httpd restart 1>&2
732 else
733         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
734 fi
735
736 %preun mod_auth_anon
737 if [ "$1" = "0" ]; then
738         %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
739         if [ -f /var/lock/subsys/httpd ]; then
740                 /etc/rc.d/init.d/httpd restart 1>&2
741         fi
742 fi
743
744 %post mod_auth_db
745 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
746 if [ -f /var/lock/subsys/httpd ]; then
747         /etc/rc.d/init.d/httpd restart 1>&2
748 else
749         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
750 fi
751
752 %preun mod_auth_db
753 if [ "$1" = "0" ]; then
754         %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
755         if [ -f /var/lock/subsys/httpd ]; then
756                 /etc/rc.d/init.d/httpd restart 1>&2
757         fi
758 fi
759
760 %triggerpostun mod_auth_db -- apache-mod_auth_db <= 1.3.20-2 
761 %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
762
763 %post mod_define
764 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
765 if [ -f /var/lock/subsys/httpd ]; then
766         /etc/rc.d/init.d/httpd restart 1>&2
767 else
768         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
769 fi
770
771 %preun mod_define
772 if [ "$1" = "0" ]; then
773         %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
774         if [ -f /var/lock/subsys/httpd ]; then
775                 /etc/rc.d/init.d/httpd restart 1>&2
776         fi
777 fi
778
779 %post mod_digest
780 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
781 if [ -f /var/lock/subsys/httpd ]; then
782         /etc/rc.d/init.d/httpd restart 1>&2
783 else
784         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
785 fi
786
787 %preun mod_digest
788 if [ "$1" = "0" ]; then
789         %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
790         if [ -f /var/lock/subsys/httpd ]; then
791                 /etc/rc.d/init.d/httpd restart 1>&2
792         fi
793 fi
794
795 %post mod_dir
796 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
797 if [ -f /var/lock/subsys/httpd ]; then
798         /etc/rc.d/init.d/httpd restart 1>&2
799 else
800         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
801 fi
802
803 %preun mod_dir
804 if [ "$1" = "0" ]; then
805         %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
806         if [ -f /var/lock/subsys/httpd ]; then
807                 /etc/rc.d/init.d/httpd restart 1>&2
808         fi
809 fi
810
811 %post mod_expires
812 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
813 if [ -f /var/lock/subsys/httpd ]; then
814         /etc/rc.d/init.d/httpd restart 1>&2
815 else
816         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
817 fi
818
819 %preun mod_expires
820 if [ "$1" = "0" ]; then
821         %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
822         if [ -f /var/lock/subsys/httpd ]; then
823                 /etc/rc.d/init.d/httpd restart 1>&2
824         fi
825 fi
826
827 %post mod_headers
828 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
829 if [ -f /var/lock/subsys/httpd ]; then
830         /etc/rc.d/init.d/httpd restart 1>&2
831 else
832         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
833 fi
834
835 %preun mod_headers
836 if [ "$1" = "0" ]; then
837         %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
838         if [ -f /var/lock/subsys/httpd ]; then
839                 /etc/rc.d/init.d/httpd restart 1>&2
840         fi
841 fi
842
843 %post mod_mmap_static
844 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
845 if [ -f /var/lock/subsys/httpd ]; then
846         /etc/rc.d/init.d/httpd restart 1>&2
847 else
848         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
849 fi
850
851 %preun mod_mmap_static
852 if [ "$1" = "0" ]; then
853         %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
854         if [ -f /var/lock/subsys/httpd ]; then
855                 /etc/rc.d/init.d/httpd restart 1>&2
856         fi
857 fi
858
859 %post mod_imap
860 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
861 if [ -f /var/lock/subsys/httpd ]; then
862         /etc/rc.d/init.d/httpd restart 1>&2
863 else
864         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
865 fi
866
867 %preun mod_imap
868 if [ "$1" = "0" ]; then
869         %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
870         if [ -f /var/lock/subsys/httpd ]; then
871                 /etc/rc.d/init.d/httpd restart 1>&2
872         fi
873 fi
874
875 %post mod_info
876 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
877 if [ -f /var/lock/subsys/httpd ]; then
878         /etc/rc.d/init.d/httpd restart 1>&2
879 else
880         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
881 fi
882
883 %preun mod_info
884 if [ "$1" = "0" ]; then
885         %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
886         if [ -f /var/lock/subsys/httpd ]; then
887                 /etc/rc.d/init.d/httpd restart 1>&2
888         fi
889 fi
890
891 %post mod_proxy
892 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
893 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
894         echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
895 fi
896 if [ -f /var/lock/subsys/httpd ]; then
897         /etc/rc.d/init.d/httpd restart 1>&2
898 else
899         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
900 fi
901
902 %preun mod_proxy
903 if [ "$1" = "0" ]; then
904         %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
905         grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
906                 /etc/httpd/httpd.conf.tmp
907         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
908         if [ -f /var/lock/subsys/httpd ]; then
909                 /etc/rc.d/init.d/httpd restart 1>&2
910         fi
911 fi
912
913 %post mod_rewrite
914 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
915 if [ -f /var/lock/subsys/httpd ]; then
916         /etc/rc.d/init.d/httpd restart 1>&2
917 else
918         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
919 fi
920
921 %preun mod_rewrite
922 if [ "$1" = "0" ]; then
923         %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
924         if [ -f /var/lock/subsys/httpd ]; then
925                 /etc/rc.d/init.d/httpd restart 1>&2
926         fi
927 fi
928
929 %post mod_status
930 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
931 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
932         echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
933 fi
934 if [ -f /var/lock/subsys/httpd ]; then
935         /etc/rc.d/init.d/httpd restart 1>&2
936 else
937         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
938 fi
939
940 %preun mod_status
941 if [ "$1" = "0" ]; then
942         %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
943         grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
944                 /etc/httpd/httpd.conf.tmp
945         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
946         if [ -f /var/lock/subsys/httpd ]; then
947                 /etc/rc.d/init.d/httpd restart 1>&2
948         fi
949 fi
950
951 %post mod_usertrack
952 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
953 if [ -f /var/lock/subsys/httpd ]; then
954         /etc/rc.d/init.d/httpd restart 1>&2
955 else
956         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
957 fi
958
959 %preun mod_usertrack
960 if [ "$1" = "0" ]; then
961         %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
962         if [ -f /var/lock/subsys/httpd ]; then
963                 /etc/rc.d/init.d/httpd restart 1>&2
964         fi
965 fi
966
967 %post mod_unique_id
968 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
969 if [ -f /var/lock/subsys/httpd ]; then
970         /etc/rc.d/init.d/httpd restart 1>&2
971 else
972         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
973 fi
974
975 %preun mod_unique_id
976 if [ "$1" = "0" ]; then
977         %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
978         if [ -f /var/lock/subsys/httpd ]; then
979                 /etc/rc.d/init.d/httpd restart 1>&2
980         fi
981 fi
982
983 %post mod_vhost_alias
984 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
985 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
986         echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
987 fi
988 if [ -f /var/lock/subsys/httpd ]; then
989         /etc/rc.d/init.d/httpd restart 1>&2
990 else
991         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
992 fi
993
994 %preun mod_vhost_alias
995 if [ "$1" = "0" ]; then
996         %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
997         grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
998                 /etc/httpd/httpd.conf.tmp
999         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
1000         if [ -f /var/lock/subsys/httpd ]; then
1001                 /etc/rc.d/init.d/httpd restart 1>&2
1002         fi
1003 fi
1004
1005 %files
1006 %defattr(644,root,root,755)
1007 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
1008 %doc conf/mime.types
1009
1010 %attr(754,root,root) /etc/rc.d/init.d/httpd
1011
1012 %attr(750,root,root) %dir %{_sysconfdir}
1013 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
1014 %attr(640,root,root) %{_sysconfdir}/magic
1015
1016 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1017 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1018
1019 %dir %{_libexecdir}
1020 %attr(755,root,root) %{_libexecdir}/mod_access.so
1021 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1022 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1023 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1024 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1025 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1026 %attr(755,root,root) %{_libexecdir}/mod_env.so
1027 %attr(755,root,root) %{_libexecdir}/mod_include.so
1028 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
1029 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1030 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
1031 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1032 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1033 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1034 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1035 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1036 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1037
1038 %attr(755,root,root) %{_bindir}/htdigest
1039
1040 %attr(755,root,root) %{_sbindir}/ab
1041 %attr(755,root,root) %{_sbindir}/apachectl
1042 %attr(755,root,root) %{_sbindir}/apxs
1043 %attr(755,root,root) %{_sbindir}/httpd
1044 %attr(755,root,root) %{_sbindir}/logresolve
1045 %attr(755,root,root) %{_sbindir}/rotatelogs
1046
1047 %dir %attr(770,root,http) /var/run/apache
1048
1049 %{_mandir}/man1/htdigest.1*
1050 %{_mandir}/man8/*
1051 %lang(hu) %{_mandir}/hu/man8/*
1052 %lang(ko) %{_mandir}/ko/man8/*
1053 %lang(pl) %{_mandir}/pl/man8/*
1054
1055 %attr(750,root,root) %dir /var/log/httpd
1056 %attr(750,root,root) %dir /var/log/archiv/httpd
1057 %attr(640,root,root) %ghost /var/log/httpd/*
1058
1059 %dir %{_datadir}
1060 %dir %{_datadir}/manual
1061 %dir %{_datadir}/manual/images/
1062 %{_datadir}/manual/images/apache_header.gif 
1063 %{_datadir}/manual/images/custom_errordocs.gif 
1064 %{_datadir}/manual/images/home.gif 
1065 %{_datadir}/manual/images/index.gif
1066 %{_datadir}/manual/images/pixel.gif 
1067 %{_datadir}/manual/images/sub.gif 
1068 %{_datadir}/manual/misc
1069 %dir %{_datadir}/manual/search
1070 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1071 %{_datadir}/manual/LICENSE
1072 %{_datadir}/manual/bind.html.html
1073 %lang(en) %{_datadir}/manual/bind.html.en
1074 %lang(fr) %{_datadir}/manual/bind.html.fr
1075 %{_datadir}/manual/cgi_path.html.html
1076 %lang(en) %{_datadir}/manual/cgi_path.html.en
1077 %lang(fr) %{_datadir}/manual/cgi_path.html.fr
1078 %{_datadir}/manual/configuring.html.html
1079 %lang(en) %{_datadir}/manual/configuring.html.en
1080 %lang(fr) %{_datadir}/manual/configuring.html.fr
1081 %lang(ja) %{_datadir}/manual/configuring.html.ja.jis
1082 %{_datadir}/manual/content-negotiation.html
1083 %{_datadir}/manual/custom-error.html.html
1084 %lang(en) %{_datadir}/manual/custom-error.html.en
1085 %lang(fr) %{_datadir}/manual/custom-error.html.fr
1086 %lang(ja) %{_datadir}/manual/custom-error.html.ja.jis
1087 %{_datadir}/manual/dns-caveats.html.html
1088 %lang(en) %{_datadir}/manual/dns-caveats.html.en
1089 %lang(fr) %{_datadir}/manual/dns-caveats.html.fr
1090 %{_datadir}/manual/dso.html
1091 %{_datadir}/manual/env.html.html
1092 %lang(en) %{_datadir}/manual/env.html.en
1093 %lang(ja) %{_datadir}/manual/env.html.ja.jis
1094 %{_datadir}/manual/footer.html
1095 %{_datadir}/manual/handler.html.html
1096 %lang(en) %{_datadir}/manual/handler.html.en
1097 %lang(ja) %{_datadir}/manual/handler.html.ja.jis
1098 %{_datadir}/manual/header.html
1099 %{_datadir}/manual/index.html.html
1100 %lang(en) %{_datadir}/manual/index.html.en
1101 %lang(fr) %{_datadir}/manual/index.html.fr
1102 %lang(ja) %{_datadir}/manual/index.html.ja.jis
1103 %{_datadir}/manual/install.html.html
1104 %lang(en) %{_datadir}/manual/install.html.en
1105 %lang(es) %{_datadir}/manual/install.html.es
1106 %lang(fr) %{_datadir}/manual/install.html.fr
1107 %lang(ja) %{_datadir}/manual/install.html.ja.jis
1108 %{_datadir}/manual/invoking.html.html
1109 %lang(en) %{_datadir}/manual/invoking.html.en
1110 %lang(fr) %{_datadir}/manual/invoking.html.fr
1111 %{_datadir}/manual/keepalive.html.html
1112 %lang(en) %{_datadir}/manual/keepalive.html.en
1113 %lang(ja) %{_datadir}/manual/keepalive.html.ja.jis
1114 %{_datadir}/manual/location.html
1115 %{_datadir}/manual/logs.html
1116 %{_datadir}/manual/multilogs.html
1117 %{_datadir}/manual/new_features_1_3.html.html
1118 %lang(en) %{_datadir}/manual/new_features_1_3.html.en
1119 %lang(ja) %{_datadir}/manual/new_features_1_3.html.ja.jis
1120 %{_datadir}/manual/process-model.html
1121 %{_datadir}/manual/sections.html
1122 %{_datadir}/manual/server-wide.html.html
1123 %lang(en) %{_datadir}/manual/server-wide.html.en
1124 %lang(fr) %{_datadir}/manual/server-wide.html.fr
1125 %lang(ja) %{_datadir}/manual/server-wide.html.ja.jis
1126 %{_datadir}/manual/sourcereorg.html
1127 %{_datadir}/manual/stopping.html.html
1128 %lang(en) %{_datadir}/manual/stopping.html.en
1129 %lang(fr) %{_datadir}/manual/stopping.html.fr
1130 %{_datadir}/manual/suexec.html.html
1131 %lang(en) %{_datadir}/manual/suexec.html.en
1132 %lang(ja) %{_datadir}/manual/suexec.html.ja.jis
1133 %{_datadir}/manual/upgrading_to_1_3.html
1134 %{_datadir}/manual/urlmapping.html
1135 %dir %{_datadir}/manual/howto
1136 %{_datadir}/manual/howto/cgi.html.html
1137 %lang(en) %{_datadir}/manual/howto/cgi.html.en
1138 %lang(ja) %{_datadir}/manual/howto/cgi.html.ja.jis
1139 %{_datadir}/manual/howto/footer.html
1140 %{_datadir}/manual/howto/header.html
1141 %{_datadir}/manual/howto/ssi.html.html
1142 %lang(en) %{_datadir}/manual/howto/ssi.html.en
1143 %lang(ja) %{_datadir}/manual/howto/ssi.html.ja.jis
1144 %dir %{_datadir}/manual/mod
1145 %{_datadir}/manual/mod/core.html.html
1146 %lang(en) %{_datadir}/manual/mod/core.html.en
1147 %lang(fr) %{_datadir}/manual/mod/core.html.fr
1148 %{_datadir}/manual/mod/directive-dict.html.html
1149 %lang(en) %{_datadir}/manual/mod/directive-dict.html.en
1150 %lang(fr) %{_datadir}/manual/mod/directive-dict.html.fr
1151 %lang(ja) %{_datadir}/manual/mod/directive-dict.html.ja.jis
1152 %{_datadir}/manual/mod/directives.html.html
1153 %lang(de) %{_datadir}/manual/mod/directives.html.de
1154 %lang(en) %{_datadir}/manual/mod/directives.html.en
1155 %lang(fr) %{_datadir}/manual/mod/directives.html.fr
1156 %lang(ja) %{_datadir}/manual/mod/directives.html.ja.jis
1157 %{_datadir}/manual/mod/footer.html
1158 %{_datadir}/manual/mod/header.html
1159 %{_datadir}/manual/mod/index-bytype.html.html
1160 %lang(en) %{_datadir}/manual/mod/index-bytype.html.en
1161 %lang(fr) %{_datadir}/manual/mod/index-bytype.html.fr
1162 %{_datadir}/manual/mod/index.html.html
1163 %lang(en) %{_datadir}/manual/mod/index.html.en
1164 %lang(fr) %{_datadir}/manual/mod/index.html.fr
1165 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1166 %{_datadir}/manual/mod/mod_access.html
1167 %{_datadir}/manual/mod/mod_alias.html
1168 %{_datadir}/manual/mod/mod_asis.html
1169 %{_datadir}/manual/mod/mod_autoindex.html
1170 %{_datadir}/manual/mod/mod_cgi.html
1171 %{_datadir}/manual/mod/mod_env.html.html
1172 %lang(en) %{_datadir}/manual/mod/mod_env.html.en
1173 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja.jis
1174 %{_datadir}/manual/mod/mod_include.html
1175 %{_datadir}/manual/mod/mod_log_agent.html
1176 %{_datadir}/manual/mod/mod_log_config.html
1177 %{_datadir}/manual/mod/mod_log_referer.html
1178 %{_datadir}/manual/mod/mod_mime.html.html
1179 %lang(en) %{_datadir}/manual/mod/mod_mime.html.en
1180 %lang(ja) %{_datadir}/manual/mod/mod_mime.html.ja.jis
1181 %{_datadir}/manual/mod/mod_mime_magic.html
1182 %{_datadir}/manual/mod/mod_negotiation.html.html
1183 %lang(en) %{_datadir}/manual/mod/mod_negotiation.html.en
1184 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja.jis
1185 %{_datadir}/manual/mod/mod_setenvif.html.html
1186 %lang(en) %{_datadir}/manual/mod/mod_setenvif.html.en
1187 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja.jis
1188 %{_datadir}/manual/mod/mod_speling.html
1189 %{_datadir}/manual/mod/mod_userdir.html
1190 %{_datadir}/manual/mod/module-dict.html.html
1191 %lang(en) %{_datadir}/manual/mod/module-dict.html.en
1192 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja.jis
1193 %dir %{_datadir}/manual/programs
1194 %{_datadir}/manual/programs/ab.html
1195 %{_datadir}/manual/programs/apachectl.html
1196 %{_datadir}/manual/programs/apxs.html
1197 %{_datadir}/manual/programs/dbmmanage.html
1198 %{_datadir}/manual/programs/footer.html
1199 %{_datadir}/manual/programs/header.html
1200 %{_datadir}/manual/programs/htdigest.html
1201 %{_datadir}/manual/programs/htpasswd.html
1202 %{_datadir}/manual/programs/httpd.html
1203 %{_datadir}/manual/programs/index.html.html
1204 %lang(en) %{_datadir}/manual/programs/index.html.en
1205 %lang(ja) %{_datadir}/manual/programs/index.html.ja.jis
1206 %{_datadir}/manual/programs/logresolve.html
1207 %{_datadir}/manual/programs/other.html
1208 %{_datadir}/manual/programs/rotatelogs.html
1209 %{_datadir}/manual/programs/suexec.html
1210 %dir %{_datadir}/manual/vhosts
1211 %{_datadir}/manual/vhosts/details.html
1212 %{_datadir}/manual/vhosts/examples.html
1213 %{_datadir}/manual/vhosts/fd-limits.html
1214 %{_datadir}/manual/vhosts/footer.html
1215 %{_datadir}/manual/vhosts/header.html
1216 %{_datadir}/manual/vhosts/host.html
1217 %{_datadir}/manual/vhosts/index.html.html
1218 %lang(en) %{_datadir}/manual/vhosts/index.html.en
1219 %lang(ja) %{_datadir}/manual/vhosts/index.html.ja.jis
1220 %{_datadir}/manual/vhosts/ip-based.html
1221 %{_datadir}/manual/vhosts/mass.html
1222 %{_datadir}/manual/vhosts/name-based.html.html
1223 %lang(en) %{_datadir}/manual/vhosts/name-based.html.en
1224 %lang(ja) %{_datadir}/manual/vhosts/name-based.html.ja.jis
1225 %{_datadir}/manual/vhosts/vhosts-in-depth.html
1226 %{_datadir}/manual/vhosts/virtual-host.html
1227
1228 %attr(755,root,root) %dir %{_datadir}/html
1229 %config(noreplace,missingok) %{_datadir}/html/index.html
1230 # note: html extensions are not the same as (g)libc locale names
1231 %lang(ca) %{_datadir}/html/index.html.ca
1232 %lang(cs) %{_datadir}/html/index.html.cz
1233 %lang(de) %{_datadir}/html/index.html.de
1234 %lang(da) %{_datadir}/html/index.html.dk
1235 %lang(et) %{_datadir}/html/index.html.ee
1236 %lang(el) %{_datadir}/html/index.html.el
1237 %{_datadir}/html/index.html.en
1238 %lang(es) %{_datadir}/html/index.html.es
1239 %lang(fr) %{_datadir}/html/index.html.fr
1240 %lang(he) %{_datadir}/html/index.html.he.iso8859-8
1241 %lang(it) %{_datadir}/html/index.html.it
1242 %lang(ja) %{_datadir}/html/index.html.ja.jis
1243 %lang(ko) %{_datadir}/html/index.html.kr.iso-kr
1244 %lang(de_LU) %{_datadir}/html/index.html.lu
1245 %lang(nl) %{_datadir}/html/index.html.nl
1246 %lang(no) %{_datadir}/html/index.html.no
1247 %lang(pl) %{_datadir}/html/index.html.po.iso-pl
1248 %lang(pt_PT) %{_datadir}/html/index.html.pt
1249 %lang(pt_BR) %{_datadir}/html/index.html.pt-br
1250 %lang(ru) %{_datadir}/html/index.html.ru.cp-1251
1251 %lang(ru) %{_datadir}/html/index.html.ru.cp866
1252 %lang(ru) %{_datadir}/html/index.html.ru.iso-ru
1253 %lang(ru) %{_datadir}/html/index.html.ru.koi8-r
1254 %lang(ru) %{_datadir}/html/index.html.ru.ucs2
1255 %lang(ru) %{_datadir}/html/index.html.ru.ucs4
1256 %lang(ru) %{_datadir}/html/index.html.ru.utf8
1257 %lang(se) %{_datadir}/html/index.html.se
1258 %lang(zh_TW) %{_datadir}/html/index.html.zh.Big5
1259
1260 %{_datadir}/html/*.gif
1261 %{_datadir}/errordocs
1262 %dir %{_datadir}/icons
1263 %{_datadir}/icons/*.gif
1264 %dir %{_datadir}/icons/small
1265 %{_datadir}/icons/small/*.gif
1266 %attr(755,root,root) %{_datadir}/cgi-bin
1267
1268 %files suexec
1269 %defattr(644,root,root,755)
1270 %attr(4755,root,root) %{_sbindir}/suexec
1271
1272 %files devel
1273 %defattr(644,root,root,755)
1274 %{_includedir}
1275
1276 %files mod_actions
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1279 %{_datadir}/manual/mod/mod_actions.html
1280
1281 %files mod_auth
1282 %defattr(644,root,root,755)
1283 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1284 %attr(755,root,root) %{_bindir}/htpasswd
1285 %{_datadir}/manual/mod/mod_auth.html
1286
1287 %files mod_auth_anon
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1290 %{_datadir}/manual/mod/mod_auth_anon.html
1291
1292 %files mod_auth_db
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
1295 %attr(755,root,root) %{_bindir}/dbmmanage 
1296 %{_datadir}/manual/mod/mod_auth_db.html
1297 %{_mandir}/man1/dbmmanage.1*
1298 %{_mandir}/man1/htpasswd.1*
1299
1300 #%files mod_define
1301 #%defattr(644,root,root,755)
1302 #%attr(755,root,root) %{_libexecdir}/mod_define.so
1303 #%{_datadir}/manual/mod/mod_define.html
1304
1305 %files mod_digest
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_libexecdir}/mod_digest.so
1308 %{_datadir}/manual/mod/mod_digest.html
1309
1310 %files mod_dir
1311 %defattr(644,root,root,755)
1312 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1313 %{_datadir}/manual/mod/mod_dir.html
1314
1315 %files mod_expires
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1318 %{_datadir}/manual/mod/mod_expires.html
1319
1320 %files mod_headers
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1323 %{_datadir}/manual/mod/mod_headers.html
1324
1325 %files mod_mmap_static
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1328 %{_datadir}/manual/mod/mod_mmap_static.html
1329
1330 %files mod_imap
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1333 %{_datadir}/manual/mod/mod_imap.html
1334
1335 %files mod_info
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libexecdir}/mod_info.so
1338 %{_datadir}/manual/mod/mod_info.html
1339
1340 %files mod_proxy
1341 %defattr(644,root,root,755)
1342 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1343 %attr(755,root,root) %{_libexecdir}/libproxy.so
1344 %{_datadir}/manual/mod/mod_proxy.html
1345 %dir %attr(770,root,http) /var/cache/apache
1346
1347 %files mod_rewrite
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1350 %{_datadir}/manual/mod/mod_rewrite.html
1351 %{_datadir}/manual/images/mod_rewrite*
1352
1353 %files mod_status
1354 %defattr(644,root,root,755)
1355 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1356 %attr(755,root,root) %{_libexecdir}/mod_status.so
1357 %{_datadir}/manual/mod/mod_status.html
1358
1359 %files mod_usertrack
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1362 %{_datadir}/manual/mod/mod_cookies.html
1363 %{_datadir}/manual/mod/mod_usertrack.html
1364
1365 %files mod_unique_id
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1368 %{_datadir}/manual/mod/mod_unique_id.html
1369
1370 %files mod_vhost_alias
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1373 %{_datadir}/manual/mod/mod_vhost_alias.html
1374 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf
This page took 0.302069 seconds and 4 git commands to generate.