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