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