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