]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- dropped SourceX-size
[packages/apache.git] / apache.spec
1 # TODO:
2 # - mod_case_filter
3 # - mod_case_filter_in
4 # - mod_optional_fn_{export,import}
5 # - mod_optional_hook_{export,import}
6 # - mod_ext_filter
7 # - mod_echo
8 # - config examples for mod_*
9 # - check if all modules are (de)registered in %%post/%%postun
10 # - find smart way to deregister module if its moved from main package
11 #   to subpackage (maybe test -f ?)
12 # - add %%post/%%postun to suexec
13 # - --with-suexec-gidmin=500 or =100 ?
14 # - --with-suexec-uidmin=500 or =1000 ?
15 # - subpackages for MPMs
16 # - check if all modules (*.so) are exactly the same for different MPMs
17 # - install stage fails with distcc (make -jN)
18 #
19 # Conditional build:
20 %bcond_without  ssl             # build without SSL support
21 %bcond_without  ldap            # build without LDAP support
22 %bcond_with     external_pcre   # build with external PCRE support (Apache bug #27550)
23 #
24 %include        /usr/lib/rpm/macros.perl
25 # this is internal macro, don't change to %%apache_modules_api
26 %define         _apache_modules_api 20020903
27 Summary:        The most widely used Web server on the Internet
28 Summary(de):    Leading World Wide Web-Server
29 Summary(es):    Servidor HTTPD para proveer servicios WWW
30 Summary(fr):    Le serveur web le plus utilise sur Internet
31 Summary(pl):    Serwer WWW (World Wide Web)
32 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
33 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
34 Summary(tr):    Lider WWW tarayýcý
35 Name:           apache
36 Version:        2.0.53
37 Release:        4
38 License:        Apache Group License
39 Group:          Networking/Daemons
40 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
41 # Source0-md5:  b089bdc7065c3be166bcc516b0d92416
42 Source1:        %{name}.init
43 Source2:        %{name}.logrotate
44 Source3:        %{name}-icons.tar.gz
45 # Source3-md5:  2b085cbc19fd28536dc883f0b864cd83
46 Source4:        %{name}.sysconfig
47 Source5:        %{name}.monitrc
48 Source6:        %{name}-httpd.conf
49 Source8:        %{name}-mod_vhost_alias.conf
50 Source9:        %{name}-mod_status.conf
51 Source10:       %{name}-mod_proxy.conf
52 Source11:       %{name}-mod_info.conf
53 Source12:       %{name}-mod_ssl.conf
54 Source13:       %{name}-mod_dav.conf
55 Source14:       %{name}-mod_dir.conf
56 Source15:       %{name}-mod_suexec.conf
57 Source16:       %{name}-mod_deflate.conf
58 Source17:       %{name}-mod_autoindex.conf
59 Source20:       %{name}-server.crt
60 Source21:       %{name}-server.key
61 Patch0:         %{name}-configdir_skip_backups.patch
62 Patch1:         %{name}-layout.patch
63 Patch2:         %{name}-suexec.patch
64 Patch3:         %{name}-nolibs.patch
65 Patch4:         %{name}-apr.patch
66 # project homepage http://www.metux.de/mpm/en/?patpage=index
67 # http://www.sannes.org/metuxmpm/
68 Patch5:         httpd-2.0.48-metuxmpm-r8.patch
69 Patch6:         httpd-2.0.40-xfsz.patch
70 Patch7:         httpd-2.0.45-davetag.patch
71 Patch8:         httpd-2.0.45-encode.patch
72 Patch9:         httpd-2.0.45-export.patch
73 Patch10:        httpd-2.0.46-dav401dest.patch
74 Patch11:        httpd-2.0.46-md5dig.patch
75 Patch13:        httpd-2.0.46-sslmutex.patch
76 Patch14:        httpd-2.0.47-sslcleanup.patch
77 Patch15:        httpd-2.0.48-corelimit.patch
78 Patch16:        httpd-2.0.48-debuglog.patch
79 Patch17:        httpd-2.0.48-dynlimit.patch
80 Patch18:        httpd-2.0.48-sslpphrase.patch
81 Patch19:        %{name}-v6only-ENOPROTOOPT.patch
82 Patch20:        %{name}-conffile-path.patch
83 Patch21:        %{name}-apxs.patch
84 # http://www.telana.com/peruser.php
85 Patch22:        httpd-2.0.50-peruser-r3.patch
86 Patch23:        %{name}-apr1.patch
87 Patch24:        %{name}-normalize-path.patch
88 # http://issues.apache.org/bugzilla/attachment.cgi?id=13377 external pcre
89 Patch25:        %{name}2-pcre-patch.diff
90 Patch26:        %{name}-bug_33382.patch
91 URL:            http://httpd.apache.org/
92 BuildRequires:  automake
93 BuildRequires:  apr-devel >= 1:1.0.0
94 BuildRequires:  apr-util-devel >= 1:1.0.0
95 BuildRequires:  db-devel
96 BuildRequires:  expat-devel
97 BuildRequires:  gdbm-devel >= 1.8.3
98 BuildRequires:  libtool >= 2:1.5
99 %{?with_ldap:BuildRequires:     openldap-devel}
100 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
101 %{?with_ssl:BuildRequires:      openssl-tools >= 0.9.7d}
102 %{?with_external_pcre:BuildRequires:    pcre-devel}
103 BuildRequires:  perl-devel >= 1:5.6
104 BuildRequires:  rpm-perlprov >= 4.1-13
105 BuildRequires:  rpmbuild(macros) >= 1.159
106 BuildRequires:  zlib-devel
107 PreReq:         perl-base
108 PreReq:         rc-scripts
109 Requires(pre):  /bin/id
110 Requires(pre):  /usr/bin/getgid
111 Requires(pre):  /usr/sbin/groupadd
112 Requires(pre):  /usr/sbin/useradd
113 Requires(postun):       /usr/sbin/userdel
114 Requires(postun):       /usr/sbin/groupdel
115 Requires(post,preun):   /sbin/chkconfig
116 Requires(post,postun):  /sbin/ldconfig
117 Requires(post): fileutils
118 Requires:       /etc/mime.types
119 Requires:       apr >= 1:1.0.0-2
120 Requires:       %{name}-apxs = %{version}-%{release}
121 Requires:       mailcap
122 Requires:       psmisc >= 20.1
123 Provides:       apache(modules-api) = %{_apache_modules_api}
124 Provides:       apache(mod_access)
125 Provides:       apache(mod_alias)
126 Provides:       apache(mod_asis)
127 Provides:       apache(mod_autoindex)
128 Provides:       apache(mod_cern_meta)
129 Provides:       apache(mod_cgi)
130 Provides:       apache(mod_env)
131 Provides:       apache(mod_include)
132 Provides:       apache(mod_log_config)
133 Provides:       apache(mod_mime)
134 Provides:       apache(mod_mime_magic)
135 Provides:       apache(mod_negotiation)
136 Provides:       apache(mod_setenvif)
137 Provides:       apache(mod_speling)
138 Provides:       apache(mod_userdir)
139 Provides:       group(http)
140 Provides:       httpd = %{version}
141 Provides:       user(http)
142 Provides:       webserver = apache
143 Obsoletes:      apache-extra
144 Obsoletes:      apache6
145 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
146
147 %define         _sysconfdir     /etc/httpd
148 %define         _includedir     %{_prefix}/include/apache
149 %define         _datadir        /home/services/httpd
150 %define         _libexecdir     %{_libdir}/apache
151
152 %description
153 Apache is a powerful, full-featured, efficient and freely-available
154 Web server. Apache is also the most popular Web server on the
155 Internet.
156
157 %description -l de
158 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
159 erhältlich und weit verbreitet ist.
160
161 %description -l es
162 El servidor web Apache es el mejor servidor gratuito disponible en el
163 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
164 que navegadores vean documentos y sometan datos remotamente. Puede
165 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
166 caché, y nos ofrece características como monitor de estado, conversión
167 dinámica de tipo, y otras más.
168
169 %description -l fr
170 Apache est un serveur Web puissant, efficace, gratuit et complet.
171 Apache est aussi le serveur Web le plus populaire sur Internet.
172
173 %description -l pl
174 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
175 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci Internet.
176
177 %description -l pt_BR
178 O servidor web Apache é o melhor servidor gratuito disponível no mundo
179 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
180 que browsers web vejam documentos e submetam dados remotamente. Ele
181 pode executar várias funções diferentes, incluindo funções de proxy e
182 cache, e oferece características como monitor de status, conversão
183 dinâmica de tipo, e mais.
184
185 %description -l ru
186 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
187 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
188
189 %description -l tr
190 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
191 sunucusudur.
192
193 %package suexec
194 Summary:        Apache suexec wrapper
195 Summary(pl):    Wrapper suexec do serwera WWW Apache
196 Group:          Networking/Daemons
197 Requires:       %{name} = %{version}-%{release}
198
199 %description suexec
200 The suEXEC feature provides Apache users the ability to run CGI and
201 SSI programs under user IDs different from the user ID of the calling
202 web-server. Normally, when a CGI or SSI program executes, it runs as
203 the same user who is running the web server.
204
205 %description suexec -l pl
206 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
207 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
208 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
209
210 %package index
211 Summary:        Apache index.html* files
212 Summary(pl):    Pliki Apache index.html*
213 Group:          Documentation
214 Requires:       %{name} = %{version}-%{release}
215 Obsoletes:      indexhtml
216
217 %description index
218 Apache index.html* files.
219
220 %description index -l pl
221 Pliki index.html* Apache'a.
222
223 %package doc
224 Summary:        Apache manual
225 Summary(pl):    Podrêcznik Apache'a
226 Group:          Documentation
227 Requires:       %{name} = %{version}-%{release}
228
229 %description doc
230 Apache manual.
231
232 %description doc -l pl
233 Podrêcznik Apache'a.
234
235 %package apxs
236 Summary:        APache eXtenSion tool
237 Summary(pl):    Narzêdzie do rozszerzania Apache'a
238 Group:          Development/Tools
239
240 %description apxs
241 APache eXtenSion tool.
242
243 %description apxs -l pl
244 Narzêdzie do rozszerzania Apache'a.
245  
246 %package devel
247 Summary:        Module development tools for the Apache web server
248 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
249 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
250 Summary(pl):    Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
251 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
252 Summary(ru):    óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
253 Group:          Networking/Utilities
254 Requires:       %{name}-apxs = %{version}-%{release}
255 Requires:       apr-util-devel >= 1:1.0.0
256 Requires:       libtool
257 Obsoletes:      apache-static
258
259 %description devel
260 The apache-devel package contains header files for Apache.
261
262 %description devel -l es
263 Este paquete contiene los archivos de inclusión para el Apache, bien
264 como el utilitario apxs para la construcción de objetos compartidos
265 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
266 o desarrollar módulos adicionales para Apache.
267
268 %description devel -l fr
269 Le package apache-devel contient le code source pour le serveur Web
270 Apache et le binaire APXS dont vous aurez besoin pour construire des
271 Objets Dynamiques Partages (DSOs) pour Apache.
272
273 %description devel -l pl
274 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
275 (Dynamic Shared Objects) dla Apache'a.
276
277 %description devel -l ru
278 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
279
280 %description devel -l pt_BR
281 Este pacote contem os arquivos de inclusão para o Apache, bem como o
282 utilitário apxs para a construção de objetos compartilhados dinâmicos
283 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
284 desenvolver módulos adicionais para o Apache.
285
286 %package mod_actions
287 Summary:        Apache module for run CGI whenever a file of a certain type is requested
288 Summary(pl):    Modu³ Apache'a do uruchamiania skryptów CGI
289 Group:          Networking/Daemons
290 Provides:       apache(mod_actions) = %{version}-%{release}
291 Requires:       %{name} = %{version}-%{release}
292
293 %description mod_actions
294 This package contains mod_actions module. This module lets you run CGI
295 scripts whenever a file of a certain type is requested. This makes it
296 much easier to execute scripts that process files.
297
298 %description mod_actions -l pl
299 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
300 ¿±danie pobrania pliku okre¶lonego typu.
301
302 %package mod_auth
303 Summary:        Apache module with user authentication using textual files
304 Summary(pl):    Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
305 Group:          Networking/Daemons
306 Provides:       apache(mod_auth) = %{version}-%{release}
307 Requires:       %{name} = %{version}-%{release}
308 Requires:       htpasswd
309
310 %description mod_auth
311 This package contains mod_auth module. It provides for user
312 authentication using textual files.
313
314 %description mod_auth -l pl
315 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
316 u¿ytkowników na podstawie plików tekstowych.
317
318 %package mod_auth_anon
319 Summary:        Apache module with "anonymous" user access authentication
320 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
321 Group:          Networking/Daemons
322 Provides:       apache(mod_auth_anon) = %{version}-%{release}
323 Requires:       %{name} = %{version}-%{release}
324
325 %description mod_auth_anon
326 This package contains mod_auth_anon module. It allows "anonymous" user
327 access to authenticated areas. It does access control in a manner
328 similar to anonymous FTP sites; i.e. have a 'magic' user id
329 'anonymous' and the email address as a password. These email addresses
330 can be logged. Combined with other (database) access control methods,
331 this allows for effective user tracking and customization according to
332 a user profile while still keeping the site open for 'unregistered'
333 users. One advantage of using Auth-based user tracking is that, unlike
334 magic-cookies and funny URL pre/postfixes, it is completely browser
335 independent and it allows users to share URLs.
336
337 %description mod_auth_anon -l pl
338 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
339 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
340 adresu pocztowego u¿ytkownika).
341
342 %package mod_auth_ldap
343 Summary:        Apache module with LDAP user access authentication
344 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
345 Group:          Networking/Daemons
346 Provides:       apache(mod_auth_ldap) = %{version}-%{release}
347 Requires:       %{name} = %{version}-%{release}
348 Requires:       %{name}-mod_ldap = %{version}-%{release}
349
350 %description mod_auth_ldap
351 Apache module with LDAP user access authentication.
352
353 %description mod_auth_ldap -l pl
354 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP.
355
356 %package mod_auth_dbm
357 Summary:        Apache module with user authentication which uses DBM files
358 Summary(pl):    Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
359 Group:          Networking/Daemons
360 Obsoletes:      apache-mod_auth_db
361 Provides:       apache(mod_auth_dbm) = %{version}-%{release}
362 Requires:       %{name} = %{version}-%{release}
363
364 %description mod_auth_dbm
365 This module provides for HTTP Basic Authentication, where the
366 usernames and passwords are stored in DBM type database files. It is
367 an alternative to the plain text password files provided by mod_auth.
368
369 %description mod_auth_dbm -l pl
370 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
371 ich has³a s± trzymane w plikach bazy typu DBM.
372
373 %package mod_auth_digest
374 Summary:        Apache user authentication module using MD5 Digest Authentication
375 Summary(pl):    Modu³ Apache'a do autoryzacji MD5
376 Group:          Networking/Daemons
377 Obsoletes:      apache-mod_digest
378 Provides:       apache(mod_auth_digest) = %{version}-%{release}
379 Requires:       %{name} = %{version}-%{release}
380
381 %description mod_auth_digest
382 This package contains mod_digest module. It provides user
383 authentication using MD5 Digest Authentication.
384
385 %description mod_auth_digest -l pl
386 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
387 Authentication.
388
389 %package mod_autoindex
390 Summary:        Apache module - display index of files
391 Summary(pl):    Modu³ apache do wy¶wietlania indeksu plików
392 Group:          Networking/Daemons
393 Provides:       apache(mod_autoindex) = %{version}-%{release}
394 Requires:       %{name} = %{version}-%{release}
395
396 %description mod_autoindex
397 This package contains mod_autoindex module. It provides
398 generation index of files.
399
400 %description mod_autoindex -l pl
401 Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
402
403 %package mod_cache
404 Summary:        Content cache keyed to URIs
405 Summary(pl):    Pamiêæ podrêczna wg klucza URI
406 Group:          Networking/Daemons
407 Provides:       apache(mod_cache) = %{version}-%{release}
408 Requires:       %{name} = %{version}-%{release}
409
410 %description mod_cache
411 mod_cache implements an RFC 2616 compliant HTTP content cache that can
412 be used to cache either local or proxied content. Two storage
413 management modules are included in the base Apache distribution:
414 mod_disk_cache implements a disk based storage manager (generally used
415 for proxy caching) and mod_mem_cache implements an in-memory based
416 storage manager (primarily useful for caching local content).
417
418 %description mod_cache -l pl
419 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
420 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
421 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
422 (g³ównie u¿yteczne przy cache'owaniu lokalnej zawarto¶ci) oraz na
423 dysku (u¿ywane do cache'owania proxy).
424
425 %package mod_cgid
426 Summary:        Execution of CGI scripts using an external CGI daemon
427 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
428 Group:          Networking/Daemons
429 Provides:       apache(mod_cgid) = %{version}-%{release}
430 Requires:       %{name} = %{version}-%{release}
431
432 %description mod_cgid
433 Execution of CGI scripts using an external CGI daemon.
434
435 %description mod_cgid -l pl
436 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
437
438 %package mod_charset_lite
439 Summary:        Specify character set translation or recoding
440 Summary(pl):    Translacja lub przekodowywanie znaków
441 Group:          Networking/Daemons
442 Provides:       apache(mod_charset_lite) = %{version}-%{release}
443 Requires:       %{name} = %{version}-%{release}
444
445 %description mod_charset_lite
446 Specify character set translation or recoding.
447
448 %description mod_charset_lite -l pl
449 Translacja lub przekodowywanie znaków.
450
451 %package mod_dav
452 Summary:        Apache module - Distributed Authoring and Versioning
453 Summary(pl):    Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
454 Group:          Networking/Daemons
455 Provides:       apache(mod_dav) = %{version}-%{release}
456 Requires:       %{name} = %{version}-%{release}
457
458 %description mod_dav
459 This module provides class 1 and class 2 WebDAV ('Web-based
460 Distributed Authoring and Versioning') functionality for Apache. This
461 extension to the HTTP protocol allows creating, moving, copying, and
462 deleting resources and collections on a remote web server.
463
464 %description mod_dav -l pl
465 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
466 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
467 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
468 zdalnym serwerze WWW.
469
470 %package mod_deflate
471 Summary:        Apache module: Compress content before it is delivered to the client
472 Summary(pl):    Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
473 Group:          Networking/Daemons
474 Provides:       apache(mod_deflate) = %{version}-%{release}
475 Requires:       %{name} = %{version}-%{release}
476 Requires:       %{name}-mod_headers = %{version}-%{release}
477
478 %description mod_deflate
479 Compress content before it is delivered to the client.
480
481 %description mod_deflate -l pl
482 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
483
484 %package mod_dir
485 Summary:        Apache module for "trailing slash" redirects and serving directory index files
486 Summary(pl):    Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
487 Group:          Networking/Daemons
488 Provides:       apache(mod_dir) = %{version}-%{release}
489 Requires:       %{name} = %{version}-%{release}
490
491 %description mod_dir
492 This package contains mod_dir which provides "trailing slash"
493 redirects and serving directory index files.
494
495 %description mod_dir -l pl
496 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
497 katalogu.
498
499 %package mod_headers
500 Summary:        Apache module allows for the customization of HTTP response headers
501 Summary(pl):    Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
502 Group:          Networking/Daemons
503 Provides:       apache(mod_headers) = %{version}-%{release}
504 Requires:       %{name} = %{version}-%{release}
505
506 %description mod_headers
507 This package contains mod_headers module. The module allows for the
508 customization of HTTP response headers. Headers can be merged,
509 replaced or removed.
510
511 %description mod_headers -l pl
512 Modu³ pozwalaj±cy na ³±czenie, usuwanie oraz zamianê nag³ówków HTTP
513 wysy³anych do przegl±darki.
514
515 %package mod_imap
516 Summary:        Apache module with imap-file handler
517 Summary(pl):    Modu³ Apache'a z obs³ug± imap-file
518 Group:          Networking/Daemons
519 Provides:       apache(mod_imap) = %{version}-%{release}
520 Requires:       %{name} = %{version}-%{release}
521
522 %description mod_imap
523 This package contains mod_imap module. It provides for .map files,
524 replacing the functionality of the imagemap CGI program. Any directory
525 or document type configured to use the handler imap-file.
526
527 %description mod_imap -l pl
528 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
529
530 %package mod_info
531 Summary:        Apache module with comprehensive overview of the server configuration
532 Summary(pl):    Modu³ Apache'a udostêpniaj±cy informacje o serwerze
533 Group:          Networking/Daemons
534 Provides:       apache(mod_info) = %{version}-%{release}
535 Requires:       %{name} = %{version}-%{release}
536
537 %description mod_info
538 This package contains mod_info module. It provides a comprehensive
539 overview of the server configuration including all installed modules
540 and directives in the configuration files.
541
542 %description mod_info -l pl
543 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
544 zainstalowanych modu³ach itp.
545
546 %package mod_ldap
547 Summary:        Apache module to use LDAP connections
548 Summary(pl):    Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
549 Group:          Networking/Daemons
550 Provides:       apache(mod_ldap) = %{version}-%{release}
551 Requires:       %{name} = %{version}-%{release}
552
553 %description mod_ldap
554 Apache module to use LDAP connections.
555
556 %description mod_ldap -l pl
557 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
558
559 %package mod_proxy
560 Summary:        Apache module with Web proxy
561 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
562 Group:          Networking/Daemons
563 Provides:       apache(mod_proxy) = %{version}-%{release}
564 Requires:       %{name} = %{version}-%{release}
565
566 %description mod_proxy
567 This package contains module with implementation a proxy/cache for
568 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
569 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
570 connect to other proxy modules for these and other protocols.
571
572 %description mod_proxy -l pl
573 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
574 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
575 HTTP/1.0 i HTTP/1.1.
576
577 %package mod_rewrite
578 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
579 Summary(pl):    Modu³ Apache'a do "przepisywania" adresów URL w locie
580 Group:          Networking/Daemons
581 Provides:       apache(mod_rewrite) = %{version}-%{release}
582 Requires:       %{name} = %{version}-%{release}
583
584 %description mod_rewrite
585 This package contains It provides a rule-based rewriting engine to
586 rewrite requested URLs on the fly.
587
588 %description mod_rewrite -l pl
589 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
590
591 %package mod_ssl
592 Summary:        SSL/TLS module for the Apache HTTP server
593 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
594 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
595 Group:          Networking/Daemons
596 Epoch:          1
597 Provides:       apache(mod_ssl) = %{version}-%{release}
598 Requires:       %{name} = %{version}-%{release}
599
600 %description mod_ssl
601 The mod_ssl module provides strong cryptography for the Apache Web
602 server via the Secure Sockets Layer (SSL) and Transport Layer Security
603 (TLS) protocols.
604
605 %description mod_ssl -l pl
606 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
607 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
608 Security).
609
610 %description mod_ssl -l ru
611 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
612 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
613
614 %package mod_status
615 Summary:        Server status report module for Apache
616 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
617 Group:          Networking/Daemons
618 Provides:       apache(mod_status) = %{version}-%{release}
619 Requires:       %{name} = %{version}-%{release}
620
621 %description mod_status
622 The Status module allows a server administrator to find out how well
623 their server is performing. A HTML page is presented that gives the
624 current server statistics in an easily readable form. If required this
625 page can be made to automatically refresh (given a compatible
626 browser).
627
628 %description mod_status -l pl
629 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
630 pracy serwera Apache (w postaci strony HTML).
631
632 %package mod_usertrack
633 Summary:        Apache module for user tracking using cookies
634 Summary(pl):    Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
635 Group:          Networking/Daemons
636 Provides:       apache(mod_usertrack) = %{version}-%{release}
637 Requires:       %{name} = %{version}-%{release}
638
639 %description mod_usertrack
640 This package contains the user tracking module which did its own
641 logging using CookieLog directory. This module allow multiple log
642 files.
643
644 %description mod_usertrack -l pl
645 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
646
647 %package mod_vhost_alias
648 Summary:        Apache module for dynamically configured mass virtual hosting
649 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
650 Group:          Networking/Daemons
651 Provides:       apache(mod_vhost_alias) = %{version}-%{release}
652 Requires:       %{name} = %{version}-%{release}
653
654 %description mod_vhost_alias
655 This package contains the mod_vhost_alias. It provides support for
656 dynamically configured mass virtual hosting.
657
658 %description mod_vhost_alias -l pl
659 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
660 wirtualnych.
661
662 %package mod_unique_id
663 Summary:        Apache module which provides a magic token for each request
664 Summary(pl):    Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
665 Group:          Networking/Daemons
666 Provides:       apache(mod_unique_id) = %{version}-%{release}
667 Requires:       %{name} = %{version}-%{release}
668
669 %description mod_unique_id
670 This package contains the mod_unique_id. This module provides a magic
671 token for each request which is guaranteed to be unique across "all"
672 requests under very specific conditions. The unique identifier is even
673 unique across multiple machines in a properly configured cluster of
674 machines. The environment variable UNIQUE_ID is set to the identifier
675 for each request. Unique identifiers are useful for various reasons
676 which are beyond the scope of this document.
677
678 %description mod_unique_id -l pl
679 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
680 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
681 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
682 UNIQUE_ID.
683
684 %package mod_expires
685 Summary:        Apache module which generates Expires HTTP headers
686 Summary(pl):    Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
687 Group:          Networking/Daemons
688 Provides:       apache(mod_expires) = %{version}-%{release}
689 Requires:       %{name} = %{version}-%{release}
690
691 %description mod_expires
692 This module controls the setting of the Expires HTTP header in server
693 responses. The expiration date can set to be relative to either the
694 time the source file was last modified, or to the time of the client
695 access.
696
697 %description mod_expires -l pl
698 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
699 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
700 ¼ród³owych lub odwo³ania klienta.
701
702 %package mod_file_cache
703 Summary:        Apache module: caches a static list of files in memory
704 Summary(pl):    Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
705 Group:          Networking/Daemons
706 Obsoletes:      apache-mmap_static
707 Provides:       apache(mod_file_cache) = %{version}-%{release}
708 Requires:       %{name} = %{version}-%{release}
709
710 %description mod_file_cache
711 Caches a static list of files in memory.
712
713 %description mod_file_cache -l pl
714 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
715
716 %package -n htpasswd-%{name}
717 Summary:        Apache 2 htpasswd utility: manage user files for basic authentication
718 Summary(pl):    Narzêdzie htpasswd z Apache'a 2 do zarz±dzania plikami uwierzytelnienia basic
719 Group:          Networking/Utilities
720 Provides:       htpasswd
721 Obsoletes:      htpasswd
722
723 %description -n htpasswd-%{name}
724 htpasswd is used to create and update the flat-files used to store
725 usernames and password for basic authentication of HTTP users. This
726 package contains htpasswd from Apache 2; this version supports
727 plaintext passwords and CRYPT (default), MD5 and SHA1 encryptions.
728
729 %description -n htpasswd-%{name} -l pl
730 htpasswd s³u¿y do tworzenia i uaktualniania plików tekstowych
731 s³u¿±cych do przechowywania nazw u¿ytkowników i hase³ do podstawowego
732 uwierzytelnienia u¿ytkowników HTTP. Ten pakiet zawiera htpasswd z
733 Apache'a 2; ta wersja obs³uguje has³a zapisane czystym tekstem oraz
734 zakodowane algorytmami CRYPT (domy¶lnym), MD5 i SHA1.
735
736 %prep
737 %setup -q -n httpd-%{version}
738 %patch0 -p1
739 %patch1 -p1
740 %patch2 -p1
741 %patch3 -p1
742 %patch4 -p1
743 %patch5 -p1
744 %patch7 -p1
745 %patch8 -p1
746 %patch9 -p1
747 %patch10 -p1
748 %patch11 -p1
749 %patch13 -p1
750 %patch14 -p1
751 %patch15 -p1
752 %patch16 -p1
753 %patch17 -p1
754 %patch18 -p1
755 %patch19 -p1
756 %patch20 -p1
757 %patch21 -p1
758 %patch22 -p1
759 %patch23 -p1
760 %patch24 -p1
761 %{?with_external_pcre:%patch25 -p2}
762 %patch26 -p1
763
764 %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
765 %{__perl} -pi -e "s@BUILD_SUBDIRS.*@BUILD_SUBDIRS =@g" srclib/Makefile.in
766 %{__perl} -pi -e "s@CLEAN_SUBDIRS.*@CLEAN_SUBDIRS =@g" srclib/Makefile.in
767
768 %build
769 # sanity check
770 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
771 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
772         echo "Set %%_apache_modules_api to $MODULES_API and rerun."
773         exit 1
774 fi
775 ./buildconf
776 rm -rf srclib/apr*
777 # Before configure; fix location of build dir in generated apxs
778 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
779         support/apxs.in
780 %{__perl} -pi -e "s:apr-config:apr-1-config:g" support/apxs.in
781 %{__perl} -pi -e "s:apu-config:apu-1-config:g" support/apxs.in
782 install /usr/share/automake/config.* build/
783 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
784 for mpm in metuxmpm peruser perchild prefork worker; do
785 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
786 ../%configure \
787         --prefix=%{_sysconfdir} \
788         --exec-prefix=%{_libexecdir} \
789         --with-installbuilddir=%{_libdir}/apache/build \
790         --enable-layout=PLD \
791         --enable-modules=all \
792         --enable-mods-shared=all \
793         --enable-auth-anon \
794         --enable-auth-dbm \
795         --enable-auth-digest \
796         --enable-file-cache \
797         --enable-echo \
798         --enable-cache \
799         --enable-charset-lite \
800         --enable-mem-cache \
801         --enable-disk-cache \
802         --enable-ext-filter \
803         --enable-case-filter \
804         --enable-case-filter-in \
805         --enable-deflate \
806         --with-z=%{_prefix} \
807         --enable-mime-magic \
808         --enable-cern-meta \
809         --enable-expires \
810         --enable-headers \
811         --enable-usertrack \
812         --enable-unique-id \
813         --enable-proxy \
814         --enable-proxy-connect \
815         --enable-proxy-ftp \
816         --enable-proxy-http \
817         %{?with_ssl:--enable-ssl} \
818         --enable-optional-hook-export \
819         --enable-optional-hook-import \
820         --enable-optional-fn-import \
821         --enable-optional-fn-export \
822         %{?with_ldap:--enable-ldap} \
823         %{?with_ldap:--enable-auth-ldap} \
824         --enable-dav \
825         --enable-info \
826         --enable-suexec \
827         --enable-cgi \
828         --enable-cgid \
829         --enable-dav-fs \
830         --enable-vhost-alias \
831         --enable-speling \
832         --enable-rewrite \
833         --enable-so \
834         --with-program-name=httpd.${mpm} \
835         --with-mpm=${mpm} \
836 %ifarch %{ix86}
837 %ifnarch i386 i486
838         $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
839 %endif
840 %endif
841         --with-suexec-bin=%{_sbindir}/suexec \
842         --with-suexec-caller=http \
843         --with-suexec-docroot=%{_datadir} \
844         --with-suexec-logfile=/var/log/httpd/suexec_log \
845         --with-suexec-uidmin=500 \
846         --with-suexec-gidmin=500 \
847         --with-suexec-umask=077 \
848         --with-apr=%{_bindir}/apr-1-config \
849         --with-apr-util=%{_bindir}/apu-1-config \
850         %{?with_external_pcre:--with-external-pcre}
851
852 %{__make}
853 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
854
855 find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
856
857 cd ..
858 done
859
860 for mpm in metuxmpm peruser perchild worker; do
861         if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
862                 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
863                 echo "Build failed."
864                 exit 1
865         fi
866 done
867
868 %install
869 rm -rf $RPM_BUILD_ROOT
870 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
871         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
872
873 # prefork is default one
874 %{__make} -C buildmpm-prefork install \
875         DESTDIR=$RPM_BUILD_ROOT \
876         installbuilddir=%{_sysconfdir}/build \
877         prefix=%{_sysconfdir}/httpd \
878         libexecdir=%{_libdir}/%{name} \
879         iconsdir=%{_datadir}/icons \
880         errordir=%{_datadir}/error \
881         htdocsdir=%{_datadir}/html \
882         manualdir=%{_datadir}/manual \
883         cgidir=%{_datadir}/cgi-bin \
884         runtimedir=%{_var}/run \
885         logdir=%{_var}/log/httpd \
886         proxycachedir=%{_var}/cache/httpd
887
888 for mpm in metuxmpm peruser perchild worker; do
889         install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
890         ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
891 done
892
893 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
894
895 ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
896 ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
897 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
898
899 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
900 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
901
902 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
903         $RPM_BUILD_ROOT%{_libexecdir}/build
904
905 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
906 %{__perl} -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
907 %{__perl} -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
908 %{__perl} -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
909 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
910 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
911
912 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
913 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
914 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
915 install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit
916
917 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
918
919 %if %{with ssl}
920 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
921 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
922 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
923 %endif
924
925 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
926
927 install %{SOURCE6} $CFG/10_httpd.conf
928 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
929 install %{SOURCE9} $CFG/25_mod_status.conf
930 install %{SOURCE10} $CFG/30_mod_proxy.conf
931 install %{SOURCE11} $CFG/35_mod_info.conf
932 install %{SOURCE12} $CFG/40_mod_ssl.conf
933 install %{SOURCE13} $CFG/45_mod_dav.conf
934 install %{SOURCE14} $CFG/59_mod_dir.conf
935 install %{SOURCE15} $CFG/13_mod_suexec.conf
936 install %{SOURCE16} $CFG/58_mod_deflate.conf
937 install %{SOURCE17} $CFG/57_mod_autoindex.conf
938
939 echo "LoadModule ldap_module    %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
940 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
941 echo "LoadModule auth_module    %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
942 echo "LoadModule auth_anon_module       %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
943 echo "LoadModule auth_dbm_module        %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
944 echo "LoadModule auth_digest_module     %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
945 echo "LoadModule cache_module   %{_libexecdir}/mod_cache.so
946 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
947 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
948 echo "LoadModule cgid_module    %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
949 echo "LoadModule charset_lite_module    %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
950 echo "LoadModule auth_ldap_module       %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
951 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
952 echo "LoadModule file_cache_module      %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
953 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
954 echo "LoadModule imap_module    %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
955 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
956 echo "LoadModule usertrack_module       %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
957 echo "LoadModule unique_id_module       %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
958
959 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
960 # let's remove trash (yes, *.html without lang suffix also contain trash)
961 find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
962         -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
963         | xargs rm -f
964
965 # htpasswd goes to %{_bindir}
966 mv $RPM_BUILD_ROOT%{_sbindir}/htpasswd $RPM_BUILD_ROOT%{_bindir}/
967 ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}/
968
969 %clean
970 rm -rf $RPM_BUILD_ROOT
971
972 %pre
973 if [ -n "`getgid http`" ]; then
974         if [ "`getgid http`" != "51" ]; then
975                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
976                 exit 1
977         fi
978 else
979         /usr/sbin/groupadd -g 51 -r -f http
980 fi
981 if [ -n "`id -u http 2>/dev/null`" ]; then
982         if [ "`id -u http`" != "51" ]; then
983                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
984                 exit 1
985         fi
986 else
987         /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
988 fi
989
990 %post
991 /sbin/ldconfig
992 /sbin/chkconfig --add httpd
993 umask 137
994 touch /var/log/httpd/{access,error,agent,referer}_log
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
1002 if [ "$1" = "0" ]; then
1003         if [ -f /var/lock/subsys/httpd ]; then
1004                 /etc/rc.d/init.d/httpd stop 1>&2
1005         fi
1006         /sbin/chkconfig --del httpd
1007 fi
1008
1009 %postun
1010 /sbin/ldconfig
1011 if [ "$1" = "0" ]; then
1012         %userremove http
1013         %groupremove http
1014 fi
1015
1016 %triggerpostun -- %{name} <= 2.0.50-6
1017 echo "WARNING!!!"
1018 echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
1019 echo "If you want to have the same functionality do:"
1020 echo "poldek --upgrade %{name}-mod_autoindex"
1021 echo
1022
1023 %post mod_actions
1024 if [ -f /var/lock/subsys/httpd ]; then
1025         /etc/rc.d/init.d/httpd restart 1>&2
1026 else
1027         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1028 fi
1029
1030 %preun mod_actions
1031 if [ "$1" = "0" ]; then
1032         if [ -f /var/lock/subsys/httpd ]; then
1033                 /etc/rc.d/init.d/httpd restart 1>&2
1034         fi
1035 fi
1036
1037 %post mod_auth
1038 if [ -f /var/lock/subsys/httpd ]; then
1039         /etc/rc.d/init.d/httpd restart 1>&2
1040 else
1041         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1042 fi
1043
1044 %preun mod_auth
1045 if [ "$1" = "0" ]; then
1046         if [ -f /var/lock/subsys/httpd ]; then
1047                 /etc/rc.d/init.d/httpd restart 1>&2
1048         fi
1049 fi
1050
1051 %post mod_auth_anon
1052 if [ -f /var/lock/subsys/httpd ]; then
1053         /etc/rc.d/init.d/httpd restart 1>&2
1054 else
1055         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1056 fi
1057
1058 %preun mod_auth_anon
1059 if [ "$1" = "0" ]; then
1060         if [ -f /var/lock/subsys/httpd ]; then
1061                 /etc/rc.d/init.d/httpd restart 1>&2
1062         fi
1063 fi
1064
1065 %post mod_auth_dbm
1066 if [ -f /var/lock/subsys/httpd ]; then
1067         /etc/rc.d/init.d/httpd restart 1>&2
1068 else
1069         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1070 fi
1071
1072 %preun mod_auth_dbm
1073 if [ "$1" = "0" ]; then
1074         if [ -f /var/lock/subsys/httpd ]; then
1075                 /etc/rc.d/init.d/httpd restart 1>&2
1076         fi
1077 fi
1078
1079 %post mod_autoindex
1080 if [ -f /var/lock/subsys/httpd ]; then
1081         /etc/rc.d/init.d/httpd restart 1>&2
1082 else
1083         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1084 fi
1085
1086 %preun mod_autoindex
1087 if [ "$1" = "0" ]; then
1088         if [ -f /var/lock/subsys/httpd ]; then
1089                 /etc/rc.d/init.d/httpd restart 1>&2
1090         fi
1091 fi
1092
1093 %post mod_cache
1094 if [ -f /var/lock/subsys/httpd ]; then
1095         /etc/rc.d/init.d/httpd restart 1>&2
1096 else
1097         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1098 fi
1099
1100 %preun mod_cache
1101 if [ "$1" = "0" ]; then
1102         if [ -f /var/lock/subsys/httpd ]; then
1103                 /etc/rc.d/init.d/httpd restart 1>&2
1104         fi
1105 fi
1106
1107 %post mod_cgid
1108 if [ -f /var/lock/subsys/httpd ]; then
1109         /etc/rc.d/init.d/httpd restart 1>&2
1110 else
1111         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1112 fi
1113
1114 %preun mod_cgid
1115 if [ "$1" = "0" ]; then
1116         if [ -f /var/lock/subsys/httpd ]; then
1117                 /etc/rc.d/init.d/httpd restart 1>&2
1118         fi
1119 fi
1120
1121 %post mod_charset_lite
1122 if [ -f /var/lock/subsys/httpd ]; then
1123         /etc/rc.d/init.d/httpd restart 1>&2
1124 else
1125         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1126 fi
1127
1128 %preun mod_charset_lite
1129 if [ "$1" = "0" ]; then
1130         if [ -f /var/lock/subsys/httpd ]; then
1131                 /etc/rc.d/init.d/httpd restart 1>&2
1132         fi
1133 fi
1134
1135 %post mod_dav
1136 if [ -f /var/lock/subsys/httpd ]; then
1137         /etc/rc.d/init.d/httpd restart 1>&2
1138 else
1139         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1140 fi
1141
1142 %preun mod_dav
1143 if [ "$1" = "0" ]; then
1144         if [ -f /var/lock/subsys/httpd ]; then
1145                 /etc/rc.d/init.d/httpd restart 1>&2
1146         fi
1147 fi
1148
1149 %post mod_auth_digest
1150 if [ -f /var/lock/subsys/httpd ]; then
1151         /etc/rc.d/init.d/httpd restart 1>&2
1152 else
1153         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1154 fi
1155
1156 %preun mod_auth_digest
1157 if [ "$1" = "0" ]; then
1158         if [ -f /var/lock/subsys/httpd ]; then
1159                 /etc/rc.d/init.d/httpd restart 1>&2
1160         fi
1161 fi
1162
1163 %post mod_deflate
1164 if [ -f /var/lock/subsys/httpd ]; then
1165         /etc/rc.d/init.d/httpd restart 1>&2
1166 else
1167         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1168 fi
1169
1170 %preun mod_deflate
1171 if [ "$1" = "0" ]; then
1172         if [ -f /var/lock/subsys/httpd ]; then
1173                 /etc/rc.d/init.d/httpd restart 1>&2
1174         fi
1175 fi
1176
1177 %post mod_dir
1178 if [ -f /var/lock/subsys/httpd ]; then
1179         /etc/rc.d/init.d/httpd restart 1>&2
1180 else
1181         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1182 fi
1183
1184 %preun mod_dir
1185 if [ "$1" = "0" ]; then
1186         if [ -f /var/lock/subsys/httpd ]; then
1187                 /etc/rc.d/init.d/httpd restart 1>&2
1188         fi
1189 fi
1190
1191 %post mod_expires
1192 if [ -f /var/lock/subsys/httpd ]; then
1193         /etc/rc.d/init.d/httpd restart 1>&2
1194 else
1195         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1196 fi
1197
1198 %preun mod_expires
1199 if [ "$1" = "0" ]; then
1200         if [ -f /var/lock/subsys/httpd ]; then
1201                 /etc/rc.d/init.d/httpd restart 1>&2
1202         fi
1203 fi
1204
1205 %post mod_file_cache
1206 if [ -f /var/lock/subsys/httpd ]; then
1207         /etc/rc.d/init.d/httpd restart 1>&2
1208 else
1209         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1210 fi
1211
1212 %preun mod_file_cache
1213 if [ "$1" = "0" ]; then
1214         if [ -f /var/lock/subsys/httpd ]; then
1215                 /etc/rc.d/init.d/httpd restart 1>&2
1216         fi
1217 fi
1218
1219 %post mod_headers
1220 if [ -f /var/lock/subsys/httpd ]; then
1221         /etc/rc.d/init.d/httpd restart 1>&2
1222 else
1223         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1224 fi
1225
1226 %preun mod_headers
1227 if [ "$1" = "0" ]; then
1228         if [ -f /var/lock/subsys/httpd ]; then
1229                 /etc/rc.d/init.d/httpd restart 1>&2
1230         fi
1231 fi
1232
1233 %post mod_imap
1234 if [ -f /var/lock/subsys/httpd ]; then
1235         /etc/rc.d/init.d/httpd restart 1>&2
1236 else
1237         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1238 fi
1239
1240 %preun mod_imap
1241 if [ "$1" = "0" ]; then
1242         if [ -f /var/lock/subsys/httpd ]; then
1243                 /etc/rc.d/init.d/httpd restart 1>&2
1244         fi
1245 fi
1246
1247 %post mod_info
1248 if [ -f /var/lock/subsys/httpd ]; then
1249         /etc/rc.d/init.d/httpd restart 1>&2
1250 else
1251         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1252 fi
1253
1254 %preun mod_info
1255 if [ "$1" = "0" ]; then
1256         if [ -f /var/lock/subsys/httpd ]; then
1257                 /etc/rc.d/init.d/httpd restart 1>&2
1258         fi
1259 fi
1260
1261 %post mod_proxy
1262 if [ -f /var/lock/subsys/httpd ]; then
1263         /etc/rc.d/init.d/httpd restart 1>&2
1264 else
1265         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1266 fi
1267
1268 %preun mod_proxy
1269 if [ "$1" = "0" ]; then
1270         if [ -f /var/lock/subsys/httpd ]; then
1271                 /etc/rc.d/init.d/httpd restart 1>&2
1272         fi
1273 fi
1274
1275 %post mod_rewrite
1276 if [ -f /var/lock/subsys/httpd ]; then
1277         /etc/rc.d/init.d/httpd restart 1>&2
1278 else
1279         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1280 fi
1281
1282 %preun mod_rewrite
1283 if [ "$1" = "0" ]; then
1284         if [ -f /var/lock/subsys/httpd ]; then
1285                 /etc/rc.d/init.d/httpd restart 1>&2
1286         fi
1287 fi
1288
1289 %post mod_ssl
1290 if [ -f /var/lock/subsys/httpd ]; then
1291         /etc/rc.d/init.d/httpd restart 1>&2
1292 else
1293         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1294 fi
1295
1296 %preun mod_ssl
1297 if [ "$1" = "0" ]; then
1298         if [ -f /var/lock/subsys/httpd ]; then
1299                 /etc/rc.d/init.d/httpd restart 1>&2
1300         fi
1301 fi
1302
1303 %post mod_status
1304 if [ -f /var/lock/subsys/httpd ]; then
1305         /etc/rc.d/init.d/httpd restart 1>&2
1306 else
1307         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1308 fi
1309
1310 %preun mod_status
1311 if [ "$1" = "0" ]; then
1312         if [ -f /var/lock/subsys/httpd ]; then
1313                 /etc/rc.d/init.d/httpd restart 1>&2
1314         fi
1315 fi
1316
1317 %post mod_usertrack
1318 if [ -f /var/lock/subsys/httpd ]; then
1319         /etc/rc.d/init.d/httpd restart 1>&2
1320 else
1321         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1322 fi
1323
1324 %preun mod_usertrack
1325 if [ "$1" = "0" ]; then
1326         if [ -f /var/lock/subsys/httpd ]; then
1327                 /etc/rc.d/init.d/httpd restart 1>&2
1328         fi
1329 fi
1330
1331 %post mod_unique_id
1332 if [ -f /var/lock/subsys/httpd ]; then
1333         /etc/rc.d/init.d/httpd restart 1>&2
1334 else
1335         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1336 fi
1337
1338 %preun mod_unique_id
1339 if [ "$1" = "0" ]; then
1340         if [ -f /var/lock/subsys/httpd ]; then
1341                 /etc/rc.d/init.d/httpd restart 1>&2
1342         fi
1343 fi
1344
1345 %post mod_vhost_alias
1346 if [ -f /var/lock/subsys/httpd ]; then
1347         /etc/rc.d/init.d/httpd restart 1>&2
1348 else
1349         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1350 fi
1351
1352 %preun mod_vhost_alias
1353 if [ "$1" = "0" ]; then
1354         if [ -f /var/lock/subsys/httpd ]; then
1355                 /etc/rc.d/init.d/httpd restart 1>&2
1356         fi
1357 fi
1358
1359 %files
1360 %defattr(644,root,root,755)
1361 %doc ABOUT_APACHE CHANGES README
1362 %doc docs/conf/mime.types
1363
1364 %attr(754,root,root) /etc/rc.d/init.d/httpd
1365
1366 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1367 %attr(750,root,root) %dir %{_sysconfdir}/modules
1368 %attr(750,root,root) %dir %{_sysconfdir}/run
1369 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1370 %attr(640,root,root) %{_sysconfdir}/magic
1371 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1372 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
1373 %attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
1374
1375 %attr(755,root,root) %{_libexecdir}/mod_access.so
1376 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1377 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1378 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1379 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1380 %attr(755,root,root) %{_libexecdir}/mod_env.so
1381 %attr(755,root,root) %{_libexecdir}/mod_include.so
1382 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1383 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1384 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1385 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1386 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1387 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1388 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1389 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1390
1391 # look at TODO on top
1392 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1393 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1394 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1395 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1396 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1397 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1398 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1399 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1400
1401 %attr(755,root,root) %{_sbindir}/htdigest
1402
1403 %attr(755,root,root) %{_sbindir}/ab
1404 %attr(755,root,root) %{_sbindir}/apachectl
1405 %attr(755,root,root) %{_sbindir}/checkgid
1406 %attr(755,root,root) %{_sbindir}/httpd
1407 %attr(755,root,root) %{_sbindir}/httpd.*
1408 %attr(755,root,root) %{_sbindir}/logresolve
1409 %attr(755,root,root) %{_sbindir}/rotatelogs
1410
1411 %dir %attr(770,root,http) /var/run/apache
1412 %dir %attr(770,root,http) /var/cache/apache
1413
1414 %{_mandir}/man1/htdigest.1*
1415 %{_mandir}/man8/ab.8*
1416 %{_mandir}/man8/apachectl.8*
1417 %{_mandir}/man8/httpd.8*
1418 %{_mandir}/man8/logresolve.8*
1419 %{_mandir}/man8/rotatelogs.8*
1420
1421 %attr(750,root,logs) %dir /var/log/httpd
1422 %attr(750,root,logs) %dir /var/log/archiv/httpd
1423 %attr(640,root,logs) %ghost /var/log/httpd/*
1424
1425 %dir %{_datadir}
1426
1427 %attr(755,root,root) %dir %{_datadir}/html
1428 %{_datadir}/icons
1429 %attr(755,root,root) %{_datadir}/cgi-bin
1430
1431 %{_datadir}/error
1432
1433 %files doc
1434 %defattr(644,root,root,755)
1435 %dir %{_datadir}/manual
1436 %{_datadir}/manual/LICENSE
1437 %{_datadir}/manual/*.html.en
1438 %lang(de) %{_datadir}/manual/*.html.de
1439 %lang(es) %{_datadir}/manual/*.html.es
1440 %lang(fr) %{_datadir}/manual/*.html.fr
1441 %lang(ja) %{_datadir}/manual/*.html.ja*
1442 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1443 %lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
1444 %dir %{_datadir}/manual/developer
1445 %{_datadir}/manual/developer/*.html.en
1446 %lang(ja) %{_datadir}/manual/developer/*.html.ja*
1447 %dir %{_datadir}/manual/faq
1448 %{_datadir}/manual/faq/*.html.en
1449 %lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
1450 %dir %{_datadir}/manual/howto
1451 %{_datadir}/manual/howto/*.html.en
1452 %lang(ja) %{_datadir}/manual/howto/*.html.ja*
1453 %lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
1454 %dir %{_datadir}/manual/images
1455 %{_datadir}/manual/images/[!m]*
1456 %dir %{_datadir}/manual/misc
1457 %{_datadir}/manual/misc/*.html.en
1458 %lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
1459 %dir %{_datadir}/manual/mod
1460 %{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
1461 %lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
1462 %lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
1463 %lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
1464 %lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
1465 %lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
1466 %{_datadir}/manual/mod/module-dict.html.en
1467 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
1468 %lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
1469 %{_datadir}/manual/mod/mpm_common.html.en
1470 %lang(de) %{_datadir}/manual/mod/mpm_common.html.de
1471 %lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
1472 %{_datadir}/manual/mod/mod_access.html.en
1473 %lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
1474 %{_datadir}/manual/mod/mod_alias.html.en
1475 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
1476 %{_datadir}/manual/mod/mod_asis.html.en
1477 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
1478 %lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
1479 %{_datadir}/manual/mod/mod_autoindex.html.en
1480 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
1481 %lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
1482 %{_datadir}/manual/mod/mod_cern_meta.html.en
1483 %lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
1484 %{_datadir}/manual/mod/mod_cgi.html.en
1485 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
1486 %lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
1487 %{_datadir}/manual/mod/mod_echo.html.en
1488 %lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
1489 %lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
1490 %{_datadir}/manual/mod/mod_env.html.en
1491 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
1492 %lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
1493 %{_datadir}/manual/mod/mod_ext_filter.html.en
1494 %lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
1495 %{_datadir}/manual/mod/mod_include.html.en
1496 %lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
1497 %{_datadir}/manual/mod/mod_log_config.html.en
1498 %{_datadir}/manual/mod/mod_log_forensic.html.en
1499 %{_datadir}/manual/mod/mod_mime*.html.en
1500 %lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
1501 %{_datadir}/manual/mod/mod_negotiation.html.en
1502 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
1503 %{_datadir}/manual/mod/mod_setenvif.html.en
1504 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
1505 %lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
1506 %{_datadir}/manual/mod/mod_speling.html.en
1507 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
1508 %lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
1509 %{_datadir}/manual/mod/mod_userdir.html.en
1510 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
1511 %lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
1512 %dir %{_datadir}/manual/programs
1513 %{_datadir}/manual/programs/*.html.en
1514 %lang(es) %{_datadir}/manual/programs/*.html.es
1515 %lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
1516 %lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
1517 %dir %{_datadir}/manual/style
1518 %{_datadir}/manual/style/css
1519
1520 %{_datadir}/manual/mod/mod_suexec.html.en
1521 %lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
1522 %lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
1523 %{_datadir}/manual/mod/mod_actions.html.en
1524 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
1525 %lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
1526 %{_datadir}/manual/mod/mod_auth.html.en
1527 %lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
1528 %{_datadir}/manual/mod/mod_auth_anon.html.en
1529 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1530 %{_datadir}/manual/mod/mod_ldap.html.en
1531 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1532 %{_datadir}/manual/mod/mod_auth_digest.html.en
1533 %{_datadir}/manual/mod/mod_cache.html.en
1534 %lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
1535 %{_datadir}/manual/mod/mod_disk_cache.html.en
1536 %lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
1537 %{_datadir}/manual/mod/mod_mem_cache.html.en
1538 %{_datadir}/manual/mod/mod_cgid.html.en
1539 %lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
1540 %{_datadir}/manual/mod/mod_charset_lite.html.en
1541 %lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
1542 %{_datadir}/manual/mod/mod_dav*.html.en
1543 %lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
1544 %lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
1545 %{_datadir}/manual/mod/mod_deflate.html.en
1546 %lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
1547 %lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
1548 %{_datadir}/manual/mod/mod_dir.html.en
1549 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
1550 %lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
1551 %{_datadir}/manual/mod/mod_expires.html.en
1552 %lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
1553 %{_datadir}/manual/mod/mod_file_cache.html.en
1554 %lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
1555 %{_datadir}/manual/mod/mod_headers.html.en
1556 %{_datadir}/manual/mod/mod_imap.html.en
1557 %{_datadir}/manual/mod/mod_info.html.en
1558 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
1559 %{_datadir}/manual/mod/mod_proxy*.html.en
1560 %{_datadir}/manual/mod/mod_rewrite.html.en
1561 %{_datadir}/manual/images/mod_rewrite*
1562 %dir %{_datadir}/manual/ssl
1563 %{_datadir}/manual/ssl/*.html.en
1564 %lang(ja) %{_datadir}/manual/ssl/*.html.ja*
1565 %{_datadir}/manual/mod/mod_ssl.html.en
1566 %{_datadir}/manual/mod/mod_status.html.en
1567 %lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
1568 %{_datadir}/manual/mod/mod_usertrack.html.en
1569 %{_datadir}/manual/mod/mod_unique_id.html.en
1570 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
1571 %lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
1572 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1573 %dir %{_datadir}/manual/vhosts
1574 %{_datadir}/manual/vhosts/*.html.en
1575 %lang(de) %{_datadir}/manual/vhosts/*.html.de
1576 %lang(es) %{_datadir}/manual/vhosts/*.html.es
1577 %lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
1578 %lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
1579 %lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
1580
1581 %files suexec
1582 %defattr(644,root,root,755)
1583 %attr(4755,root,root) %{_sbindir}/suexec
1584 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1585 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1586 %{_mandir}/man8/suexec.8*
1587
1588 %files index
1589 %defattr(644,root,root,755)
1590 %config(noreplace,missingok) %{_datadir}/html/index.html*
1591 %{_datadir}/html/*.gif
1592 %{_datadir}/html/*.png
1593
1594 %files apxs
1595 %defattr(644,root,root,755)
1596 %attr(755,root,root) %{_sbindir}/apxs
1597 %attr(755,root,root) %{_sbindir}/envvars*
1598 %attr(751,root,root) %dir %{_sysconfdir}
1599 %dir %{_libexecdir}
1600 %dir %{_libexecdir}/build
1601 %{_libexecdir}/build/config_vars.mk
1602 %{_mandir}/man8/apxs.8*
1603
1604 %files devel
1605 %defattr(644,root,root,755)
1606 %{_includedir}
1607 %{_libexecdir}/*.exp
1608 %attr(750,root,root) %dir %{_sysconfdir}/build
1609 %{_libexecdir}/build/[lprs]*.mk
1610 %attr(755,root,root) %{_libexecdir}/build/*.sh
1611 %attr(755,root,root) %{_libexecdir}/build/libtool
1612
1613 %files mod_actions
1614 %defattr(644,root,root,755)
1615 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1616 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1617
1618 %files mod_auth
1619 %defattr(644,root,root,755)
1620 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1621 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1622
1623 %files mod_auth_anon
1624 %defattr(644,root,root,755)
1625 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1626 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1627
1628 %if %{with ldap}
1629 %files mod_auth_ldap
1630 %defattr(644,root,root,755)
1631 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1632 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1633 %endif
1634
1635 %if %{with ldap}
1636 %files mod_ldap
1637 %defattr(644,root,root,755)
1638 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1639 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1640 %endif
1641
1642 %files mod_auth_dbm
1643 %defattr(644,root,root,755)
1644 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1645 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1646 %attr(755,root,root) %{_sbindir}/dbmmanage
1647 %attr(755,root,root) %{_sbindir}/htdbm
1648 %{_mandir}/man1/dbmmanage.1*
1649
1650 %files mod_auth_digest
1651 %defattr(644,root,root,755)
1652 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1653 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1654
1655 %files mod_autoindex
1656 %defattr(644,root,root,755)
1657 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1658 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1659
1660 %files mod_cache
1661 %defattr(644,root,root,755)
1662 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1663 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1664 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1665 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1666
1667 %files mod_cgid
1668 %defattr(644,root,root,755)
1669 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1670 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1671
1672 %files mod_charset_lite
1673 %defattr(644,root,root,755)
1674 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1675 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1676
1677 %files mod_dav
1678 %defattr(644,root,root,755)
1679 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1680 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1681
1682 %files mod_deflate
1683 %defattr(644,root,root,755)
1684 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1685 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1686
1687 %files mod_dir
1688 %defattr(644,root,root,755)
1689 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1690 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1691
1692 %files mod_expires
1693 %defattr(644,root,root,755)
1694 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1695 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1696
1697 %files mod_file_cache
1698 %defattr(644,root,root,755)
1699 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1700 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1701
1702 %files mod_headers
1703 %defattr(644,root,root,755)
1704 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1705 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1706
1707 %files mod_imap
1708 %defattr(644,root,root,755)
1709 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1710 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1711
1712 %files mod_info
1713 %defattr(644,root,root,755)
1714 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1715 %attr(755,root,root) %{_libexecdir}/mod_info.so
1716
1717 %files mod_proxy
1718 %defattr(644,root,root,755)
1719 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1720 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1721
1722 %files mod_rewrite
1723 %defattr(644,root,root,755)
1724 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1725 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1726
1727 %if %{with ssl}
1728 %files mod_ssl
1729 %defattr(644,root,root,755)
1730 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1731 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1732 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1733 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1734 %endif
1735
1736 %files mod_status
1737 %defattr(644,root,root,755)
1738 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1739 %attr(755,root,root) %{_libexecdir}/mod_status.so
1740
1741 %files mod_usertrack
1742 %defattr(644,root,root,755)
1743 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1744 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1745
1746 %files mod_unique_id
1747 %defattr(644,root,root,755)
1748 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1749 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1750
1751 %files mod_vhost_alias
1752 %defattr(644,root,root,755)
1753 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1754 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1755
1756 %files -n htpasswd-%{name}
1757 %defattr(644,root,root,755)
1758 %attr(755,root,root) %{_bindir}/htpasswd
1759 %{_sbindir}/htpasswd
1760 %{_mandir}/man1/htpasswd.1*
This page took 0.138113 seconds and 4 git commands to generate.