]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- LSB compliance
[packages/apache.git] / apache.spec
1 # _without_ssl  - don't build with SSL support
2 # TODO:
3 # - mod_case_filter
4 # - mod_case_filter_in
5 # - mod_optional_fn_{export,import}
6 # - mod_optional_hook_{export,import}
7 # - mod_ext_filter
8 # - mod_echo
9 # - config examples for mod_*
10 # - switch from worker to perchild when it will be working in apache
11 # - check if all modules are (de)registered in %%post/%%postun
12 # - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
13 # - add %%post/%%postun to suexec
14 # - --with-suexec-gidmin=500 or =100 ?
15 # - --with-suexec-uidmin=500 or =1000 ?
16 %include        /usr/lib/rpm/macros.perl
17 Summary:        The most widely used Web server on the Internet
18 Summary(de):    Leading World Wide Web-Server
19 Summary(es):    Servidor HTTPD para proveer servicios WWW
20 Summary(fr):    Le serveur web le plus utilise sur Internet
21 Summary(pl):    Serwer WWW (World Wide Web)
22 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
23 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
24 Summary(tr):    Lider WWW tarayýcý
25 Name:           apache
26 Version:        2.0.45
27 Release:        0.3
28 License:        Apache Group License
29 Group:          Networking/Daemons
30 URL:            http://httpd.apache.org/
31 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
32 Source1:        %{name}.init
33 Source2:        %{name}.logrotate
34 Source3:        %{name}-icons.tar.gz
35 Source4:        %{name}.sysconfig
36 Source6:        %{name}-httpd.conf
37 Source8:        %{name}-mod_vhost_alias.conf
38 Source9:        %{name}-mod_status.conf
39 Source10:       %{name}-mod_proxy.conf
40 Source11:       %{name}-mod_info.conf
41 Source12:       %{name}-mod_ssl.conf
42 Source13:       %{name}-mod_dav.conf
43 Source14:       %{name}-mod_dir.conf
44 Source20:       %{name}-server.crt
45 Source21:       %{name}-server.key
46 Patch0:         %{name}-apxs.patch
47 Patch1:         %{name}-configdir_skip_backups.patch
48 Patch2:         %{name}-layout.patch
49 Patch3:         %{name}-suexec.patch
50 BuildRequires:  db-devel
51 BuildRequires:  expat-devel
52 BuildRequires:  gdbm-devel >= 1.8.3
53 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
54 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
55 BuildRequires:  perl-devel >= 5.004
56 BuildRequires:  rpm-perlprov >= 4.0.4
57 BuildRequires:  zlib-devel
58 BuildRequires:  libtool
59 PreReq:         perl
60 PreReq:         rc-scripts
61 Requires(pre): /usr/bin/getgid
62 Requires(pre): /bin/id
63 Requires(pre): /usr/sbin/groupadd
64 Requires(pre): /usr/sbin/useradd
65 Requires(postun):      /usr/sbin/userdel
66 Requires(postun):      /usr/sbin/groupdel
67 Requires(post,preun):   /sbin/chkconfig
68 Requires(post,postun):  /sbin/ldconfig
69 Requires(post):         fileutils
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):    Wrapper suexec 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 niezbêdne przy budowaniu modu³ów DSO
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 Statyczne 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³ umo¿liwiaj±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 This package contains module with implementation a proxy/cache for
418 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
419 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
420 connect to other proxy modules for these and other protocols.
421
422 %description mod_proxy -l pl
423 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
424 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
425 HTTP/1.0 i HTTP/1.1.
426
427 %package mod_rewrite
428 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
429 Summary(pl):    Modu³ do "przepisywania" adresów URL w locie
430 Group:          Networking/Daemons
431 Requires:       %{name} = %{version}
432
433 %description mod_rewrite
434 This package contains It provides a rule-based rewriting engine to
435 rewrite requested URLs on the fly.
436
437 %description mod_rewrite -l pl
438 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
439
440 %package mod_ssl
441 Summary:        SSL/TLS module for the Apache HTTP server
442 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
443 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
444 Group:          Networking/Daemons
445 Epoch:          1
446 Requires:       %{name} = %{version}
447
448 %description mod_ssl
449 The mod_ssl module provides strong cryptography for the Apache Web
450 server via the Secure Sockets Layer (SSL) and Transport Layer Security
451 (TLS) protocols.
452
453 %description mod_ssl -l pl
454 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
455 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
456 Security).
457
458 %description mod_ssl -l ru
459 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
460 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
461
462 %package mod_status
463 Summary:        Server status report module for apache
464 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera
465 Group:          Networking/Daemons
466 Requires:       %{name} = %{version}
467
468 %description mod_status
469 The Status module allows a server administrator to find out how well
470 their server is performing. A HTML page is presented that gives the
471 current server statistics in an easily readable form. If required this
472 page can be made to automatically refresh (given a compatible
473 browser).
474
475 %description mod_status -l pl
476 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
477 pracy serwera apache (w postaci strony HTML).
478
479 %package mod_usertrack
480 Summary:        Apache module for user tracking using cookies
481 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
482 Group:          Networking/Daemons
483 Requires:       %{name} = %{version}
484
485 %description mod_usertrack
486 This package contains the user tracking module which did its own
487 logging using CookieLog directory. This module allow multiple log
488 files.
489
490 %description mod_usertrack -l pl
491 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
492
493 %package mod_vhost_alias
494 Summary:        Apache module for dynamically configured mass virtual hosting
495 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych
496 Group:          Networking/Daemons
497 Requires:       %{name} = %{version}
498
499 %description mod_vhost_alias
500 This package contains the mod_vhost_alias. It provides support for
501 dynamically configured mass virtual hosting.
502
503 %description mod_vhost_alias -l pl
504 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
505 wirtualnych.
506
507 %package mod_unique_id
508 Summary:        Apache module which provides a magic token for each request
509 Summary(pl):    Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
510 Group:          Networking/Daemons
511 Requires:       %{name} = %{version}
512
513 %description mod_unique_id
514 This package contains the mod_unique_id. This module provides a magic
515 token for each request which is guaranteed to be unique across "all"
516 requests under very specific conditions. The unique identifier is even
517 unique across multiple machines in a properly configured cluster of
518 machines. The environment variable UNIQUE_ID is set to the identifier
519 for each request. Unique identifiers are useful for various reasons
520 which are beyond the scope of this document.
521
522 %description mod_unique_id -l pl
523 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
524 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
525 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
526 UNIQUE_ID.
527
528 %package mod_expires
529 Summary:        Apache module which generates Expires HTTP headers
530 Summary(pl):    Modu³ generuj±cy nag³ówki HTTP Expires
531 Group:          Networking/Daemons
532 Requires:       %{name} = %{version}
533
534 %description mod_expires
535 This module controls the setting of the Expires HTTP header in server
536 responses. The expiration date can set to be relative to either the
537 time the source file was last modified, or to the time of the client
538 access.
539
540 %description mod_expires -l pl
541 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
542 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
543 ¼ród³owych lub odwo³ania klienta.
544
545 %package mod_file_cache
546 Summary:        Apache module: Caches a static list of files in memory
547 Summary(pl):    Modu³ cache'uj±cy statyczn± listê plików w pamiêci
548 Group:          Networking/Daemons
549 Obsoletes:      %{name}-mmap_static
550 Requires:       %{name} = %{version}
551
552 %description mod_file_cache
553 Caches a static list of files in memory.
554
555 %description mod_file_cache -l pl
556 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
557
558 %package -n apr
559 Summary:        The Apache Portable Runtime library
560 Summary(pl):    Przeno¶na biblioteka Apache
561 Group:          Libraries
562
563 %description -n apr
564 The Apache Portable Run-time libraries have been designed to provide a
565 common interface to low level routines across any platform.
566
567 %description -n apr -l pl
568 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
569 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
570 funkcji na dowolnej platformie.
571
572 %package -n apr-devel
573 Summary:        The includes and linker libraries for development with APR
574 Summary(pl):    Pliki nag³ówkowe, biblioteki dla konsolidatora APR
575 Group:          Development/Libraries
576 Requires:       apr = %{version}
577 Requires:       gdbm-devel >= 1.8.3
578 Requires:       db-devel
579 Requires:       expat-devel
580
581 %description -n apr-devel
582 The includes and linker libraries for development with APR.
583
584 %description -n apr-devel -l pl
585 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
586
587 %package -n apr-static
588 Summary:        Static APR libraries
589 Summary(pl):    Statyczne biblioteki APR
590 Group:          Development/Libraries
591 Requires:       apr-devel = %{version}
592 Requires:       gdbm-static >= 1.8.3
593 Requires:       db-static
594 Requires:       expat-static
595
596 %description -n apr-static
597 Static APR libraries.
598
599 %description -n apr-static -l pl
600 Statyczne biblioteki APR.
601
602 %prep
603 %setup -q -n httpd-%{version}
604 %patch0 -p1
605 %patch1 -p1
606 %patch2 -p1
607 %patch3 -p1
608
609 %build
610 %configure \
611         --enable-layout=PLD \
612         --enable-modules=all \
613         --enable-mods-shared=all \
614         --enable-auth-anon       \
615         --enable-auth-dbm \
616         --enable-auth-digest \
617         --enable-file-cache \
618         --enable-echo \
619         --enable-cache \
620         --enable-charset-lite \
621         --enable-mem-cache \
622         --enable-disk-cache \
623         --enable-ext-filter \
624         --enable-case-filter \
625         --enable-case-filter-in \
626         --enable-deflate \
627         --with-z=%{_prefix} \
628         --enable-mime-magic \
629         --enable-cern-meta \
630         --enable-expires \
631         --enable-headers \
632         --enable-usertrack \
633         --enable-unique-id \
634         --enable-proxy \
635         --enable-proxy-connect \
636         --enable-proxy-ftp \
637         --enable-proxy-http \
638         %{!?_without_ssl:--enable-ssl} \
639         --enable-optional-hook-export \
640         --enable-optional-hook-import \
641         --enable-optional-fn-import \
642         --enable-optional-fn-export \
643         --enable-dav \
644         --enable-info \
645         --enable-suexec \
646         --enable-cgi \
647         --enable-cgid \
648         --enable-dav-fs \
649         --enable-vhost-alias \
650         --enable-speling \
651         --enable-rewrite \
652         --enable-so \
653         --with-mpm=worker \
654         --with-suexec-bin=%{_sbindir}/suexec \
655         --with-suexec-caller=http \
656         --with-suexec-docroot=%{_datadir} \
657         --with-suexec-logfile=/var/log/httpd/suexec_log \
658         --with-suexec-uidmin=500 \
659         --with-suexec-gidmin=500 \
660         --with-suexec-umask=077
661
662 %{__make}
663
664 %install
665 rm -rf $RPM_BUILD_ROOT
666 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
667 install -d $RPM_BUILD_ROOT%{_var}/log/{httpd,archiv/httpd}
668 install -d $RPM_BUILD_ROOT%{_var}/{run,cache}/apache
669
670 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
671         installbuilddir=%{_sysconfdir}/build \
672         prefix=%{_sysconfdir}/httpd \
673         libexecdir=%{_libdir}/%{name} \
674         iconsdir=%{_datadir}/icons \
675         errordir=%{_datadir}/error \
676         htdocsdir=%{_datadir}/html \
677         manualdir=%{_datadir}/manual \
678         cgidir=%{_datadir}/cgi-bin \
679         runtimedir=%{_var}/run \
680         logdir=%{_var}/log/httpd \
681         proxycachedir=%{_var}/cache/httpd
682
683 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
684 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
685
686 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
687         $RPM_BUILD_ROOT%{_libexecdir}/build
688
689 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
690 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
691
692 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
693 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
694 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
695
696 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
697
698 %if %{?_without_ssl:0}%{!?_without_ssl:1}
699 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
700 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
701 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
702 %endif
703
704 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
705
706 install %{SOURCE6}  $CFG/10_httpd.conf
707 install %{SOURCE8}  $CFG/20_mod_vhost_alias.conf
708 install %{SOURCE9}  $CFG/25_mod_status.conf
709 install %{SOURCE10} $CFG/30_mod_proxy.conf
710 install %{SOURCE11} $CFG/35_mod_info.conf
711 install %{SOURCE12} $CFG/40_mod_ssl.conf
712 install %{SOURCE13} $CFG/45_mod_dav.conf
713 install %{SOURCE14} $CFG/59_mod_dir.conf
714
715 echo "LoadModule actions_module       %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
716 echo "LoadModule auth_module          %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
717 echo "LoadModule auth_anon_module     %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
718 echo "LoadModule auth_dbm_module      %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
719 echo "LoadModule auth_digest_module   %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
720 echo "LoadModule cache_module         %{_libexecdir}/mod_cache.so
721 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
722 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
723 echo "LoadModule cgid_module          %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
724 echo "LoadModule charset_lite_module  %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
725 echo "LoadModule deflate_module       %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
726 echo "LoadModule expires_module       %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
727 echo "LoadModule file_cache_module    %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
728 echo "LoadModule headers_module       %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
729 echo "LoadModule imap_module          %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
730 echo "LoadModule rewrite_module       %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
731 echo "LoadModule usertrack_module     %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
732 echo "LoadModule unique_id_module     %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
733
734 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
735
736 %clean
737 rm -rf $RPM_BUILD_ROOT
738
739 %pre
740 if [ -n "`getgid http`" ]; then
741        if [ "`getgid http`" != "51" ]; then
742                echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
743                exit 1
744        fi
745 else
746        /usr/sbin/groupadd -g 51 -r -f http
747 fi
748 if [ -n "`id -u http 2>/dev/null`" ]; then
749        if [ "`id -u http`" != "51" ]; then
750                echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
751                exit 1
752        fi
753 else
754        /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
755 fi
756
757 %post
758 /sbin/ldconfig
759 /sbin/chkconfig --add httpd
760 umask 137
761 touch /var/log/httpd/{access,error,agent,referer}_log
762 if [ -f /var/lock/subsys/httpd ]; then
763         /etc/rc.d/init.d/httpd restart 1>&2
764 else
765         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
766 fi
767
768 %preun
769 if [ "$1" = "0" ]; then
770         if [ -f /var/lock/subsys/httpd ]; then
771                 /etc/rc.d/init.d/httpd stop 1>&2
772         fi
773         /sbin/chkconfig --del httpd
774 fi
775
776 %postun
777 /sbin/ldconfig
778 if [ "$1" = "0" ]; then
779        /usr/sbin/userdel http
780        /usr/sbin/groupdel http
781 fi
782
783 %post mod_actions
784 if [ -f /var/lock/subsys/httpd ]; then
785         /etc/rc.d/init.d/httpd restart 1>&2
786 else
787         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
788 fi
789
790 %preun mod_actions
791 if [ "$1" = "0" ]; then
792         if [ -f /var/lock/subsys/httpd ]; then
793                 /etc/rc.d/init.d/httpd restart 1>&2
794         fi
795 fi
796
797 %post mod_auth
798 if [ -f /var/lock/subsys/httpd ]; then
799         /etc/rc.d/init.d/httpd restart 1>&2
800 else
801         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
802 fi
803
804 %preun mod_auth
805 if [ "$1" = "0" ]; then
806         if [ -f /var/lock/subsys/httpd ]; then
807                 /etc/rc.d/init.d/httpd restart 1>&2
808         fi
809 fi
810
811 %post mod_auth_anon
812 if [ -f /var/lock/subsys/httpd ]; then
813         /etc/rc.d/init.d/httpd restart 1>&2
814 else
815         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
816 fi
817
818 %preun mod_auth_anon
819 if [ "$1" = "0" ]; then
820         if [ -f /var/lock/subsys/httpd ]; then
821                 /etc/rc.d/init.d/httpd restart 1>&2
822         fi
823 fi
824
825 %post mod_auth_dbm
826 if [ -f /var/lock/subsys/httpd ]; then
827         /etc/rc.d/init.d/httpd restart 1>&2
828 else
829         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
830 fi
831
832 %preun mod_auth_dbm
833 if [ "$1" = "0" ]; then
834         if [ -f /var/lock/subsys/httpd ]; then
835                 /etc/rc.d/init.d/httpd restart 1>&2
836         fi
837 fi
838
839 %post mod_cache
840 if [ -f /var/lock/subsys/httpd ]; then
841         /etc/rc.d/init.d/httpd restart 1>&2
842 else
843         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
844 fi
845
846 %preun mod_cache
847 if [ "$1" = "0" ]; then
848         if [ -f /var/lock/subsys/httpd ]; then
849                 /etc/rc.d/init.d/httpd restart 1>&2
850         fi
851 fi
852
853 %post mod_cgid
854 if [ -f /var/lock/subsys/httpd ]; then
855         /etc/rc.d/init.d/httpd restart 1>&2
856 else
857         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
858 fi
859
860 %preun mod_cgid
861 if [ "$1" = "0" ]; then
862         if [ -f /var/lock/subsys/httpd ]; then
863                 /etc/rc.d/init.d/httpd restart 1>&2
864         fi
865 fi
866
867 %post mod_charset_lite
868 if [ -f /var/lock/subsys/httpd ]; then
869         /etc/rc.d/init.d/httpd restart 1>&2
870 else
871         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
872 fi
873
874 %preun mod_charset_lite
875 if [ "$1" = "0" ]; then
876         if [ -f /var/lock/subsys/httpd ]; then
877                 /etc/rc.d/init.d/httpd restart 1>&2
878         fi
879 fi
880
881 %post mod_dav
882 if [ -f /var/lock/subsys/httpd ]; then
883         /etc/rc.d/init.d/httpd restart 1>&2
884 else
885         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
886 fi
887
888 %preun mod_dav
889 if [ "$1" = "0" ]; then
890         if [ -f /var/lock/subsys/httpd ]; then
891                 /etc/rc.d/init.d/httpd restart 1>&2
892         fi
893 fi
894
895 %post mod_auth_digest
896 if [ -f /var/lock/subsys/httpd ]; then
897         /etc/rc.d/init.d/httpd restart 1>&2
898 else
899         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
900 fi
901
902 %preun mod_auth_digest
903 if [ "$1" = "0" ]; then
904         if [ -f /var/lock/subsys/httpd ]; then
905                 /etc/rc.d/init.d/httpd restart 1>&2
906         fi
907 fi
908
909 %post mod_deflate
910 if [ -f /var/lock/subsys/httpd ]; then
911         /etc/rc.d/init.d/httpd restart 1>&2
912 else
913         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
914 fi
915
916 %preun mod_deflate
917 if [ "$1" = "0" ]; then
918         if [ -f /var/lock/subsys/httpd ]; then
919                 /etc/rc.d/init.d/httpd restart 1>&2
920         fi
921 fi
922
923 %post mod_dir
924 if [ -f /var/lock/subsys/httpd ]; then
925         /etc/rc.d/init.d/httpd restart 1>&2
926 else
927         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
928 fi
929
930 %preun mod_dir
931 if [ "$1" = "0" ]; then
932         if [ -f /var/lock/subsys/httpd ]; then
933                 /etc/rc.d/init.d/httpd restart 1>&2
934         fi
935 fi
936
937 %post mod_expires
938 if [ -f /var/lock/subsys/httpd ]; then
939         /etc/rc.d/init.d/httpd restart 1>&2
940 else
941         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
942 fi
943
944 %preun mod_expires
945 if [ "$1" = "0" ]; then
946         if [ -f /var/lock/subsys/httpd ]; then
947                 /etc/rc.d/init.d/httpd restart 1>&2
948         fi
949 fi
950
951 %post mod_file_cache
952 if [ -f /var/lock/subsys/httpd ]; then
953         /etc/rc.d/init.d/httpd restart 1>&2
954 else
955         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
956 fi
957
958 %preun mod_file_cache
959 if [ "$1" = "0" ]; then
960         if [ -f /var/lock/subsys/httpd ]; then
961                 /etc/rc.d/init.d/httpd restart 1>&2
962         fi
963 fi
964
965 %post mod_headers
966 if [ -f /var/lock/subsys/httpd ]; then
967         /etc/rc.d/init.d/httpd restart 1>&2
968 else
969         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
970 fi
971
972 %preun mod_headers
973 if [ "$1" = "0" ]; then
974         if [ -f /var/lock/subsys/httpd ]; then
975                 /etc/rc.d/init.d/httpd restart 1>&2
976         fi
977 fi
978
979 %post mod_imap
980 if [ -f /var/lock/subsys/httpd ]; then
981         /etc/rc.d/init.d/httpd restart 1>&2
982 else
983         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
984 fi
985
986 %preun mod_imap
987 if [ "$1" = "0" ]; then
988         if [ -f /var/lock/subsys/httpd ]; then
989                 /etc/rc.d/init.d/httpd restart 1>&2
990         fi
991 fi
992
993 %post mod_info
994 if [ -f /var/lock/subsys/httpd ]; then
995         /etc/rc.d/init.d/httpd restart 1>&2
996 else
997         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
998 fi
999
1000 %preun mod_info
1001 if [ "$1" = "0" ]; then
1002         if [ -f /var/lock/subsys/httpd ]; then
1003                 /etc/rc.d/init.d/httpd restart 1>&2
1004         fi
1005 fi
1006
1007 %post mod_proxy
1008 if [ -f /var/lock/subsys/httpd ]; then
1009         /etc/rc.d/init.d/httpd restart 1>&2
1010 else
1011         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1012 fi
1013
1014 %preun mod_proxy
1015 if [ "$1" = "0" ]; then
1016         if [ -f /var/lock/subsys/httpd ]; then
1017                 /etc/rc.d/init.d/httpd restart 1>&2
1018         fi
1019 fi
1020
1021 %post mod_rewrite
1022 if [ -f /var/lock/subsys/httpd ]; then
1023         /etc/rc.d/init.d/httpd restart 1>&2
1024 else
1025         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1026 fi
1027
1028 %preun mod_rewrite
1029 if [ "$1" = "0" ]; then
1030         if [ -f /var/lock/subsys/httpd ]; then
1031                 /etc/rc.d/init.d/httpd restart 1>&2
1032         fi
1033 fi
1034
1035 %post mod_ssl
1036 if [ -f /var/lock/subsys/httpd ]; then
1037         /etc/rc.d/init.d/httpd restart 1>&2
1038 else
1039         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1040 fi
1041
1042 %preun mod_ssl
1043 if [ "$1" = "0" ]; then
1044         if [ -f /var/lock/subsys/httpd ]; then
1045                 /etc/rc.d/init.d/httpd restart 1>&2
1046         fi
1047 fi
1048
1049 %post mod_status
1050 if [ -f /var/lock/subsys/httpd ]; then
1051         /etc/rc.d/init.d/httpd restart 1>&2
1052 else
1053         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1054 fi
1055
1056 %preun mod_status
1057 if [ "$1" = "0" ]; then
1058         if [ -f /var/lock/subsys/httpd ]; then
1059                 /etc/rc.d/init.d/httpd restart 1>&2
1060         fi
1061 fi
1062
1063 %post mod_usertrack
1064 if [ -f /var/lock/subsys/httpd ]; then
1065         /etc/rc.d/init.d/httpd restart 1>&2
1066 else
1067         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1068 fi
1069
1070 %preun mod_usertrack
1071 if [ "$1" = "0" ]; then
1072         if [ -f /var/lock/subsys/httpd ]; then
1073                 /etc/rc.d/init.d/httpd restart 1>&2
1074         fi
1075 fi
1076
1077 %post mod_unique_id
1078 if [ -f /var/lock/subsys/httpd ]; then
1079         /etc/rc.d/init.d/httpd restart 1>&2
1080 else
1081         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1082 fi
1083
1084 %preun mod_unique_id
1085 if [ "$1" = "0" ]; then
1086         if [ -f /var/lock/subsys/httpd ]; then
1087                 /etc/rc.d/init.d/httpd restart 1>&2
1088         fi
1089 fi
1090
1091 %post mod_vhost_alias
1092 if [ -f /var/lock/subsys/httpd ]; then
1093         /etc/rc.d/init.d/httpd restart 1>&2
1094 else
1095         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1096 fi
1097
1098 %preun mod_vhost_alias
1099 if [ "$1" = "0" ]; then
1100         if [ -f /var/lock/subsys/httpd ]; then
1101                 /etc/rc.d/init.d/httpd restart 1>&2
1102         fi
1103 fi
1104
1105 %post   -n apr -p /sbin/ldconfig
1106 %postun -n apr -p /sbin/ldconfig
1107
1108 %files
1109 %defattr(644,root,root,755)
1110 %doc ABOUT_APACHE CHANGES README
1111 %doc docs/conf/mime.types
1112
1113 %attr(754,root,root) /etc/rc.d/init.d/httpd
1114
1115 %attr(750,root,root) %dir %{_sysconfdir}
1116 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1117 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1118 %attr(640,root,root) %{_sysconfdir}/magic
1119 %attr(755,root,root) %dir %{_libexecdir}/build
1120 %attr(755,root,root) %{_libexecdir}/build/*.mk
1121 %attr(755,root,root) %{_libexecdir}/build/*.sh
1122 %attr(755,root,root) %{_libexecdir}/build/libtool
1123
1124 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1125 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1126
1127 %dir %{_libexecdir}
1128 %attr(755,root,root) %{_libexecdir}/mod_access.so
1129 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1130 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1131 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1132 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1133 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1134 %attr(755,root,root) %{_libexecdir}/mod_env.so
1135 %attr(755,root,root) %{_libexecdir}/mod_include.so
1136 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1137 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1138 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1139 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1140 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1141 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1142 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1143
1144 # look at TODO on top
1145 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1146 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1147 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1148 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1149 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1150 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1151 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1152 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1153
1154 %attr(755,root,root) %{_sbindir}/htdigest
1155
1156 %attr(755,root,root) %{_sbindir}/ab
1157 %attr(755,root,root) %{_sbindir}/apachectl
1158 %attr(755,root,root) %{_sbindir}/apxs
1159 %attr(755,root,root) %{_sbindir}/checkgid
1160 %attr(755,root,root) %{_sbindir}/httpd
1161 %attr(755,root,root) %{_sbindir}/logresolve
1162 %attr(755,root,root) %{_sbindir}/rotatelogs
1163 %attr(755,root,root) %{_sbindir}/envvars*
1164
1165 %dir %attr(770,root,http) /var/run/apache
1166
1167 %{_mandir}/man1/htdigest.1*
1168 %{_mandir}/man8/*
1169
1170 %attr(750,root,root) %dir /var/log/httpd
1171 %attr(750,root,root) %dir /var/log/archiv/httpd
1172 %attr(640,root,root) %ghost /var/log/httpd/*
1173
1174 %dir %{_datadir}
1175 %dir %{_datadir}/manual
1176 %{_datadir}/manual/LICENSE
1177 %{_datadir}/manual/*.html
1178 %{_datadir}/manual/*.xml
1179 %{_datadir}/manual/*.html.en
1180 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1181 %lang(ja) %{_datadir}/manual/*.xml.ja
1182 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1183 %lang(de) %{_datadir}/manual/*.html.de
1184 %lang(fr) %{_datadir}/manual/*.html.fr
1185 %{_datadir}/manual/developer
1186 %{_datadir}/manual/faq
1187 %dir %{_datadir}/manual/howto
1188 %doc %{_datadir}/manual/howto/*.en
1189 %{_datadir}/manual/howto/*.html
1190 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1191 %dir %{_datadir}/manual/images
1192 %{_datadir}/manual/images/[achips]*
1193 %{_datadir}/manual/misc
1194 %dir %{_datadir}/manual/mod
1195 %{_datadir}/manual/mod/[fh]*.html
1196 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1197 %{_datadir}/manual/mod/[acd]*.xml
1198 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1199 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1200 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1201 %{_datadir}/manual/mod/index.xml
1202 %{_datadir}/manual/mod/mpm*.html.en
1203 %{_datadir}/manual/mod/mod_access.html.en
1204 %{_datadir}/manual/mod/mod_alias.html.en
1205 %{_datadir}/manual/mod/mod_asis.html.en
1206 %{_datadir}/manual/mod/mod_autoindex.html.en
1207 %{_datadir}/manual/mod/mod_cern_meta.html.en
1208 %{_datadir}/manual/mod/mod_cgi.html.en
1209 %{_datadir}/manual/mod/mod_env.html.en
1210 %{_datadir}/manual/mod/mod_include.html.en
1211 %{_datadir}/manual/mod/mod_log_config.html.en
1212 %{_datadir}/manual/mod/mod_mime*.html.en
1213 %{_datadir}/manual/mod/mod_negotiation.html.en
1214 %{_datadir}/manual/mod/mod_setenvif.html.en
1215 %{_datadir}/manual/mod/mod_speling.html.en
1216 %{_datadir}/manual/mod/mod_userdir.html.en
1217 %{_datadir}/manual/platform
1218 %{_datadir}/manual/programs
1219 %dir %{_datadir}/manual/search
1220 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1221 %{_datadir}/manual/style
1222
1223 # Having all index.html.LANG files here is very bad idea.
1224 %attr(755,root,root) %dir %{_datadir}/html
1225 %config(noreplace,missingok) %{_datadir}/html/index.html
1226 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1227 %{_datadir}/html/*.gif
1228 %{_datadir}/html/*.png
1229 %{_datadir}/icons
1230 %attr(755,root,root) %{_datadir}/cgi-bin
1231
1232 %{_datadir}/error
1233
1234 %files suexec
1235 %defattr(644,root,root,755)
1236 %attr(4755,root,root) %{_sbindir}/suexec
1237 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1238 %{_datadir}/manual/mod/mod_suexec.html.en
1239
1240 %files devel
1241 %defattr(644,root,root,755)
1242 %{_includedir}/[!a]*
1243 %{_includedir}/ap[!r]*
1244 %{_libexecdir}/*.exp
1245
1246 %files static
1247 %defattr(644,root,root,755)
1248 %{_libdir}/lib*.a
1249
1250 %files mod_actions
1251 %defattr(644,root,root,755)
1252 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1253 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1254 %{_datadir}/manual/mod/mod_actions.html.en
1255
1256 %files mod_auth
1257 %defattr(644,root,root,755)
1258 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1259 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1260 %attr(755,root,root) %{_sbindir}/htpasswd
1261 %{_datadir}/manual/mod/mod_auth.html.en
1262 %{_mandir}/man1/htpasswd.1*
1263
1264 %files mod_auth_anon
1265 %defattr(644,root,root,755)
1266 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1267 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1268 %{_datadir}/manual/mod/mod_auth_anon.html.en
1269
1270 %files mod_auth_dbm
1271 %defattr(644,root,root,755)
1272 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1273 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1274 %attr(755,root,root) %{_sbindir}/dbmmanage
1275 %attr(755,root,root) %{_sbindir}/htdbm
1276 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1277 %{_mandir}/man1/dbmmanage.1*
1278
1279 %files mod_auth_digest
1280 %defattr(644,root,root,755)
1281 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1282 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1283 %{_datadir}/manual/mod/mod_auth_digest.html.en
1284
1285 %files mod_cache
1286 %defattr(644,root,root,755)
1287 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1288 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1289 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1290 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1291 %{_datadir}/manual/mod/mod_cache.html.en
1292
1293 %files mod_cgid
1294 %defattr(644,root,root,755)
1295 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1296 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1297 %{_datadir}/manual/mod/mod_cgid.html.en
1298
1299 %files mod_charset_lite
1300 %defattr(644,root,root,755)
1301 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1302 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1303 %{_datadir}/manual/mod/mod_charset_lite.html.en
1304
1305 %files mod_dav
1306 %defattr(644,root,root,755)
1307 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1308 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1309 %{_datadir}/manual/mod/mod_dav*.html.en
1310
1311 %files mod_deflate
1312 %defattr(644,root,root,755)
1313 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1314 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1315 %{_datadir}/manual/mod/mod_deflate.html.en
1316
1317 %files mod_dir
1318 %defattr(644,root,root,755)
1319 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1320 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1321 %{_datadir}/manual/mod/mod_dir.html.en
1322
1323 %files mod_expires
1324 %defattr(644,root,root,755)
1325 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1326 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1327 %{_datadir}/manual/mod/mod_expires.html.en
1328
1329 %files mod_file_cache
1330 %defattr(644,root,root,755)
1331 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1332 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1333 %{_datadir}/manual/mod/mod_file_cache.html.en
1334
1335 %files mod_headers
1336 %defattr(644,root,root,755)
1337 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1338 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1339 %{_datadir}/manual/mod/mod_headers.html.en
1340
1341 %files mod_imap
1342 %defattr(644,root,root,755)
1343 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1344 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1345 %{_datadir}/manual/mod/mod_imap.html.en
1346
1347 %files mod_info
1348 %defattr(644,root,root,755)
1349 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1350 %attr(755,root,root) %{_libexecdir}/mod_info.so
1351 %{_datadir}/manual/mod/mod_info.html.en
1352
1353 %files mod_proxy
1354 %defattr(644,root,root,755)
1355 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1356 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1357 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1358 %attr(770,root,http) /var/cache/apache
1359
1360 %files mod_rewrite
1361 %defattr(644,root,root,755)
1362 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1363 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1364 %{_datadir}/manual/mod/mod_rewrite.html.en
1365 %{_datadir}/manual/images/mod_rewrite*
1366
1367 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1368 %files mod_ssl
1369 %defattr(644,root,root,755)
1370 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1371 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1372 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1373 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1374 %{_datadir}/manual/ssl
1375 %{_datadir}/manual/mod/mod_ssl.html.en
1376 %endif
1377
1378 %files mod_status
1379 %defattr(644,root,root,755)
1380 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1381 %attr(755,root,root) %{_libexecdir}/mod_status.so
1382 %{_datadir}/manual/mod/mod_status.html.en
1383
1384 %files mod_usertrack
1385 %defattr(644,root,root,755)
1386 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1387 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1388 %{_datadir}/manual/mod/mod_usertrack.html.en
1389
1390 %files mod_unique_id
1391 %defattr(644,root,root,755)
1392 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1393 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1394 %{_datadir}/manual/mod/mod_unique_id.html.en
1395
1396 %files mod_vhost_alias
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1399 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1400 %{_datadir}/manual/vhosts
1401 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1402
1403 %files -n apr
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_libdir}/libapr*.so.*
1406
1407 %files -n apr-devel
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_bindir}/apr-config
1410 %attr(755,root,root) %{_bindir}/apu-config
1411 %dir %{_includedir}
1412 %{_includedir}/apr*.h
1413 #%%{_libdir}/APRVARS
1414 %{_libdir}/apr*.exp
1415 %attr(755,root,root) %{_libdir}/libapr*.so
1416 %{_libdir}/libapr*.la
1417
1418 %files -n apr-static
1419 %defattr(644,root,root,755)
1420 %{_libdir}/libapr.a
This page took 0.187726 seconds and 3 git commands to generate.