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