]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- massive attack: no need for 755 for *.la
[packages/apache.git] / apache.spec
1 # _without_ssl  - don't build with SSL support
2 # TODO:
3 # - mod_case_filter
4 # - mod_case_filter_in
5 # - mod_optional_fn_{export,import}
6 # - mod_optional_hook_{export,import}
7 # - mod_ext_filter
8 # - mod_echo
9 # - config examples for mod_*
10 # - switch from worker to perchild when it will be working in apache
11 # - check if all modules are (de)registered in %%post/%%postun
12 # - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
13 # - add %%post/%%postun to suexec
14 # - --with-suexec-gidmin=500 or =100 ?
15 # - --with-suexec-uidmin=500 or =1000 ?
16 %include        /usr/lib/rpm/macros.perl
17 Summary:        The most widely used Web server on the Internet
18 Summary(de):    Leading World Wide Web-Server
19 Summary(es):    Servidor HTTPD para proveer servicios WWW
20 Summary(fr):    Le serveur web le plus utilise sur Internet
21 Summary(pl):    Serwer WWW (World Wide Web)
22 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
23 Summary(tr):    Lider WWW tarayýcý
24 Name:           apache
25 Version:        2.0.43
26 Release:        0.2
27 License:        Apache Group License
28 Group:          Networking/Daemons
29 URL:            http://httpd.apache.org/
30 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
31 Source1:        %{name}.init
32 Source2:        %{name}.logrotate
33 Source3:        %{name}-icons.tar.gz
34 Source4:        %{name}.sysconfig
35 Source6:        %{name}-httpd.conf
36 Source8:        %{name}-mod_vhost_alias.conf
37 Source9:        %{name}-mod_status.conf
38 Source10:       %{name}-mod_proxy.conf
39 Source11:       %{name}-mod_info.conf
40 Source12:       %{name}-mod_ssl.conf
41 Source13:       %{name}-mod_dav.conf
42 Source14:       %{name}-mod_dir.conf
43 Source20:       %{name}-server.crt
44 Source21:       %{name}-server.key
45 Patch0:         %{name}-apxs.patch
46 Patch1:         %{name}-configdir_skip_backups.patch
47 Patch2:         %{name}-layout.patch
48 Patch3:         %{name}-suexec.patch
49 Patch4:         %{name}-db.patch
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6f}
52 %{!?_without_ssl:BuildRequires: openssl-tools}
53 BuildRequires:  db-devel
54 BuildRequires:  zlib-devel
55 BuildRequires:  expat-devel
56 BuildRequires:  perl-devel >= 5.004
57 BuildRequires:  gdbm-devel
58 BuildRequires:  byacc
59 BuildRequires:  rpm-perlprov >= 4.0.4
60 Provides:       httpd = %{version}
61 Provides:       webserver = %{version}
62 Prereq:         /sbin/chkconfig
63 Prereq:         /usr/sbin/useradd
64 Prereq:         /usr/bin/getgid
65 Prereq:         /bin/id
66 Prereq:         sh-utils
67 Prereq:         rc-scripts
68 Prereq:         perl
69 Requires:       mailcap
70 Requires:       /etc/mime.types
71 Requires:       psmisc >= 20.1
72 Requires:       libtool
73 Obsoletes:      apache-extra
74 Obsoletes:      apache6
75 Obsoletes:      apache-doc
76 Obsoletes:      indexhtml
77
78 %define         _sysconfdir     /etc/httpd
79 %define         _includedir     %{_prefix}/include/apache
80 %define         _datadir        /home/services/httpd
81 %define         _libexecdir     %{_libdir}/apache
82
83 %description
84 Apache is a powerful, full-featured, efficient and freely-available
85 Web server. Apache is also the most popular Web server on the
86 Internet.
87
88 %description -l de
89 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
90 erhältlich und weit verbreitet ist.
91
92 %description -l es
93 El servidor web Apache es el mejor servidor gratuito disponible en el
94 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
95 que browsers web vean documentos y sometan datos remotamente. Puede
96 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
97 caché, y nos ofrece características como monitor de estado, conversión
98 dinámica de tipo, y otras más.
99
100 %description -l fr
101 Apache est un serveur Web puissant, efficace, gratuit et complet.
102 Apache est aussi le serveur Web le plus populaire sur Internet.
103
104 %description -l pl
105 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
106 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
107
108 %description -l pt_BR
109 O servidor web Apache é o melhor servidor gratuito disponível no mundo
110 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
111 que browsers web vejam documentos e submetam dados remotamente. Ele
112 pode executar várias funções diferentes, incluindo funções de proxy e
113 cache, e oferece características como monitor de status, conversão
114 dinâmica de tipo, e mais.
115
116 %description -l tr
117 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
118 sunucusudur.
119
120 %package suexec
121 Summary:        Apache suexec wrapper
122 Summary(pl):    Suexec wrapper do serwera www Apache
123 Group:          Development/Tools
124 Requires:       %{name} = %{version}
125
126 %description suexec
127 The suEXEC feature provides Apache users the ability to run CGI and
128 SSI programs under user IDs different from the user ID of the calling
129 web-server. Normally, when a CGI or SSI program executes, it runs as
130 the same user who is running the web server.
131
132 %description suexec -l pl
133 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
134 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
135 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
136
137 %package devel
138 Summary:        Module development tools for the Apache web server
139 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
140 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
141 Summary(pl):    Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
142 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
143 Group:          Networking/Utilities
144 Requires:       %{name} = %{version}
145 Requires:       apr-devel = %{version}
146
147 %description devel
148 The apache-devel package contains header files for Apache.
149
150 %description devel -l es
151 Este paquete contiene los archivos de inclusión para el Apache, bien
152 como el utilitario apxs para la construcción de objetos compartidos
153 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
154 o desarrollar módulos adicionales para Apache.
155
156 %description devel -l fr
157 Le package apache-devel contient le code source pour le serveur Web
158 Apache et le binaire APXS dont vous aurez besoin pour construire des
159 Objets Dynamiques Partages (DSOs) pour Apache.
160
161 %description devel -l pl
162 Pliki nag³ówkowe dla serwera WWW Apache.
163
164 %description devel -l pt_BR
165 Este pacote contem os arquivos de inclusão para o Apache, bem como o
166 utilitário apxs para a construção de objetos compartilhados dinâmicos
167 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
168 desenvolver módulos adicionais para o Apache.
169
170 %package static
171 Summary:        Static Apache web server libraries
172 Summary(pl):    Statyczne biblioteki serwera www Apache
173 Group:          Development/Libraries
174 Requires:       %{name}-devel = %{version}
175
176 %description static
177 The apache-static package contains static libraries for Apache.
178
179 %description static -l pl
180 Styatyczne biblioteki serwera Apache.
181
182 %package mod_actions
183 Summary:        Apache module for run CGI whenever a file of a certain type is requested
184 Summary(pl):    Modu³ dla apache do uruchamiania skryptów cgi
185 Group:          Networking/Daemons
186 Requires:       %{name} = %{version}
187
188 %description mod_actions
189 This package contains mod_actions module. This module lets you run CGI
190 scripts whenever a file of a certain type is requested. This makes it
191 much easier to execute scripts that process files.
192
193 %description mod_actions -l pl
194 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
195 ¿±danie pobrania pliku okre¶lonego typu.
196
197 %package mod_auth
198 Summary:        Apache module with user authentication using textual files
199 Group:          Networking/Daemons
200 Requires:       %{name} = %{version}
201
202 %description mod_auth
203 This package contains mod_auth module. It provides for user
204 authentication using textual files.
205
206 %description mod_auth -l pl
207 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji przy
208 u¿yciu plików tekstowych.
209
210 %package mod_auth_anon
211 Summary:        Apache module with "anonymous" user access authentication
212 Summary(pl):    Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
213 Group:          Networking/Daemons
214 Requires:       %{name} = %{version}
215
216 %description mod_auth_anon
217 This package contains mod_auth_anon module. It allows "anonymous" user
218 access to authenticated areas. It does access control in a manner
219 similar to anonymous-ftp sites; i.e. have a 'magic' user id
220 'anonymous' and the email address as a password. These email addresses
221 can be logged. Combined with other (database) access control methods,
222 this allows for effective user tracking and customization according to
223 a user profile while still keeping the site open for 'unregistered'
224 users. One advantage of using Auth-based user tracking is that, unlike
225 magic-cookies and funny URL pre/postfixes, it is completely browser
226 independent and it allows users to share URLs.
227
228 %description mod_auth_anon -l pl
229 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
230 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
231 postaci adresu pocztowego u¿ytkownika).
232
233 %package mod_auth_dbm
234 Summary:        Apache module with user authentication which uses DBM files
235 Summary(pl):    Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików DBM
236 Group:          Networking/Daemons
237 Obsoletes:      %{name}-mod_auth_db
238 Requires:       %{name} = %{version}
239
240 %description mod_auth_dbm
241 This module provides for HTTP Basic Authentication, where the
242 usernames and passwords are stored in DBM type database files. It is
243 an alternative to the plain text password files provided by mod_auth.
244
245 %description mod_auth_dbm -l pl
246 Ten modu³ dostarcza Pros± Autoryzacjê HTTP gdzie u¿ytkownicy oraz ich
247 has³a s± trzymane w plikach bazy typu DBM.
248
249 %package mod_auth_digest
250 Summary:        Apache user authentication module using MD5 Digest Authentication
251 Summary(pl):    Modu³ apache do autoryzacji MD5
252 Group:          Networking/Daemons
253 Obsoletes:      apache-mod_digest
254 Requires:       %{name} = %{version}
255
256 %description mod_auth_digest
257 This package contains mod_digest module. It provides user
258 authentication using MD5 Digest Authentication.
259
260 %description mod_auth_digest -l pl
261 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
262 Authentication.
263
264 %package mod_cache
265 Summary:        Content cache keyed to URIs
266 Summary(pl):    Pamiêæ podrêczna wg klucza URI
267 Group:          Networking/Daemons
268 Requires:       %{name} = %{version}
269
270 %description mod_cache
271 mod_cache implements an RFC 2616 compliant HTTP content cache that can
272 be used to cache either local or proxied content. Two storage
273 management modules are included in the base Apache distribution:
274 mod_disk_cache implements a disk based storage manager (generally used
275 for proxy caching) and mod_mem_cache implements an in-memory based
276 storage manager (primarily useful for caching local content).
277
278 %description mod_cache -l pl
279 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
280 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
281 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
282 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
283 (u¿ywane do cacheowania proxy).
284
285 %package mod_cgid
286 Summary:        Execution of CGI scripts using an external CGI daemon
287 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
288 Group:          Networking/Daemons
289 Requires:       %{name} = %{version}
290
291 %description mod_cgid
292 Execution of CGI scripts using an external CGI daemon.
293
294 %description mod_cgid -l pl
295 Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
296
297 %package mod_charset_lite
298 Summary:        Specify character set translation or recoding
299 Summary(pl):    Translacja lub przekodowywanie znaków
300 Group:          Networking/Daemons
301 Requires:       %{name} = %{version}
302
303 %description mod_charset_lite
304 Specify character set translation or recoding.
305
306 %description mod_charset_lite -l pl
307 Translacja lub przekodowywanie znaków.
308
309 %package mod_dav
310 Summary:        Apache module - Distributed Authoring and Versioning
311 Summary(pl):    Modu³ apache - Rozdzielone Autorstwo i Wersjonowanie
312 Group:          Networking/Daemons
313 Requires:       %{name} = %{version}
314
315 %description mod_dav
316 This module provides class 1 and class 2 WebDAV ('Web-based
317 Distributed Authoring and Versioning') functionality for Apache. This
318 extension to the HTTP protocol allows creating, moving, copying, and
319 deleting resources and collections on a remote web server.
320
321 %description mod_dav -l pl
322 Modu³ dostarcza klasê 1 oraz klasê 2 WebDAV (Bazuj±cy na WWWW
323 Rozdzielone Autorstwo i Wersjonowanie). To rozszerzenie HTTP pozwala
324 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
325 zdalnym serwerze www.
326
327 %package mod_deflate
328 Summary:        Apache module: Compress content before it is delivered to the client
329 Summary(pl):    Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
330 Group:          Networking/Daemons
331 Requires:       %{name} = %{version}
332
333 %description mod_deflate
334 Compress content before it is delivered to the client.
335
336 %description mod_deflate -l pl
337 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
338
339 %package mod_dir
340 Summary:        Apache module for "trailing slash" redirects and serving directory index files
341 Summary(pl):    Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
342 Group:          Networking/Daemons
343 Requires:       %{name} = %{version}
344
345 %description mod_dir
346 This package contains mod_dir which provides "trailing slash"
347 redirects and serving directory index files.
348
349 %description mod_dir -l pl
350 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
351
352 %package mod_headers
353 Summary:        Apache module allows for the customization of HTTP response headers
354 Summary(pl):    Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
355 Group:          Networking/Daemons
356 Requires:       %{name} = %{version}
357
358 %description mod_headers
359 This package contains mod_headers module. The module allows for the
360 customization of HTTP response headers. Headers can be merged,
361 replaced or removed.
362
363 %description mod_headers -l pl
364 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
365 wysy³anych do przegl±darki.
366
367 %package mod_imap
368 Summary:        Apache module with imap-file handler
369 Summary(pl):    Modu³ z obs³ug± imap-file
370 Group:          Networking/Daemons
371 Requires:       %{name} = %{version}
372
373 %description mod_imap
374 This package contains mod_imap module. It provides for .map files,
375 replacing the functionality of the imagemap CGI program. Any directory
376 or document type configured to use the handler imap-file.
377
378 %description mod_imap -l pl
379 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
380
381 %package mod_info
382 Summary:        Apache module with comprehensive overview of the server configuration
383 Summary(pl):    Modu³ dostarczaj±cy informacji na temat serwera.
384 Group:          Networking/Daemons
385 Requires:       %{name} = %{version}
386
387 %description mod_info
388 This package contains mod_info module. It provides a comprehensive
389 overview of the server configuration including all installed modules
390 and directives in the configuration files.
391
392 %description mod_info -l pl
393 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
394 modu³ach itp.
395
396 %package mod_proxy
397 Summary:        Apache module with Web proxy
398 Summary(pl):    Modu³ dodaj±cy obs³ugê serwera proxy
399 Group:          Networking/Daemons
400 Requires:       %{name} = %{version}
401
402 %description mod_proxy
403
404 This package contains module with implementation a proxy/cache for
405 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
406 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
407 connect to other proxy modules for these and other protocols.
408
409 %description mod_proxy -l pl
410 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
411 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
412 HTTP/1.0 i HTTP/1.1.
413
414 %package mod_rewrite
415 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
416 Summary(pl):    Modu³ do ,,przepisywania'' adresów URL w locie
417 Group:          Networking/Daemons
418 Requires:       %{name} = %{version}
419
420 %description mod_rewrite
421 This package contains It provides a rule-based rewriting engine to
422 rewrite requested URLs on the fly.
423
424 %description mod_rewrite -l pl
425 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
426
427 %package mod_ssl
428 Summary:        Apache module: Strong cryptography using the Secure Sockets Layer (SSL)
429 Summary(pl):    Modu³ apache: Silna kryptografia z u¿yciem SSL
430 Group:          Networking/Daemons
431 Epoch:          1
432 Requires:       %{name} = %{version}
433
434 %description mod_ssl
435 Strong cryptography using the Secure Sockets Layer (SSL).
436
437 %description mod_ssl -l pl
438 Silna kryptografia z u¿yciem SSL.
439
440 %package mod_status
441 Summary:        Server status report module for apache
442 Summary(pl):    Modu³ dostarczaj±cy informacje statystyczne o serwerze.
443 Group:          Networking/Daemons
444 Requires:       %{name} = %{version}
445
446 %description mod_status
447 The Status module allows a server administrator to find out how well
448 their server is performing. A HTML page is presented that gives the
449 current server statistics in an easily readable form. If required this
450 page can be made to automatically refresh (given a compatible
451 browser).
452
453 %description mod_status -l pl
454 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
455 pracy serwera apache (w postaci strony HTML).
456
457 %package mod_usertrack
458 Summary:        Apache module for user tracking using cookies
459 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
460 Group:          Networking/Daemons
461 Requires:       %{name} = %{version}
462
463 %description mod_usertrack
464 This package contains the user tracking module which did its own
465 logging using CookieLog directory. This module allow multiple log
466 files.
467
468 %description mod_usertrack -l pl
469 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
470
471 %package mod_vhost_alias
472 Summary:        Apache module for dynamically configured mass virtual hosting
473 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych.
474 Group:          Networking/Daemons
475 Requires:       %{name} = %{version}
476
477 %description mod_vhost_alias
478 This package contains the mod_vhost_alias. It provides support for
479 dynamically configured mass virtual hosting.
480
481 %description mod_vhost_alias -l pl
482 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
483 wirtualnych.
484
485 %package mod_unique_id
486 Summary:        Apache module which provides a magic token for each request
487 Summary(pl):    Modu³ nadaj±cy ka¿demu ¿±daniu unikalny token
488 Group:          Networking/Daemons
489 Requires:       %{name} = %{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 Requires:       %{name} = %{version}
511
512 %description mod_expires
513 This module controls the setting of the Expires HTTP header in server
514 responses. The expiration date can set to be relative to either the
515 time the source file was last modified, or to the time of the client
516 access.
517
518 %description mod_expires -l pl
519 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
520 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
521 ¼ród³owych lub odwo³ania klienta.
522
523 %package mod_file_cache
524 Summary:        Apache module: Caches a static list of files in memory
525 Summary(pl):    Modu³ cacheuj±cy statyczn± listê plików w pamiêci
526 Group:          Networking/Daemons
527 Obsoletes:      %{name}-mmap_static
528 Requires:       %{name} = %{version}
529
530 %description mod_file_cache
531 Caches a static list of files in memory.
532
533 %description mod_file_cache -l pl
534 Modu³ cacheuj±cy statyczn± listê plików w pamiêci.
535
536 %package -n apr
537 Summary:        The Apache Portable Runtime library
538 Summary(pl):    Przeno¶na biblioteka Apache
539 Group:          Libraries
540
541 %description -n apr
542 The Apache Portable Run-time libraries have been designed to provide a
543 common interface to low level routines across any platform.
544
545 %description -n apr -l pl
546 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu dostarczania
547 popularnego i jednolitego interfejsu do niskopoziomowych funkcji na
548 dowolnej platformie.
549
550 %package -n apr-devel
551 Summary:        The includes and linker libraries for development with APR
552 Summary(pl):    Pliki nag³ówkowe, biblioteki dla linkera APR
553 Group:          Development/Libraries
554 Requires:       apr = %{version}
555
556 %description -n apr-devel
557 The includes and linker libraries for development with APR.
558
559 %description -n apr-devel -l pl
560 Pliki nag³ówkowe, biblioteki dla linkera APR.
561
562 %package -n apr-static
563 Summary:        Static APR libraries.
564 Summary(pl):    Statyczne biblioteki APR.
565 Group:          Development/Libraries
566 Requires:       apr-devel = %{version}
567
568 %description -n apr-static
569 Static APR libraries.
570
571 %description -n apr-static -l pl
572 Statyczne biblioteki APR.
573
574 %prep
575 %setup -q -n httpd-%{version}
576 %patch0 -p1
577 %patch1 -p1
578 %patch2 -p1
579 %patch3 -p1
580 %patch4 -p1
581
582 %build
583 %configure \
584         --enable-layout=PLD \
585         --enable-modules=all \
586         --enable-mods-shared=all \
587         --enable-auth-anon       \
588         --enable-auth-dbm \
589         --enable-auth-digest \
590         --enable-file-cache \
591         --enable-echo \
592         --enable-cache \
593         --enable-charset-lite \
594         --enable-mem-cache \
595         --enable-disk-cache \
596         --enable-ext-filter \
597         --enable-case-filter \
598         --enable-case-filter-in \
599         --enable-deflate \
600         --with-z=%{_prefix} \
601         --enable-mime-magic \
602         --enable-cern-meta \
603         --enable-expires \
604         --enable-headers \
605         --enable-usertrack \
606         --enable-unique-id \
607         --enable-proxy \
608         --enable-proxy-connect \
609         --enable-proxy-ftp \
610         --enable-proxy-http \
611         %{!?_without_ssl:--enable-ssl} \
612         --enable-optional-hook-export \
613         --enable-optional-hook-import \
614         --enable-optional-fn-import \
615         --enable-optional-fn-export \
616         --enable-dav \
617         --enable-info \
618         --enable-suexec \
619         --enable-cgi \
620         --enable-cgid \
621         --enable-dav-fs \
622         --enable-vhost-alias \
623         --enable-speling \
624         --enable-rewrite \
625         --enable-so \
626         --with-mpm=worker \
627         --with-suexec-bin=%{_sbindir}/suexec \
628         --with-suexec-caller=http \
629         --with-suexec-docroot=%{_datadir} \
630         --with-suexec-logfile=/var/log/httpd/suexec_log \
631         --with-suexec-uidmin=500 \
632         --with-suexec-gidmin=500 \
633         --with-suexec-umask=077
634
635 %{__make}
636
637 %install
638 rm -rf $RPM_BUILD_ROOT
639 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
640 install -d $RPM_BUILD_ROOT%{_var}/log/{httpd,archiv/httpd}
641 install -d $RPM_BUILD_ROOT%{_var}/{run,cache}/apache
642
643 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
644         installbuilddir=%{_sysconfdir}/build \
645         prefix=%{_sysconfdir}/httpd \
646         libexecdir=%{_libdir}/%{name} \
647         iconsdir=%{_datadir}/icons \
648         errordir=%{_datadir}/error \
649         htdocsdir=%{_datadir}/html \
650         manualdir=%{_datadir}/manual \
651         cgidir=%{_datadir}/cgi-bin \
652         runtimedir=%{_var}/run \
653         logdir=%{_var}/log/httpd \
654         proxycachedir=%{_var}/cache/httpd
655
656 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
657 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
658
659 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
660         $RPM_BUILD_ROOT%{_libexecdir}/build
661
662 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
663 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
664
665 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
666 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
667 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
668
669 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
670
671 %if %{?_without_ssl:0}%{!?_without_ssl:1}
672 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
673 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
674 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
675 %endif
676
677 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
678
679 install %{SOURCE6}  $CFG/10_httpd.conf
680 install %{SOURCE8}  $CFG/20_mod_vhost_alias.conf
681 install %{SOURCE9}  $CFG/25_mod_status.conf
682 install %{SOURCE10} $CFG/30_mod_proxy.conf
683 install %{SOURCE11} $CFG/35_mod_info.conf
684 install %{SOURCE12} $CFG/40_mod_ssl.conf
685 install %{SOURCE13} $CFG/45_mod_dav.conf
686 install %{SOURCE14} $CFG/59_mod_dir.conf
687
688 echo "LoadModule actions_module       %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
689 echo "LoadModule auth_module          %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
690 echo "LoadModule auth_anon_module     %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
691 echo "LoadModule auth_dbm_module      %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
692 echo "LoadModule auth_digest_module   %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
693 echo "LoadModule cache_module         %{_libexecdir}/mod_cache.so
694 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
695 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
696 echo "LoadModule cgid_module          %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
697 echo "LoadModule charset_lite_module  %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
698 echo "LoadModule deflate_module       %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
699 echo "LoadModule expires_module       %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
700 echo "LoadModule file_cache_module    %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
701 echo "LoadModule headers_module       %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
702 echo "LoadModule imap_module          %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
703 echo "LoadModule rewrite_module       %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
704 echo "LoadModule usertrack_module     %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
705 echo "LoadModule unique_id_module     %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
706
707 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
708
709 %clean
710 rm -rf $RPM_BUILD_ROOT
711
712 %pre
713 if [ -n "`getgid http`" ]; then
714         if [ "`getgid http`" != "51" ]; then
715                 echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
716                 exit 1
717         fi
718 else
719         /usr/sbin/groupadd -g 51 -r -f http
720 fi
721 if [ -n "`id -u http 2>/dev/null`" ]; then
722         if [ "`id -u http`" != "51" ]; then
723                 echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
724                 exit 1
725         fi
726 else
727         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
728 fi
729
730 %post
731 /sbin/ldconfig
732 /sbin/chkconfig --add httpd
733 umask 137
734 touch /var/log/httpd/{access,error,agent,referer}_log
735 if [ -f /var/lock/subsys/httpd ]; then
736         /etc/rc.d/init.d/httpd restart 1>&2
737 else
738         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
739 fi
740
741 %preun
742 if [ "$1" = "0" ]; then
743         if [ -f /var/lock/subsys/httpd ]; then
744                 /etc/rc.d/init.d/httpd stop 1>&2
745         fi
746         /sbin/chkconfig --del httpd
747 fi
748
749 %postun
750 /sbin/ldconfig
751 if [ "$1" = "0" ]; then
752         /usr/sbin/userdel http
753         /usr/sbin/groupdel http
754 fi
755
756 %post mod_actions
757 if [ -f /var/lock/subsys/httpd ]; then
758         /etc/rc.d/init.d/httpd restart 1>&2
759 else
760         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
761 fi
762
763 %preun mod_actions
764 if [ "$1" = "0" ]; then
765         if [ -f /var/lock/subsys/httpd ]; then
766                 /etc/rc.d/init.d/httpd restart 1>&2
767         fi
768 fi
769
770 %post mod_auth
771 if [ -f /var/lock/subsys/httpd ]; then
772         /etc/rc.d/init.d/httpd restart 1>&2
773 else
774         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
775 fi
776
777 %preun mod_auth
778 if [ "$1" = "0" ]; then
779         if [ -f /var/lock/subsys/httpd ]; then
780                 /etc/rc.d/init.d/httpd restart 1>&2
781         fi
782 fi
783
784 %post mod_auth_anon
785 if [ -f /var/lock/subsys/httpd ]; then
786         /etc/rc.d/init.d/httpd restart 1>&2
787 else
788         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
789 fi
790
791 %preun mod_auth_anon
792 if [ "$1" = "0" ]; then
793         if [ -f /var/lock/subsys/httpd ]; then
794                 /etc/rc.d/init.d/httpd restart 1>&2
795         fi
796 fi
797
798 %post mod_auth_dbm
799 if [ -f /var/lock/subsys/httpd ]; then
800         /etc/rc.d/init.d/httpd restart 1>&2
801 else
802         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
803 fi
804
805 %preun mod_auth_dbm
806 if [ "$1" = "0" ]; then
807         if [ -f /var/lock/subsys/httpd ]; then
808                 /etc/rc.d/init.d/httpd restart 1>&2
809         fi
810 fi
811
812 %post mod_cache
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_cache
820 if [ "$1" = "0" ]; then
821         if [ -f /var/lock/subsys/httpd ]; then
822                 /etc/rc.d/init.d/httpd restart 1>&2
823         fi
824 fi
825
826 %post mod_cgid
827 if [ -f /var/lock/subsys/httpd ]; then
828         /etc/rc.d/init.d/httpd restart 1>&2
829 else
830         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
831 fi
832
833 %preun mod_cgid
834 if [ "$1" = "0" ]; then
835         if [ -f /var/lock/subsys/httpd ]; then
836                 /etc/rc.d/init.d/httpd restart 1>&2
837         fi
838 fi
839
840 %post mod_charset_lite
841 if [ -f /var/lock/subsys/httpd ]; then
842         /etc/rc.d/init.d/httpd restart 1>&2
843 else
844         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
845 fi
846
847 %preun mod_charset_lite
848 if [ "$1" = "0" ]; then
849         if [ -f /var/lock/subsys/httpd ]; then
850                 /etc/rc.d/init.d/httpd restart 1>&2
851         fi
852 fi
853
854 %post mod_dav
855 if [ -f /var/lock/subsys/httpd ]; then
856         /etc/rc.d/init.d/httpd restart 1>&2
857 else
858         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
859 fi
860
861 %preun mod_dav
862 if [ "$1" = "0" ]; then
863         if [ -f /var/lock/subsys/httpd ]; then
864                 /etc/rc.d/init.d/httpd restart 1>&2
865         fi
866 fi
867
868 %post mod_auth_digest
869 if [ -f /var/lock/subsys/httpd ]; then
870         /etc/rc.d/init.d/httpd restart 1>&2
871 else
872         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
873 fi
874
875 %preun mod_auth_digest
876 if [ "$1" = "0" ]; then
877         if [ -f /var/lock/subsys/httpd ]; then
878                 /etc/rc.d/init.d/httpd restart 1>&2
879         fi
880 fi
881
882 %post mod_deflate
883 if [ -f /var/lock/subsys/httpd ]; then
884         /etc/rc.d/init.d/httpd restart 1>&2
885 else
886         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
887 fi
888
889 %preun mod_deflate
890 if [ "$1" = "0" ]; then
891         if [ -f /var/lock/subsys/httpd ]; then
892                 /etc/rc.d/init.d/httpd restart 1>&2
893         fi
894 fi
895
896 %post mod_dir
897 if [ -f /var/lock/subsys/httpd ]; then
898         /etc/rc.d/init.d/httpd restart 1>&2
899 else
900         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
901 fi
902
903 %preun mod_dir
904 if [ "$1" = "0" ]; then
905         if [ -f /var/lock/subsys/httpd ]; then
906                 /etc/rc.d/init.d/httpd restart 1>&2
907         fi
908 fi
909
910 %post mod_expires
911 if [ -f /var/lock/subsys/httpd ]; then
912         /etc/rc.d/init.d/httpd restart 1>&2
913 else
914         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
915 fi
916
917 %preun mod_expires
918 if [ "$1" = "0" ]; then
919         if [ -f /var/lock/subsys/httpd ]; then
920                 /etc/rc.d/init.d/httpd restart 1>&2
921         fi
922 fi
923
924 %post mod_file_cache
925 if [ -f /var/lock/subsys/httpd ]; then
926         /etc/rc.d/init.d/httpd restart 1>&2
927 else
928         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
929 fi
930
931 %preun mod_file_cache
932 if [ "$1" = "0" ]; then
933         if [ -f /var/lock/subsys/httpd ]; then
934                 /etc/rc.d/init.d/httpd restart 1>&2
935         fi
936 fi
937
938 %post mod_headers
939 if [ -f /var/lock/subsys/httpd ]; then
940         /etc/rc.d/init.d/httpd restart 1>&2
941 else
942         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
943 fi
944
945 %preun mod_headers
946 if [ "$1" = "0" ]; then
947         if [ -f /var/lock/subsys/httpd ]; then
948                 /etc/rc.d/init.d/httpd restart 1>&2
949         fi
950 fi
951
952 %post mod_imap
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_imap
960 if [ "$1" = "0" ]; then
961         if [ -f /var/lock/subsys/httpd ]; then
962                 /etc/rc.d/init.d/httpd restart 1>&2
963         fi
964 fi
965
966 %post mod_info
967 if [ -f /var/lock/subsys/httpd ]; then
968         /etc/rc.d/init.d/httpd restart 1>&2
969 else
970         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
971 fi
972
973 %preun mod_info
974 if [ "$1" = "0" ]; then
975         if [ -f /var/lock/subsys/httpd ]; then
976                 /etc/rc.d/init.d/httpd restart 1>&2
977         fi
978 fi
979
980 %post mod_proxy
981 if [ -f /var/lock/subsys/httpd ]; then
982         /etc/rc.d/init.d/httpd restart 1>&2
983 else
984         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
985 fi
986
987 %preun mod_proxy
988 if [ "$1" = "0" ]; then
989         if [ -f /var/lock/subsys/httpd ]; then
990                 /etc/rc.d/init.d/httpd restart 1>&2
991         fi
992 fi
993
994 %post mod_rewrite
995 if [ -f /var/lock/subsys/httpd ]; then
996         /etc/rc.d/init.d/httpd restart 1>&2
997 else
998         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
999 fi
1000
1001 %preun mod_rewrite
1002 if [ "$1" = "0" ]; then
1003         if [ -f /var/lock/subsys/httpd ]; then
1004                 /etc/rc.d/init.d/httpd restart 1>&2
1005         fi
1006 fi
1007
1008 %post mod_ssl
1009 if [ -f /var/lock/subsys/httpd ]; then
1010         /etc/rc.d/init.d/httpd restart 1>&2
1011 else
1012         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1013 fi
1014
1015 %preun mod_ssl
1016 if [ "$1" = "0" ]; then
1017         if [ -f /var/lock/subsys/httpd ]; then
1018                 /etc/rc.d/init.d/httpd restart 1>&2
1019         fi
1020 fi
1021
1022 %post mod_status
1023 if [ -f /var/lock/subsys/httpd ]; then
1024         /etc/rc.d/init.d/httpd restart 1>&2
1025 else
1026         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1027 fi
1028
1029 %preun mod_status
1030 if [ "$1" = "0" ]; then
1031         if [ -f /var/lock/subsys/httpd ]; then
1032                 /etc/rc.d/init.d/httpd restart 1>&2
1033         fi
1034 fi
1035
1036 %post mod_usertrack
1037 if [ -f /var/lock/subsys/httpd ]; then
1038         /etc/rc.d/init.d/httpd restart 1>&2
1039 else
1040         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1041 fi
1042
1043 %preun mod_usertrack
1044 if [ "$1" = "0" ]; then
1045         if [ -f /var/lock/subsys/httpd ]; then
1046                 /etc/rc.d/init.d/httpd restart 1>&2
1047         fi
1048 fi
1049
1050 %post mod_unique_id
1051 if [ -f /var/lock/subsys/httpd ]; then
1052         /etc/rc.d/init.d/httpd restart 1>&2
1053 else
1054         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1055 fi
1056
1057 %preun mod_unique_id
1058 if [ "$1" = "0" ]; then
1059         if [ -f /var/lock/subsys/httpd ]; then
1060                 /etc/rc.d/init.d/httpd restart 1>&2
1061         fi
1062 fi
1063
1064 %post mod_vhost_alias
1065 if [ -f /var/lock/subsys/httpd ]; then
1066         /etc/rc.d/init.d/httpd restart 1>&2
1067 else
1068         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1069 fi
1070
1071 %preun mod_vhost_alias
1072 if [ "$1" = "0" ]; then
1073         if [ -f /var/lock/subsys/httpd ]; then
1074                 /etc/rc.d/init.d/httpd restart 1>&2
1075         fi
1076 fi
1077
1078 %post -n apr -p /sbin/ldconfig
1079 %postun -n apr -p /sbin/ldconfig
1080
1081 %files
1082 %defattr(644,root,root,755)
1083 %doc ABOUT_APACHE CHANGES README ROADMAP
1084 %doc docs/conf/mime.types
1085
1086 %attr(754,root,root) /etc/rc.d/init.d/httpd
1087
1088 %attr(750,root,root) %dir %{_sysconfdir}
1089 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1090 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1091 %attr(640,root,root) %{_sysconfdir}/magic
1092 %attr(755,root,root) %dir %{_libexecdir}/build
1093 %attr(755,root,root) %{_libexecdir}/build/*.mk
1094 %attr(755,root,root) %{_libexecdir}/build/*.sh
1095 %attr(755,root,root) %{_libexecdir}/build/libtool
1096
1097 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1098 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1099
1100 %dir %{_libexecdir}
1101 %attr(755,root,root) %{_libexecdir}/mod_access.so
1102 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1103 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1104 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1105 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1106 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1107 %attr(755,root,root) %{_libexecdir}/mod_env.so
1108 %attr(755,root,root) %{_libexecdir}/mod_include.so
1109 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1110 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1111 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1112 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1113 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1114 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1115 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1116
1117 # look at TODO on top
1118 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1119 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1120 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1121 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1122 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1123 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1124 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1125 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1126
1127 %attr(755,root,root) %{_sbindir}/htdigest
1128
1129 %attr(755,root,root) %{_sbindir}/ab
1130 %attr(755,root,root) %{_sbindir}/apachectl
1131 %attr(755,root,root) %{_sbindir}/apxs
1132 %attr(755,root,root) %{_sbindir}/checkgid
1133 %attr(755,root,root) %{_sbindir}/httpd
1134 %attr(755,root,root) %{_sbindir}/logresolve
1135 %attr(755,root,root) %{_sbindir}/rotatelogs
1136 %attr(755,root,root) %{_sbindir}/envvars*
1137
1138 %dir %attr(770,root,http) /var/run/apache
1139
1140 %{_mandir}/man1/htdigest.1*
1141 %{_mandir}/man8/*
1142
1143 %attr(750,root,root) %dir /var/log/httpd
1144 %attr(750,root,root) %dir /var/log/archiv/httpd
1145 %attr(640,root,root) %ghost /var/log/httpd/*
1146
1147 %dir %{_datadir}
1148 %dir %{_datadir}/manual
1149 %{_datadir}/manual/LICENSE
1150 %{_datadir}/manual/*.html
1151 %{_datadir}/manual/*.xml
1152 %{_datadir}/manual/*.html.en
1153 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1154 %lang(ja) %{_datadir}/manual/*.xml.ja
1155 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1156 %lang(de) %{_datadir}/manual/*.html.de
1157 %lang(fr) %{_datadir}/manual/*.html.fr
1158 %{_datadir}/manual/developer
1159 %{_datadir}/manual/faq
1160 %dir %{_datadir}/manual/howto
1161 %doc %{_datadir}/manual/howto/*.en
1162 %{_datadir}/manual/howto/*.html
1163 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1164 %dir %{_datadir}/manual/images
1165 %{_datadir}/manual/images/[achips]*
1166 %{_datadir}/manual/misc
1167 %dir %{_datadir}/manual/mod
1168 %{_datadir}/manual/mod/[fh]*.html
1169 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1170 %{_datadir}/manual/mod/[acd]*.xml
1171 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1172 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1173 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1174 %{_datadir}/manual/mod/index.xml
1175 %{_datadir}/manual/mod/mpm*.html.en
1176 %{_datadir}/manual/mod/mod_access.html.en
1177 %{_datadir}/manual/mod/mod_alias.html.en
1178 %{_datadir}/manual/mod/mod_asis.html.en
1179 %{_datadir}/manual/mod/mod_autoindex.html.en
1180 %{_datadir}/manual/mod/mod_cern_meta.html.en
1181 %{_datadir}/manual/mod/mod_cgi.html.en
1182 %{_datadir}/manual/mod/mod_env.html.en
1183 %{_datadir}/manual/mod/mod_include.html.en
1184 %{_datadir}/manual/mod/mod_log_config.html.en
1185 %{_datadir}/manual/mod/mod_mime*.html.en
1186 %{_datadir}/manual/mod/mod_negotiation.html.en
1187 %{_datadir}/manual/mod/mod_setenvif.html.en
1188 %{_datadir}/manual/mod/mod_speling.html.en
1189 %{_datadir}/manual/mod/mod_userdir.html.en
1190 %{_datadir}/manual/platform
1191 %{_datadir}/manual/programs
1192 %dir %{_datadir}/manual/search
1193 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1194 %{_datadir}/manual/style
1195
1196 # Having all index.html.LANG files here is very bad idea.
1197 %attr(755,root,root) %dir %{_datadir}/html
1198 %config(noreplace,missingok) %{_datadir}/html/index.html
1199 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1200 %{_datadir}/html/*.gif
1201 %{_datadir}/html/*.png
1202 %{_datadir}/icons
1203 %attr(755,root,root) %{_datadir}/cgi-bin
1204
1205 %{_datadir}/error
1206
1207 %files suexec
1208 %defattr(644,root,root,755)
1209 %attr(4755,root,root) %{_sbindir}/suexec
1210 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1211 %{_datadir}/manual/mod/mod_suexec.html.en
1212
1213 %files devel
1214 %defattr(644,root,root,755)
1215 %{_includedir}
1216 %exclude %{_includedir}/apr*.h
1217 %{_libexecdir}/*.exp
1218
1219 %files static
1220 %defattr(644,root,root,755)
1221 %{_libdir}/lib*.a
1222
1223 %files mod_actions
1224 %defattr(644,root,root,755)
1225 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1226 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1227 %{_datadir}/manual/mod/mod_actions.html.en
1228
1229 %files mod_auth
1230 %defattr(644,root,root,755)
1231 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1232 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1233 %attr(755,root,root) %{_sbindir}/htpasswd
1234 %{_datadir}/manual/mod/mod_auth.html.en
1235 %{_mandir}/man1/htpasswd.1*
1236
1237 %files mod_auth_anon
1238 %defattr(644,root,root,755)
1239 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1240 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1241 %{_datadir}/manual/mod/mod_auth_anon.html.en
1242
1243 %files mod_auth_dbm
1244 %defattr(644,root,root,755)
1245 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1246 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1247 %attr(755,root,root) %{_sbindir}/dbmmanage
1248 %attr(755,root,root) %{_sbindir}/htdbm
1249 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1250 %{_mandir}/man1/dbmmanage.1*
1251
1252 %files mod_auth_digest
1253 %defattr(644,root,root,755)
1254 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1255 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1256 %{_datadir}/manual/mod/mod_auth_digest.html.en
1257
1258 %files mod_cache
1259 %defattr(644,root,root,755)
1260 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1261 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1262 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1263 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1264 %{_datadir}/manual/mod/mod_cache.html.en
1265
1266 %files mod_cgid
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1269 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1270 %{_datadir}/manual/mod/mod_cgid.html.en
1271
1272 %files mod_charset_lite
1273 %defattr(644,root,root,755)
1274 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1275 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1276 %{_datadir}/manual/mod/mod_charset_lite.html.en
1277
1278 %files mod_dav
1279 %defattr(644,root,root,755)
1280 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1281 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1282 %{_datadir}/manual/mod/mod_dav*.html.en
1283
1284 %files mod_deflate
1285 %defattr(644,root,root,755)
1286 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1287 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1288 %{_datadir}/manual/mod/mod_deflate.html.en
1289
1290 %files mod_dir
1291 %defattr(644,root,root,755)
1292 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1293 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1294 %{_datadir}/manual/mod/mod_dir.html.en
1295
1296 %files mod_expires
1297 %defattr(644,root,root,755)
1298 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1299 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1300 %{_datadir}/manual/mod/mod_expires.html.en
1301
1302 %files mod_file_cache
1303 %defattr(644,root,root,755)
1304 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1305 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1306 %{_datadir}/manual/mod/mod_file_cache.html.en
1307
1308 %files mod_headers
1309 %defattr(644,root,root,755)
1310 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1311 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1312 %{_datadir}/manual/mod/mod_headers.html.en
1313
1314 %files mod_imap
1315 %defattr(644,root,root,755)
1316 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1317 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1318 %{_datadir}/manual/mod/mod_imap.html.en
1319
1320 %files mod_info
1321 %defattr(644,root,root,755)
1322 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1323 %attr(755,root,root) %{_libexecdir}/mod_info.so
1324 %{_datadir}/manual/mod/mod_info.html.en
1325
1326 %files mod_proxy
1327 %defattr(644,root,root,755)
1328 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1329 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1330 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1331 %attr(770,root,http) /var/cache/apache
1332
1333 %files mod_rewrite
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1336 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1337 %{_datadir}/manual/mod/mod_rewrite.html.en
1338 %{_datadir}/manual/images/mod_rewrite*
1339
1340 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1341 %files mod_ssl
1342 %defattr(644,root,root,755)
1343 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1344 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1345 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1346 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1347 %{_datadir}/manual/ssl
1348 %{_datadir}/manual/mod/mod_ssl.html.en
1349 %endif
1350
1351 %files mod_status
1352 %defattr(644,root,root,755)
1353 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1354 %attr(755,root,root) %{_libexecdir}/mod_status.so
1355 %{_datadir}/manual/mod/mod_status.html.en
1356
1357 %files mod_usertrack
1358 %defattr(644,root,root,755)
1359 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1360 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1361 %{_datadir}/manual/mod/mod_usertrack.html.en
1362
1363 %files mod_unique_id
1364 %defattr(644,root,root,755)
1365 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1366 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1367 %{_datadir}/manual/mod/mod_unique_id.html.en
1368
1369 %files mod_vhost_alias
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1372 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1373 %{_datadir}/manual/vhosts
1374 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1375
1376 %files -n apr
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_libdir}/libapr*.so.*
1379
1380 %files -n apr-devel
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_bindir}/apr-config
1383 %attr(755,root,root) %{_bindir}/apu-config
1384 %{_includedir}/apr*.h
1385 #%{_libdir}/APRVARS
1386 %{_libdir}/apr*.exp
1387 %attr(755,root,root) %{_libdir}/libapr*.so
1388 %{_libdir}/libapr*.la
1389
1390 %files -n apr-static
1391 %defattr(644,root,root,755)
1392 %{_libdir}/libapr.a
This page took 0.232045 seconds and 4 git commands to generate.