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