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