]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- updated to 2.0.47
[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.47
27 Release:        0.1
28 License:        Apache Group License
29 Group:          Networking/Daemons
30 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
31 # Source0-md5:  63f16638c18b140b649fab32b54d7f9c
32 Source1:        %{name}.init
33 Source2:        %{name}.logrotate
34 Source3:        %{name}-icons.tar.gz
35 # Source3-md5:  2b085cbc19fd28536dc883f0b864cd83
36 Source4:        %{name}.sysconfig
37 Source6:        %{name}-httpd.conf
38 Source8:        %{name}-mod_vhost_alias.conf
39 Source9:        %{name}-mod_status.conf
40 Source10:       %{name}-mod_proxy.conf
41 Source11:       %{name}-mod_info.conf
42 Source12:       %{name}-mod_ssl.conf
43 Source13:       %{name}-mod_dav.conf
44 Source14:       %{name}-mod_dir.conf
45 Source20:       %{name}-server.crt
46 Source21:       %{name}-server.key
47 Patch0:         %{name}-configdir_skip_backups.patch
48 Patch1:         %{name}-layout.patch
49 Patch2:         %{name}-suexec.patch
50 Patch3:         %{name}-nolibs.patch
51 URL:            http://httpd.apache.org/
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): /bin/id
64 Requires(pre): /usr/bin/getgid
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:       /etc/mime.types
73 Requires:       mailcap
74 Requires:       psmisc >= 20.1
75 Provides:       httpd = %{version}
76 Provides:       webserver = %{version}
77 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78 Obsoletes:      apache-extra
79 Obsoletes:      apache-doc
80 Obsoletes:      apache6
81 Obsoletes:      indexhtml
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 cd srclib/apr
613 %{__autoconf}
614 cd ../..
615 %configure \
616         --enable-layout=PLD \
617         --enable-modules=all \
618         --enable-mods-shared=all \
619         --enable-auth-anon       \
620         --enable-auth-dbm \
621         --enable-auth-digest \
622         --enable-file-cache \
623         --enable-echo \
624         --enable-cache \
625         --enable-charset-lite \
626         --enable-mem-cache \
627         --enable-disk-cache \
628         --enable-ext-filter \
629         --enable-case-filter \
630         --enable-case-filter-in \
631         --enable-deflate \
632         --with-z=%{_prefix} \
633         --enable-mime-magic \
634         --enable-cern-meta \
635         --enable-expires \
636         --enable-headers \
637         --enable-usertrack \
638         --enable-unique-id \
639         --enable-proxy \
640         --enable-proxy-connect \
641         --enable-proxy-ftp \
642         --enable-proxy-http \
643         %{!?_without_ssl:--enable-ssl} \
644         --enable-optional-hook-export \
645         --enable-optional-hook-import \
646         --enable-optional-fn-import \
647         --enable-optional-fn-export \
648         --enable-dav \
649         --enable-info \
650         --enable-suexec \
651         --enable-cgi \
652         --enable-cgid \
653         --enable-dav-fs \
654         --enable-vhost-alias \
655         --enable-speling \
656         --enable-rewrite \
657         --enable-so \
658         --with-mpm=worker \
659         --with-suexec-bin=%{_sbindir}/suexec \
660         --with-suexec-caller=http \
661         --with-suexec-docroot=%{_datadir} \
662         --with-suexec-logfile=/var/log/httpd/suexec_log \
663         --with-suexec-uidmin=500 \
664         --with-suexec-gidmin=500 \
665         --with-suexec-umask=077
666
667 %{__make}
668
669 %install
670 rm -rf $RPM_BUILD_ROOT
671 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
672         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
673
674 %{__make} install \
675         DESTDIR=$RPM_BUILD_ROOT \
676         installbuilddir=%{_sysconfdir}/build \
677         prefix=%{_sysconfdir}/httpd \
678         libexecdir=%{_libdir}/%{name} \
679         iconsdir=%{_datadir}/icons \
680         errordir=%{_datadir}/error \
681         htdocsdir=%{_datadir}/html \
682         manualdir=%{_datadir}/manual \
683         cgidir=%{_datadir}/cgi-bin \
684         runtimedir=%{_var}/run \
685         logdir=%{_var}/log/httpd \
686         proxycachedir=%{_var}/cache/httpd
687
688 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
689 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
690
691 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
692         $RPM_BUILD_ROOT%{_libexecdir}/build
693
694 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
695 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
696
697 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
698 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
699 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
700
701 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
702
703 %if %{?_without_ssl:0}%{!?_without_ssl:1}
704 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
705 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
706 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
707 %endif
708
709 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
710
711 install %{SOURCE6}  $CFG/10_httpd.conf
712 install %{SOURCE8}  $CFG/20_mod_vhost_alias.conf
713 install %{SOURCE9}  $CFG/25_mod_status.conf
714 install %{SOURCE10} $CFG/30_mod_proxy.conf
715 install %{SOURCE11} $CFG/35_mod_info.conf
716 install %{SOURCE12} $CFG/40_mod_ssl.conf
717 install %{SOURCE13} $CFG/45_mod_dav.conf
718 install %{SOURCE14} $CFG/59_mod_dir.conf
719
720 echo "LoadModule actions_module       %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
721 echo "LoadModule auth_module          %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
722 echo "LoadModule auth_anon_module     %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
723 echo "LoadModule auth_dbm_module      %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
724 echo "LoadModule auth_digest_module   %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
725 echo "LoadModule cache_module         %{_libexecdir}/mod_cache.so
726 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
727 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
728 echo "LoadModule cgid_module          %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
729 echo "LoadModule charset_lite_module  %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
730 echo "LoadModule deflate_module       %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
731 echo "LoadModule expires_module       %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
732 echo "LoadModule file_cache_module    %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
733 echo "LoadModule headers_module       %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
734 echo "LoadModule imap_module          %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
735 echo "LoadModule rewrite_module       %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
736 echo "LoadModule usertrack_module     %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
737 echo "LoadModule unique_id_module     %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
738
739 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
740
741 %clean
742 rm -rf $RPM_BUILD_ROOT
743
744 %pre
745 if [ -n "`getgid http`" ]; then
746        if [ "`getgid http`" != "51" ]; then
747                echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
748                exit 1
749        fi
750 else
751        /usr/sbin/groupadd -g 51 -r -f http
752 fi
753 if [ -n "`id -u http 2>/dev/null`" ]; then
754        if [ "`id -u http`" != "51" ]; then
755                echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
756                exit 1
757        fi
758 else
759        /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
760 fi
761
762 %post
763 /sbin/ldconfig
764 /sbin/chkconfig --add httpd
765 umask 137
766 touch /var/log/httpd/{access,error,agent,referer}_log
767 if [ -f /var/lock/subsys/httpd ]; then
768         /etc/rc.d/init.d/httpd restart 1>&2
769 else
770         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
771 fi
772
773 %preun
774 if [ "$1" = "0" ]; then
775         if [ -f /var/lock/subsys/httpd ]; then
776                 /etc/rc.d/init.d/httpd stop 1>&2
777         fi
778         /sbin/chkconfig --del httpd
779 fi
780
781 %postun
782 /sbin/ldconfig
783 if [ "$1" = "0" ]; then
784        /usr/sbin/userdel http
785        /usr/sbin/groupdel http
786 fi
787
788 %post mod_actions
789 if [ -f /var/lock/subsys/httpd ]; then
790         /etc/rc.d/init.d/httpd restart 1>&2
791 else
792         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
793 fi
794
795 %preun mod_actions
796 if [ "$1" = "0" ]; then
797         if [ -f /var/lock/subsys/httpd ]; then
798                 /etc/rc.d/init.d/httpd restart 1>&2
799         fi
800 fi
801
802 %post mod_auth
803 if [ -f /var/lock/subsys/httpd ]; then
804         /etc/rc.d/init.d/httpd restart 1>&2
805 else
806         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
807 fi
808
809 %preun mod_auth
810 if [ "$1" = "0" ]; then
811         if [ -f /var/lock/subsys/httpd ]; then
812                 /etc/rc.d/init.d/httpd restart 1>&2
813         fi
814 fi
815
816 %post mod_auth_anon
817 if [ -f /var/lock/subsys/httpd ]; then
818         /etc/rc.d/init.d/httpd restart 1>&2
819 else
820         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
821 fi
822
823 %preun mod_auth_anon
824 if [ "$1" = "0" ]; then
825         if [ -f /var/lock/subsys/httpd ]; then
826                 /etc/rc.d/init.d/httpd restart 1>&2
827         fi
828 fi
829
830 %post mod_auth_dbm
831 if [ -f /var/lock/subsys/httpd ]; then
832         /etc/rc.d/init.d/httpd restart 1>&2
833 else
834         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
835 fi
836
837 %preun mod_auth_dbm
838 if [ "$1" = "0" ]; then
839         if [ -f /var/lock/subsys/httpd ]; then
840                 /etc/rc.d/init.d/httpd restart 1>&2
841         fi
842 fi
843
844 %post mod_cache
845 if [ -f /var/lock/subsys/httpd ]; then
846         /etc/rc.d/init.d/httpd restart 1>&2
847 else
848         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
849 fi
850
851 %preun mod_cache
852 if [ "$1" = "0" ]; then
853         if [ -f /var/lock/subsys/httpd ]; then
854                 /etc/rc.d/init.d/httpd restart 1>&2
855         fi
856 fi
857
858 %post mod_cgid
859 if [ -f /var/lock/subsys/httpd ]; then
860         /etc/rc.d/init.d/httpd restart 1>&2
861 else
862         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
863 fi
864
865 %preun mod_cgid
866 if [ "$1" = "0" ]; then
867         if [ -f /var/lock/subsys/httpd ]; then
868                 /etc/rc.d/init.d/httpd restart 1>&2
869         fi
870 fi
871
872 %post mod_charset_lite
873 if [ -f /var/lock/subsys/httpd ]; then
874         /etc/rc.d/init.d/httpd restart 1>&2
875 else
876         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
877 fi
878
879 %preun mod_charset_lite
880 if [ "$1" = "0" ]; then
881         if [ -f /var/lock/subsys/httpd ]; then
882                 /etc/rc.d/init.d/httpd restart 1>&2
883         fi
884 fi
885
886 %post mod_dav
887 if [ -f /var/lock/subsys/httpd ]; then
888         /etc/rc.d/init.d/httpd restart 1>&2
889 else
890         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
891 fi
892
893 %preun mod_dav
894 if [ "$1" = "0" ]; then
895         if [ -f /var/lock/subsys/httpd ]; then
896                 /etc/rc.d/init.d/httpd restart 1>&2
897         fi
898 fi
899
900 %post mod_auth_digest
901 if [ -f /var/lock/subsys/httpd ]; then
902         /etc/rc.d/init.d/httpd restart 1>&2
903 else
904         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
905 fi
906
907 %preun mod_auth_digest
908 if [ "$1" = "0" ]; then
909         if [ -f /var/lock/subsys/httpd ]; then
910                 /etc/rc.d/init.d/httpd restart 1>&2
911         fi
912 fi
913
914 %post mod_deflate
915 if [ -f /var/lock/subsys/httpd ]; then
916         /etc/rc.d/init.d/httpd restart 1>&2
917 else
918         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
919 fi
920
921 %preun mod_deflate
922 if [ "$1" = "0" ]; then
923         if [ -f /var/lock/subsys/httpd ]; then
924                 /etc/rc.d/init.d/httpd restart 1>&2
925         fi
926 fi
927
928 %post mod_dir
929 if [ -f /var/lock/subsys/httpd ]; then
930         /etc/rc.d/init.d/httpd restart 1>&2
931 else
932         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
933 fi
934
935 %preun mod_dir
936 if [ "$1" = "0" ]; then
937         if [ -f /var/lock/subsys/httpd ]; then
938                 /etc/rc.d/init.d/httpd restart 1>&2
939         fi
940 fi
941
942 %post mod_expires
943 if [ -f /var/lock/subsys/httpd ]; then
944         /etc/rc.d/init.d/httpd restart 1>&2
945 else
946         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
947 fi
948
949 %preun mod_expires
950 if [ "$1" = "0" ]; then
951         if [ -f /var/lock/subsys/httpd ]; then
952                 /etc/rc.d/init.d/httpd restart 1>&2
953         fi
954 fi
955
956 %post mod_file_cache
957 if [ -f /var/lock/subsys/httpd ]; then
958         /etc/rc.d/init.d/httpd restart 1>&2
959 else
960         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
961 fi
962
963 %preun mod_file_cache
964 if [ "$1" = "0" ]; then
965         if [ -f /var/lock/subsys/httpd ]; then
966                 /etc/rc.d/init.d/httpd restart 1>&2
967         fi
968 fi
969
970 %post mod_headers
971 if [ -f /var/lock/subsys/httpd ]; then
972         /etc/rc.d/init.d/httpd restart 1>&2
973 else
974         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
975 fi
976
977 %preun mod_headers
978 if [ "$1" = "0" ]; then
979         if [ -f /var/lock/subsys/httpd ]; then
980                 /etc/rc.d/init.d/httpd restart 1>&2
981         fi
982 fi
983
984 %post mod_imap
985 if [ -f /var/lock/subsys/httpd ]; then
986         /etc/rc.d/init.d/httpd restart 1>&2
987 else
988         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
989 fi
990
991 %preun mod_imap
992 if [ "$1" = "0" ]; then
993         if [ -f /var/lock/subsys/httpd ]; then
994                 /etc/rc.d/init.d/httpd restart 1>&2
995         fi
996 fi
997
998 %post mod_info
999 if [ -f /var/lock/subsys/httpd ]; then
1000         /etc/rc.d/init.d/httpd restart 1>&2
1001 else
1002         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1003 fi
1004
1005 %preun mod_info
1006 if [ "$1" = "0" ]; then
1007         if [ -f /var/lock/subsys/httpd ]; then
1008                 /etc/rc.d/init.d/httpd restart 1>&2
1009         fi
1010 fi
1011
1012 %post mod_proxy
1013 if [ -f /var/lock/subsys/httpd ]; then
1014         /etc/rc.d/init.d/httpd restart 1>&2
1015 else
1016         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1017 fi
1018
1019 %preun mod_proxy
1020 if [ "$1" = "0" ]; then
1021         if [ -f /var/lock/subsys/httpd ]; then
1022                 /etc/rc.d/init.d/httpd restart 1>&2
1023         fi
1024 fi
1025
1026 %post mod_rewrite
1027 if [ -f /var/lock/subsys/httpd ]; then
1028         /etc/rc.d/init.d/httpd restart 1>&2
1029 else
1030         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1031 fi
1032
1033 %preun mod_rewrite
1034 if [ "$1" = "0" ]; then
1035         if [ -f /var/lock/subsys/httpd ]; then
1036                 /etc/rc.d/init.d/httpd restart 1>&2
1037         fi
1038 fi
1039
1040 %post mod_ssl
1041 if [ -f /var/lock/subsys/httpd ]; then
1042         /etc/rc.d/init.d/httpd restart 1>&2
1043 else
1044         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1045 fi
1046
1047 %preun mod_ssl
1048 if [ "$1" = "0" ]; then
1049         if [ -f /var/lock/subsys/httpd ]; then
1050                 /etc/rc.d/init.d/httpd restart 1>&2
1051         fi
1052 fi
1053
1054 %post mod_status
1055 if [ -f /var/lock/subsys/httpd ]; then
1056         /etc/rc.d/init.d/httpd restart 1>&2
1057 else
1058         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1059 fi
1060
1061 %preun mod_status
1062 if [ "$1" = "0" ]; then
1063         if [ -f /var/lock/subsys/httpd ]; then
1064                 /etc/rc.d/init.d/httpd restart 1>&2
1065         fi
1066 fi
1067
1068 %post mod_usertrack
1069 if [ -f /var/lock/subsys/httpd ]; then
1070         /etc/rc.d/init.d/httpd restart 1>&2
1071 else
1072         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1073 fi
1074
1075 %preun mod_usertrack
1076 if [ "$1" = "0" ]; then
1077         if [ -f /var/lock/subsys/httpd ]; then
1078                 /etc/rc.d/init.d/httpd restart 1>&2
1079         fi
1080 fi
1081
1082 %post mod_unique_id
1083 if [ -f /var/lock/subsys/httpd ]; then
1084         /etc/rc.d/init.d/httpd restart 1>&2
1085 else
1086         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1087 fi
1088
1089 %preun mod_unique_id
1090 if [ "$1" = "0" ]; then
1091         if [ -f /var/lock/subsys/httpd ]; then
1092                 /etc/rc.d/init.d/httpd restart 1>&2
1093         fi
1094 fi
1095
1096 %post mod_vhost_alias
1097 if [ -f /var/lock/subsys/httpd ]; then
1098         /etc/rc.d/init.d/httpd restart 1>&2
1099 else
1100         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1101 fi
1102
1103 %preun mod_vhost_alias
1104 if [ "$1" = "0" ]; then
1105         if [ -f /var/lock/subsys/httpd ]; then
1106                 /etc/rc.d/init.d/httpd restart 1>&2
1107         fi
1108 fi
1109
1110 %post   -n apr -p /sbin/ldconfig
1111 %postun -n apr -p /sbin/ldconfig
1112
1113 %files
1114 %defattr(644,root,root,755)
1115 %doc ABOUT_APACHE CHANGES README
1116 %doc docs/conf/mime.types
1117
1118 %attr(754,root,root) /etc/rc.d/init.d/httpd
1119
1120 %attr(750,root,root) %dir %{_sysconfdir}
1121 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1122 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1123 %attr(640,root,root) %{_sysconfdir}/magic
1124 %attr(755,root,root) %dir %{_libexecdir}/build
1125 %attr(755,root,root) %{_libexecdir}/build/*.mk
1126 %attr(755,root,root) %{_libexecdir}/build/*.sh
1127 %attr(755,root,root) %{_libexecdir}/build/libtool
1128
1129 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1130 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1131
1132 %dir %{_libexecdir}
1133 %attr(755,root,root) %{_libexecdir}/mod_access.so
1134 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1135 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1136 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1137 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1138 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1139 %attr(755,root,root) %{_libexecdir}/mod_env.so
1140 %attr(755,root,root) %{_libexecdir}/mod_include.so
1141 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1142 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1143 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1144 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1145 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1146 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1147 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1148
1149 # look at TODO on top
1150 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1151 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1152 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1153 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1154 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1155 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1156 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1157 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1158
1159 %attr(755,root,root) %{_sbindir}/htdigest
1160
1161 %attr(755,root,root) %{_sbindir}/ab
1162 %attr(755,root,root) %{_sbindir}/apachectl
1163 %attr(755,root,root) %{_sbindir}/apxs
1164 %attr(755,root,root) %{_sbindir}/checkgid
1165 %attr(755,root,root) %{_sbindir}/httpd
1166 %attr(755,root,root) %{_sbindir}/logresolve
1167 %attr(755,root,root) %{_sbindir}/rotatelogs
1168 %attr(755,root,root) %{_sbindir}/envvars*
1169
1170 %dir %attr(770,root,http) /var/run/apache
1171
1172 %{_mandir}/man1/htdigest.1*
1173 %{_mandir}/man8/*
1174
1175 %attr(750,root,root) %dir /var/log/httpd
1176 %attr(750,root,root) %dir /var/log/archiv/httpd
1177 %attr(640,root,root) %ghost /var/log/httpd/*
1178
1179 %dir %{_datadir}
1180 %dir %{_datadir}/manual
1181 %{_datadir}/manual/LICENSE
1182 %{_datadir}/manual/*.xml
1183 %{_datadir}/manual/*.html.en
1184 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1185 %lang(ja) %{_datadir}/manual/*.xml.ja
1186 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1187 %lang(de) %{_datadir}/manual/*.html.de
1188 %lang(fr) %{_datadir}/manual/*.html.fr
1189 %{_datadir}/manual/developer
1190 %{_datadir}/manual/faq
1191 %dir %{_datadir}/manual/howto
1192 %doc %{_datadir}/manual/howto/*.en
1193 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1194 %dir %{_datadir}/manual/images
1195 %{_datadir}/manual/images/[achips]*
1196 %{_datadir}/manual/misc
1197 %dir %{_datadir}/manual/mod
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.198796 seconds and 4 git commands to generate.