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