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