]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- Req user-http
[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(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
24 Summary(tr):    Lider WWW tarayýcý
25 Name:           apache
26 Version:        2.0.45
27 Release:        0.3
28 License:        Apache Group License
29 Group:          Networking/Daemons
30 URL:            http://httpd.apache.org/
31 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
32 Source1:        %{name}.init
33 Source2:        %{name}.logrotate
34 Source3:        %{name}-icons.tar.gz
35 Source4:        %{name}.sysconfig
36 Source6:        %{name}-httpd.conf
37 Source8:        %{name}-mod_vhost_alias.conf
38 Source9:        %{name}-mod_status.conf
39 Source10:       %{name}-mod_proxy.conf
40 Source11:       %{name}-mod_info.conf
41 Source12:       %{name}-mod_ssl.conf
42 Source13:       %{name}-mod_dav.conf
43 Source14:       %{name}-mod_dir.conf
44 Source20:       %{name}-server.crt
45 Source21:       %{name}-server.key
46 Patch0:         %{name}-apxs.patch
47 Patch1:         %{name}-configdir_skip_backups.patch
48 Patch2:         %{name}-layout.patch
49 Patch3:         %{name}-suexec.patch
50 BuildRequires:  db-devel
51 BuildRequires:  expat-devel
52 BuildRequires:  gdbm-devel >= 1.8.3
53 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
54 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
55 BuildRequires:  perl-devel >= 5.004
56 BuildRequires:  rpm-perlprov >= 4.0.4
57 BuildRequires:  zlib-devel
58 BuildRequires:  libtool
59 PreReq:         perl
60 PreReq:         rc-scripts
61 Requires(pre):  user-http
62 Requires(post,preun):   /sbin/chkconfig
63 Requires(post,postun):  /sbin/ldconfig
64 Requires(post):         fileutils
65 Requires:       mailcap
66 Requires:       /etc/mime.types
67 Requires:       psmisc >= 20.1
68 Provides:       httpd = %{version}
69 Provides:       webserver = %{version}
70 Obsoletes:      apache-extra
71 Obsoletes:      apache6
72 Obsoletes:      apache-doc
73 Obsoletes:      indexhtml
74 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
75
76 %define         _sysconfdir     /etc/httpd
77 %define         _includedir     %{_prefix}/include/apache
78 %define         _datadir        /home/services/httpd
79 %define         _libexecdir     %{_libdir}/apache
80
81 %description
82 Apache is a powerful, full-featured, efficient and freely-available
83 Web server. Apache is also the most popular Web server on the
84 Internet.
85
86 %description -l de
87 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
88 erhältlich und weit verbreitet ist.
89
90 %description -l es
91 El servidor web Apache es el mejor servidor gratuito disponible en el
92 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
93 que browsers web vean documentos y sometan datos remotamente. Puede
94 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
95 caché, y nos ofrece características como monitor de estado, conversión
96 dinámica de tipo, y otras más.
97
98 %description -l fr
99 Apache est un serveur Web puissant, efficace, gratuit et complet.
100 Apache est aussi le serveur Web le plus populaire sur Internet.
101
102 %description -l pl
103 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
104 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
105
106 %description -l pt_BR
107 O servidor web Apache é o melhor servidor gratuito disponível no mundo
108 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
109 que browsers web vejam documentos e submetam dados remotamente. Ele
110 pode executar várias funções diferentes, incluindo funções de proxy e
111 cache, e oferece características como monitor de status, conversão
112 dinâmica de tipo, e mais.
113
114 %description -l ru
115 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
116 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
117
118 %description -l tr
119 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
120 sunucusudur.
121
122 %package suexec
123 Summary:        Apache suexec wrapper
124 Summary(pl):    Wrapper suexec do serwera WWW Apache
125 Group:          Development/Tools
126 Requires:       %{name} = %{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 tworzenia modu³ów rozszerzeñ do serwera WWW Apache
144 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
145 Summary(ru):    óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
146 Group:          Networking/Utilities
147 Requires:       %{name} = %{version}
148 Requires:       apr-devel = %{version}
149
150 %description devel
151 The apache-devel package contains header files for Apache.
152
153 %description devel -l es
154 Este paquete contiene los archivos de inclusión para el Apache, bien
155 como el utilitario apxs para la construcción de objetos compartidos
156 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
157 o desarrollar módulos adicionales para Apache.
158
159 %description devel -l fr
160 Le package apache-devel contient le code source pour le serveur Web
161 Apache et le binaire APXS dont vous aurez besoin pour construire des
162 Objets Dynamiques Partages (DSOs) pour Apache.
163
164 %description devel -l pl
165 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
166 (Dynamic Shared Objects) dla Apache.
167
168 %description devel -l ru
169 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
170
171 %description devel -l pt_BR
172 Este pacote contem os arquivos de inclusão para o Apache, bem como o
173 utilitário apxs para a construção de objetos compartilhados dinâmicos
174 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
175 desenvolver módulos adicionais para o Apache.
176
177 %package static
178 Summary:        Static Apache web server libraries
179 Summary(pl):    Statyczne biblioteki serwera WWW Apache
180 Group:          Development/Libraries
181 Requires:       %{name}-devel = %{version}
182
183 %description static
184 The apache-static package contains static libraries for Apache.
185
186 %description static -l pl
187 Statyczne biblioteki serwera Apache.
188
189 %package mod_actions
190 Summary:        Apache module for run CGI whenever a file of a certain type is requested
191 Summary(pl):    Modu³ Apache'a do uruchamiania skryptów CGI
192 Group:          Networking/Daemons
193 Requires:       %{name} = %{version}
194
195 %description mod_actions
196 This package contains mod_actions module. This module lets you run CGI
197 scripts whenever a file of a certain type is requested. This makes it
198 much easier to execute scripts that process files.
199
200 %description mod_actions -l pl
201 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
202 ¿±danie pobrania pliku okre¶lonego typu.
203
204 %package mod_auth
205 Summary:        Apache module with user authentication using textual files
206 Summary(pl):    Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
207 Group:          Networking/Daemons
208 Requires:       %{name} = %{version}
209
210 %description mod_auth
211 This package contains mod_auth module. It provides for user
212 authentication using textual files.
213
214 %description mod_auth -l pl
215 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
216 u¿ytkowników na podstawie plików tekstowych.
217
218 %package mod_auth_anon
219 Summary:        Apache module with "anonymous" user access authentication
220 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
221 Group:          Networking/Daemons
222 Requires:       %{name} = %{version}
223
224 %description mod_auth_anon
225 This package contains mod_auth_anon module. It allows "anonymous" user
226 access to authenticated areas. It does access control in a manner
227 similar to anonymous-ftp sites; i.e. have a 'magic' user id
228 'anonymous' and the email address as a password. These email addresses
229 can be logged. Combined with other (database) access control methods,
230 this allows for effective user tracking and customization according to
231 a user profile while still keeping the site open for 'unregistered'
232 users. One advantage of using Auth-based user tracking is that, unlike
233 magic-cookies and funny URL pre/postfixes, it is completely browser
234 independent and it allows users to share URLs.
235
236 %description mod_auth_anon -l pl
237 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
238 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
239 adresu pocztowego u¿ytkownika).
240
241 %package mod_auth_dbm
242 Summary:        Apache module with user authentication which uses DBM files
243 Summary(pl):    Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
244 Group:          Networking/Daemons
245 Obsoletes:      %{name}-mod_auth_db
246 Requires:       %{name} = %{version}
247
248 %description mod_auth_dbm
249 This module provides for HTTP Basic Authentication, where the
250 usernames and passwords are stored in DBM type database files. It is
251 an alternative to the plain text password files provided by mod_auth.
252
253 %description mod_auth_dbm -l pl
254 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
255 ich has³a s± trzymane w plikach bazy typu DBM.
256
257 %package mod_auth_digest
258 Summary:        Apache user authentication module using MD5 Digest Authentication
259 Summary(pl):    Modu³ Apache'a do autoryzacji MD5
260 Group:          Networking/Daemons
261 Obsoletes:      apache-mod_digest
262 Requires:       %{name} = %{version}
263
264 %description mod_auth_digest
265 This package contains mod_digest module. It provides user
266 authentication using MD5 Digest Authentication.
267
268 %description mod_auth_digest -l pl
269 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
270 Authentication.
271
272 %package mod_cache
273 Summary:        Content cache keyed to URIs
274 Summary(pl):    Pamiêæ podrêczna wg klucza URI
275 Group:          Networking/Daemons
276 Requires:       %{name} = %{version}
277
278 %description mod_cache
279 mod_cache implements an RFC 2616 compliant HTTP content cache that can
280 be used to cache either local or proxied content. Two storage
281 management modules are included in the base Apache distribution:
282 mod_disk_cache implements a disk based storage manager (generally used
283 for proxy caching) and mod_mem_cache implements an in-memory based
284 storage manager (primarily useful for caching local content).
285
286 %description mod_cache -l pl
287 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
288 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
289 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
290 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
291 (u¿ywane do cacheowania proxy).
292
293 %package mod_cgid
294 Summary:        Execution of CGI scripts using an external CGI daemon
295 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
296 Group:          Networking/Daemons
297 Requires:       %{name} = %{version}
298
299 %description mod_cgid
300 Execution of CGI scripts using an external CGI daemon.
301
302 %description mod_cgid -l pl
303 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
304
305 %package mod_charset_lite
306 Summary:        Specify character set translation or recoding
307 Summary(pl):    Translacja lub przekodowywanie znaków
308 Group:          Networking/Daemons
309 Requires:       %{name} = %{version}
310
311 %description mod_charset_lite
312 Specify character set translation or recoding.
313
314 %description mod_charset_lite -l pl
315 Translacja lub przekodowywanie znaków.
316
317 %package mod_dav
318 Summary:        Apache module - Distributed Authoring and Versioning
319 Summary(pl):    Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
320 Group:          Networking/Daemons
321 Requires:       %{name} = %{version}
322
323 %description mod_dav
324 This module provides class 1 and class 2 WebDAV ('Web-based
325 Distributed Authoring and Versioning') functionality for Apache. This
326 extension to the HTTP protocol allows creating, moving, copying, and
327 deleting resources and collections on a remote web server.
328
329 %description mod_dav -l pl
330 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
331 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
332 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
333 zdalnym serwerze WWW.
334
335 %package mod_deflate
336 Summary:        Apache module: Compress content before it is delivered to the client
337 Summary(pl):    Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
338 Group:          Networking/Daemons
339 Requires:       %{name} = %{version}
340
341 %description mod_deflate
342 Compress content before it is delivered to the client.
343
344 %description mod_deflate -l pl
345 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
346
347 %package mod_dir
348 Summary:        Apache module for "trailing slash" redirects and serving directory index files
349 Summary(pl):    Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
350 Group:          Networking/Daemons
351 Requires:       %{name} = %{version}
352
353 %description mod_dir
354 This package contains mod_dir which provides "trailing slash"
355 redirects and serving directory index files.
356
357 %description mod_dir -l pl
358 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
359 katalogu.
360
361 %package mod_headers
362 Summary:        Apache module allows for the customization of HTTP response headers
363 Summary(pl):    Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
364 Group:          Networking/Daemons
365 Requires:       %{name} = %{version}
366
367 %description mod_headers
368 This package contains mod_headers module. The module allows for the
369 customization of HTTP response headers. Headers can be merged,
370 replaced or removed.
371
372 %description mod_headers -l pl
373 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
374 wysy³anych do przegl±darki.
375
376 %package mod_imap
377 Summary:        Apache module with imap-file handler
378 Summary(pl):    Modu³ z obs³ug± imap-file
379 Group:          Networking/Daemons
380 Requires:       %{name} = %{version}
381
382 %description mod_imap
383 This package contains mod_imap module. It provides for .map files,
384 replacing the functionality of the imagemap CGI program. Any directory
385 or document type configured to use the handler imap-file.
386
387 %description mod_imap -l pl
388 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
389
390 %package mod_info
391 Summary:        Apache module with comprehensive overview of the server configuration
392 Summary(pl):    Modu³ udostêpniaj±cy informacje o serwerze
393 Group:          Networking/Daemons
394 Requires:       %{name} = %{version}
395
396 %description mod_info
397 This package contains mod_info module. It provides a comprehensive
398 overview of the server configuration including all installed modules
399 and directives in the configuration files.
400
401 %description mod_info -l pl
402 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
403 zainstalowanych modu³ach itp.
404
405 %package mod_proxy
406 Summary:        Apache module with Web proxy
407 Summary(pl):    Modu³ dodaj±cy obs³ugê serwera proxy
408 Group:          Networking/Daemons
409 Requires:       %{name} = %{version}
410
411 %description mod_proxy
412 This package contains module with implementation a proxy/cache for
413 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
414 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
415 connect to other proxy modules for these and other protocols.
416
417 %description mod_proxy -l pl
418 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
419 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
420 HTTP/1.0 i HTTP/1.1.
421
422 %package mod_rewrite
423 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
424 Summary(pl):    Modu³ do "przepisywania" adresów URL w locie
425 Group:          Networking/Daemons
426 Requires:       %{name} = %{version}
427
428 %description mod_rewrite
429 This package contains It provides a rule-based rewriting engine to
430 rewrite requested URLs on the fly.
431
432 %description mod_rewrite -l pl
433 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
434
435 %package mod_ssl
436 Summary:        SSL/TLS module for the Apache HTTP server
437 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
438 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
439 Group:          Networking/Daemons
440 Epoch:          1
441 Requires:       %{name} = %{version}
442
443 %description mod_ssl
444 The mod_ssl module provides strong cryptography for the Apache Web
445 server via the Secure Sockets Layer (SSL) and Transport Layer Security
446 (TLS) protocols.
447
448 %description mod_ssl -l pl
449 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
450 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
451 Security).
452
453 %description mod_ssl -l ru
454 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
455 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
456
457 %package mod_status
458 Summary:        Server status report module for apache
459 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera
460 Group:          Networking/Daemons
461 Requires:       %{name} = %{version}
462
463 %description mod_status
464 The Status module allows a server administrator to find out how well
465 their server is performing. A HTML page is presented that gives the
466 current server statistics in an easily readable form. If required this
467 page can be made to automatically refresh (given a compatible
468 browser).
469
470 %description mod_status -l pl
471 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
472 pracy serwera apache (w postaci strony HTML).
473
474 %package mod_usertrack
475 Summary:        Apache module for user tracking using cookies
476 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
477 Group:          Networking/Daemons
478 Requires:       %{name} = %{version}
479
480 %description mod_usertrack
481 This package contains the user tracking module which did its own
482 logging using CookieLog directory. This module allow multiple log
483 files.
484
485 %description mod_usertrack -l pl
486 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
487
488 %package mod_vhost_alias
489 Summary:        Apache module for dynamically configured mass virtual hosting
490 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych
491 Group:          Networking/Daemons
492 Requires:       %{name} = %{version}
493
494 %description mod_vhost_alias
495 This package contains the mod_vhost_alias. It provides support for
496 dynamically configured mass virtual hosting.
497
498 %description mod_vhost_alias -l pl
499 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
500 wirtualnych.
501
502 %package mod_unique_id
503 Summary:        Apache module which provides a magic token for each request
504 Summary(pl):    Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
505 Group:          Networking/Daemons
506 Requires:       %{name} = %{version}
507
508 %description mod_unique_id
509 This package contains the mod_unique_id. This module provides a magic
510 token for each request which is guaranteed to be unique across "all"
511 requests under very specific conditions. The unique identifier is even
512 unique across multiple machines in a properly configured cluster of
513 machines. The environment variable UNIQUE_ID is set to the identifier
514 for each request. Unique identifiers are useful for various reasons
515 which are beyond the scope of this document.
516
517 %description mod_unique_id -l pl
518 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
519 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
520 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
521 UNIQUE_ID.
522
523 %package mod_expires
524 Summary:        Apache module which generates Expires HTTP headers
525 Summary(pl):    Modu³ generuj±cy nag³ówki HTTP Expires
526 Group:          Networking/Daemons
527 Requires:       %{name} = %{version}
528
529 %description mod_expires
530 This module controls the setting of the Expires HTTP header in server
531 responses. The expiration date can set to be relative to either the
532 time the source file was last modified, or to the time of the client
533 access.
534
535 %description mod_expires -l pl
536 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
537 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
538 ¼ród³owych lub odwo³ania klienta.
539
540 %package mod_file_cache
541 Summary:        Apache module: Caches a static list of files in memory
542 Summary(pl):    Modu³ cache'uj±cy statyczn± listê plików w pamiêci
543 Group:          Networking/Daemons
544 Obsoletes:      %{name}-mmap_static
545 Requires:       %{name} = %{version}
546
547 %description mod_file_cache
548 Caches a static list of files in memory.
549
550 %description mod_file_cache -l pl
551 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
552
553 %package -n apr
554 Summary:        The Apache Portable Runtime library
555 Summary(pl):    Przeno¶na biblioteka Apache
556 Group:          Libraries
557
558 %description -n apr
559 The Apache Portable Run-time libraries have been designed to provide a
560 common interface to low level routines across any platform.
561
562 %description -n apr -l pl
563 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
564 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
565 funkcji na dowolnej platformie.
566
567 %package -n apr-devel
568 Summary:        The includes and linker libraries for development with APR
569 Summary(pl):    Pliki nag³ówkowe, biblioteki dla konsolidatora APR
570 Group:          Development/Libraries
571 Requires:       apr = %{version}
572 Requires:       gdbm-devel >= 1.8.3
573 Requires:       db-devel
574 Requires:       expat-devel
575
576 %description -n apr-devel
577 The includes and linker libraries for development with APR.
578
579 %description -n apr-devel -l pl
580 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
581
582 %package -n apr-static
583 Summary:        Static APR libraries
584 Summary(pl):    Statyczne biblioteki APR
585 Group:          Development/Libraries
586 Requires:       apr-devel = %{version}
587 Requires:       gdbm-static >= 1.8.3
588 Requires:       db-static
589 Requires:       expat-static
590
591 %description -n apr-static
592 Static APR libraries.
593
594 %description -n apr-static -l pl
595 Statyczne biblioteki APR.
596
597 %prep
598 %setup -q -n httpd-%{version}
599 %patch0 -p1
600 %patch1 -p1
601 %patch2 -p1
602 %patch3 -p1
603
604 %build
605 %configure \
606         --enable-layout=PLD \
607         --enable-modules=all \
608         --enable-mods-shared=all \
609         --enable-auth-anon       \
610         --enable-auth-dbm \
611         --enable-auth-digest \
612         --enable-file-cache \
613         --enable-echo \
614         --enable-cache \
615         --enable-charset-lite \
616         --enable-mem-cache \
617         --enable-disk-cache \
618         --enable-ext-filter \
619         --enable-case-filter \
620         --enable-case-filter-in \
621         --enable-deflate \
622         --with-z=%{_prefix} \
623         --enable-mime-magic \
624         --enable-cern-meta \
625         --enable-expires \
626         --enable-headers \
627         --enable-usertrack \
628         --enable-unique-id \
629         --enable-proxy \
630         --enable-proxy-connect \
631         --enable-proxy-ftp \
632         --enable-proxy-http \
633         %{!?_without_ssl:--enable-ssl} \
634         --enable-optional-hook-export \
635         --enable-optional-hook-import \
636         --enable-optional-fn-import \
637         --enable-optional-fn-export \
638         --enable-dav \
639         --enable-info \
640         --enable-suexec \
641         --enable-cgi \
642         --enable-cgid \
643         --enable-dav-fs \
644         --enable-vhost-alias \
645         --enable-speling \
646         --enable-rewrite \
647         --enable-so \
648         --with-mpm=worker \
649         --with-suexec-bin=%{_sbindir}/suexec \
650         --with-suexec-caller=http \
651         --with-suexec-docroot=%{_datadir} \
652         --with-suexec-logfile=/var/log/httpd/suexec_log \
653         --with-suexec-uidmin=500 \
654         --with-suexec-gidmin=500 \
655         --with-suexec-umask=077
656
657 %{__make}
658
659 %install
660 rm -rf $RPM_BUILD_ROOT
661 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
662 install -d $RPM_BUILD_ROOT%{_var}/log/{httpd,archiv/httpd}
663 install -d $RPM_BUILD_ROOT%{_var}/{run,cache}/apache
664
665 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
666         installbuilddir=%{_sysconfdir}/build \
667         prefix=%{_sysconfdir}/httpd \
668         libexecdir=%{_libdir}/%{name} \
669         iconsdir=%{_datadir}/icons \
670         errordir=%{_datadir}/error \
671         htdocsdir=%{_datadir}/html \
672         manualdir=%{_datadir}/manual \
673         cgidir=%{_datadir}/cgi-bin \
674         runtimedir=%{_var}/run \
675         logdir=%{_var}/log/httpd \
676         proxycachedir=%{_var}/cache/httpd
677
678 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
679 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
680
681 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
682         $RPM_BUILD_ROOT%{_libexecdir}/build
683
684 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
685 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
686
687 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
688 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
689 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
690
691 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
692
693 %if %{?_without_ssl:0}%{!?_without_ssl:1}
694 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
695 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
696 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
697 %endif
698
699 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
700
701 install %{SOURCE6}  $CFG/10_httpd.conf
702 install %{SOURCE8}  $CFG/20_mod_vhost_alias.conf
703 install %{SOURCE9}  $CFG/25_mod_status.conf
704 install %{SOURCE10} $CFG/30_mod_proxy.conf
705 install %{SOURCE11} $CFG/35_mod_info.conf
706 install %{SOURCE12} $CFG/40_mod_ssl.conf
707 install %{SOURCE13} $CFG/45_mod_dav.conf
708 install %{SOURCE14} $CFG/59_mod_dir.conf
709
710 echo "LoadModule actions_module       %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
711 echo "LoadModule auth_module          %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
712 echo "LoadModule auth_anon_module     %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
713 echo "LoadModule auth_dbm_module      %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
714 echo "LoadModule auth_digest_module   %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
715 echo "LoadModule cache_module         %{_libexecdir}/mod_cache.so
716 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
717 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
718 echo "LoadModule cgid_module          %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
719 echo "LoadModule charset_lite_module  %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
720 echo "LoadModule deflate_module       %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
721 echo "LoadModule expires_module       %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
722 echo "LoadModule file_cache_module    %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
723 echo "LoadModule headers_module       %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
724 echo "LoadModule imap_module          %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
725 echo "LoadModule rewrite_module       %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
726 echo "LoadModule usertrack_module     %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
727 echo "LoadModule unique_id_module     %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
728
729 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
730
731 %clean
732 rm -rf $RPM_BUILD_ROOT
733
734 %post
735 /sbin/ldconfig
736 /sbin/chkconfig --add httpd
737 umask 137
738 touch /var/log/httpd/{access,error,agent,referer}_log
739 if [ -f /var/lock/subsys/httpd ]; then
740         /etc/rc.d/init.d/httpd restart 1>&2
741 else
742         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
743 fi
744
745 %preun
746 if [ "$1" = "0" ]; then
747         if [ -f /var/lock/subsys/httpd ]; then
748                 /etc/rc.d/init.d/httpd stop 1>&2
749         fi
750         /sbin/chkconfig --del httpd
751 fi
752
753 %postun
754 /sbin/ldconfig
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
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}/[!a]*
1216 %{_includedir}/ap[!r]*
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 %dir %{_includedir}
1385 %{_includedir}/apr*.h
1386 #%%{_libdir}/APRVARS
1387 %{_libdir}/apr*.exp
1388 %attr(755,root,root) %{_libdir}/libapr*.so
1389 %{_libdir}/libapr*.la
1390
1391 %files -n apr-static
1392 %defattr(644,root,root,755)
1393 %{_libdir}/libapr.a
This page took 0.156461 seconds and 4 git commands to generate.