1 # _without_ssl - don't build with SSL support
5 # - mod_optional_fn_{export,import}
6 # - mod_optional_hook_{export,import}
9 # - config examples for mod_*
10 # - switch from worker to perchild when it will be working in apache
11 # - check if all modules are (de)registered in %%post/%%postun
12 # - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
13 # - add %%post/%%postun to suexec
14 # - --with-suexec-gidmin=500 or =100 ?
15 # - --with-suexec-uidmin=500 or =1000 ?
16 %include /usr/lib/rpm/macros.perl
17 Summary: The most widely used Web server on the Internet
18 Summary(de): Leading World Wide Web-Server
19 Summary(es): Servidor HTTPD para proveer servicios WWW
20 Summary(fr): Le serveur web le plus utilise sur Internet
21 Summary(pl): Serwer WWW (World Wide Web)
22 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
23 Summary(tr): Lider WWW tarayýcý
27 License: Apache Group License
28 Group: Networking/Daemons
29 URL: http://httpd.apache.org/
30 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
32 Source2: %{name}.logrotate
33 Source3: %{name}-icons.tar.gz
34 Source4: %{name}.sysconfig
35 Source6: %{name}-httpd.conf
36 Source8: %{name}-mod_vhost_alias.conf
37 Source9: %{name}-mod_status.conf
38 Source10: %{name}-mod_proxy.conf
39 Source11: %{name}-mod_info.conf
40 Source12: %{name}-mod_ssl.conf
41 Source13: %{name}-mod_dav.conf
42 Source14: %{name}-mod_dir.conf
43 Source20: %{name}-server.crt
44 Source21: %{name}-server.key
45 Patch0: %{name}-apxs.patch
46 Patch1: %{name}-configdir_skip_backups.patch
47 Patch2: %{name}-layout.patch
48 Patch3: %{name}-suexec.patch
49 Patch4: %{name}-db.patch
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6f}
52 %{!?_without_ssl:BuildRequires: openssl-tools}
53 BuildRequires: db-devel
54 BuildRequires: zlib-devel
55 BuildRequires: expat-devel
56 BuildRequires: perl-devel >= 5.004
57 BuildRequires: gdbm-devel
59 BuildRequires: rpm-perlprov >= 4.0.4
60 Provides: httpd = %{version}
61 Provides: webserver = %{version}
62 Prereq: /sbin/chkconfig
63 Prereq: /usr/sbin/useradd
64 Prereq: /usr/bin/getgid
70 Requires: /etc/mime.types
71 Requires: psmisc >= 20.1
73 Obsoletes: apache-extra
78 %define _sysconfdir /etc/httpd
79 %define _includedir %{_prefix}/include/apache
80 %define _datadir /home/services/httpd
81 %define _libexecdir %{_libdir}/apache
84 Apache is a powerful, full-featured, efficient and freely-available
85 Web server. Apache is also the most popular Web server on the
89 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
90 erhältlich und weit verbreitet ist.
93 El servidor web Apache es el mejor servidor gratuito disponible en el
94 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
95 que browsers web vean documentos y sometan datos remotamente. Puede
96 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
97 caché, y nos ofrece características como monitor de estado, conversión
98 dinámica de tipo, y otras más.
101 Apache est un serveur Web puissant, efficace, gratuit et complet.
102 Apache est aussi le serveur Web le plus populaire sur Internet.
105 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
106 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
108 %description -l pt_BR
109 O servidor web Apache é o melhor servidor gratuito disponível no mundo
110 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
111 que browsers web vejam documentos e submetam dados remotamente. Ele
112 pode executar várias funções diferentes, incluindo funções de proxy e
113 cache, e oferece características como monitor de status, conversão
114 dinâmica de tipo, e mais.
117 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
121 Summary: Apache suexec wrapper
122 Summary(pl): Suexec wrapper do serwera www Apache
123 Group: Development/Tools
124 Requires: %{name} = %{version}
127 The suEXEC feature provides Apache users the ability to run CGI and
128 SSI programs under user IDs different from the user ID of the calling
129 web-server. Normally, when a CGI or SSI program executes, it runs as
130 the same user who is running the web server.
132 %description suexec -l pl
133 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
134 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
135 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
138 Summary: Module development tools for the Apache web server
139 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
140 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
141 Summary(pl): Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
142 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
143 Group: Networking/Utilities
144 Requires: %{name} = %{version}
145 Requires: apr-devel = %{version}
148 The apache-devel package contains header files for Apache.
150 %description devel -l es
151 Este paquete contiene los archivos de inclusión para el Apache, bien
152 como el utilitario apxs para la construcción de objetos compartidos
153 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
154 o desarrollar módulos adicionales para Apache.
156 %description devel -l fr
157 Le package apache-devel contient le code source pour le serveur Web
158 Apache et le binaire APXS dont vous aurez besoin pour construire des
159 Objets Dynamiques Partages (DSOs) pour Apache.
161 %description devel -l pl
162 Pliki nag³ówkowe dla serwera WWW Apache.
164 %description devel -l pt_BR
165 Este pacote contem os arquivos de inclusão para o Apache, bem como o
166 utilitário apxs para a construção de objetos compartilhados dinâmicos
167 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
168 desenvolver módulos adicionais para o Apache.
171 Summary: Static Apache web server libraries
172 Summary(pl): Statyczne biblioteki serwera www Apache
173 Group: Development/Libraries
174 Requires: %{name}-devel = %{version}
177 The apache-static package contains static libraries for Apache.
179 %description static -l pl
180 Styatyczne biblioteki serwera Apache.
183 Summary: Apache module for run CGI whenever a file of a certain type is requested
184 Summary(pl): Modu³ dla apache do uruchamiania skryptów cgi
185 Group: Networking/Daemons
186 Requires: %{name} = %{version}
188 %description mod_actions
189 This package contains mod_actions module. This module lets you run CGI
190 scripts whenever a file of a certain type is requested. This makes it
191 much easier to execute scripts that process files.
193 %description mod_actions -l pl
194 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
195 ¿±danie pobrania pliku okre¶lonego typu.
198 Summary: Apache module with user authentication using textual files
199 Group: Networking/Daemons
200 Requires: %{name} = %{version}
202 %description mod_auth
203 This package contains mod_auth module. It provides for user
204 authentication using textual files.
206 %description mod_auth -l pl
207 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji przy
208 u¿yciu plików tekstowych.
210 %package mod_auth_anon
211 Summary: Apache module with "anonymous" user access authentication
212 Summary(pl): Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
213 Group: Networking/Daemons
214 Requires: %{name} = %{version}
216 %description mod_auth_anon
217 This package contains mod_auth_anon module. It allows "anonymous" user
218 access to authenticated areas. It does access control in a manner
219 similar to anonymous-ftp sites; i.e. have a 'magic' user id
220 'anonymous' and the email address as a password. These email addresses
221 can be logged. Combined with other (database) access control methods,
222 this allows for effective user tracking and customization according to
223 a user profile while still keeping the site open for 'unregistered'
224 users. One advantage of using Auth-based user tracking is that, unlike
225 magic-cookies and funny URL pre/postfixes, it is completely browser
226 independent and it allows users to share URLs.
228 %description mod_auth_anon -l pl
229 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
230 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
231 postaci adresu pocztowego u¿ytkownika).
233 %package mod_auth_dbm
234 Summary: Apache module with user authentication which uses DBM files
235 Summary(pl): Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików DBM
236 Group: Networking/Daemons
237 Obsoletes: %{name}-mod_auth_db
238 Requires: %{name} = %{version}
240 %description mod_auth_dbm
241 This module provides for HTTP Basic Authentication, where the
242 usernames and passwords are stored in DBM type database files. It is
243 an alternative to the plain text password files provided by mod_auth.
245 %description mod_auth_dbm -l pl
246 Ten modu³ dostarcza Pros± Autoryzacjê HTTP gdzie u¿ytkownicy oraz ich
247 has³a s± trzymane w plikach bazy typu DBM.
249 %package mod_auth_digest
250 Summary: Apache user authentication module using MD5 Digest Authentication
251 Summary(pl): Modu³ apache do autoryzacji MD5
252 Group: Networking/Daemons
253 Obsoletes: apache-mod_digest
254 Requires: %{name} = %{version}
256 %description mod_auth_digest
257 This package contains mod_digest module. It provides user
258 authentication using MD5 Digest Authentication.
260 %description mod_auth_digest -l pl
261 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
265 Summary: Content cache keyed to URIs
266 Summary(pl): Pamiêæ podrêczna wg klucza URI
267 Group: Networking/Daemons
268 Requires: %{name} = %{version}
270 %description mod_cache
271 mod_cache implements an RFC 2616 compliant HTTP content cache that can
272 be used to cache either local or proxied content. Two storage
273 management modules are included in the base Apache distribution:
274 mod_disk_cache implements a disk based storage manager (generally used
275 for proxy caching) and mod_mem_cache implements an in-memory based
276 storage manager (primarily useful for caching local content).
278 %description mod_cache -l pl
279 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
280 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
281 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
282 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
283 (u¿ywane do cacheowania proxy).
286 Summary: Execution of CGI scripts using an external CGI daemon
287 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
288 Group: Networking/Daemons
289 Requires: %{name} = %{version}
291 %description mod_cgid
292 Execution of CGI scripts using an external CGI daemon.
294 %description mod_cgid -l pl
295 Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
297 %package mod_charset_lite
298 Summary: Specify character set translation or recoding
299 Summary(pl): Translacja lub przekodowywanie znaków
300 Group: Networking/Daemons
301 Requires: %{name} = %{version}
303 %description mod_charset_lite
304 Specify character set translation or recoding.
306 %description mod_charset_lite -l pl
307 Translacja lub przekodowywanie znaków.
310 Summary: Apache module - Distributed Authoring and Versioning
311 Summary(pl): Modu³ apache - Rozdzielone Autorstwo i Wersjonowanie
312 Group: Networking/Daemons
313 Requires: %{name} = %{version}
316 This module provides class 1 and class 2 WebDAV ('Web-based
317 Distributed Authoring and Versioning') functionality for Apache. This
318 extension to the HTTP protocol allows creating, moving, copying, and
319 deleting resources and collections on a remote web server.
321 %description mod_dav -l pl
322 Modu³ dostarcza klasê 1 oraz klasê 2 WebDAV (Bazuj±cy na WWWW
323 Rozdzielone Autorstwo i Wersjonowanie). To rozszerzenie HTTP pozwala
324 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
325 zdalnym serwerze www.
328 Summary: Apache module: Compress content before it is delivered to the client
329 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
330 Group: Networking/Daemons
331 Requires: %{name} = %{version}
333 %description mod_deflate
334 Compress content before it is delivered to the client.
336 %description mod_deflate -l pl
337 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
340 Summary: Apache module for "trailing slash" redirects and serving directory index files
341 Summary(pl): Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
342 Group: Networking/Daemons
343 Requires: %{name} = %{version}
346 This package contains mod_dir which provides "trailing slash"
347 redirects and serving directory index files.
349 %description mod_dir -l pl
350 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
353 Summary: Apache module allows for the customization of HTTP response headers
354 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
355 Group: Networking/Daemons
356 Requires: %{name} = %{version}
358 %description mod_headers
359 This package contains mod_headers module. The module allows for the
360 customization of HTTP response headers. Headers can be merged,
363 %description mod_headers -l pl
364 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
365 wysy³anych do przegl±darki.
368 Summary: Apache module with imap-file handler
369 Summary(pl): Modu³ z obs³ug± imap-file
370 Group: Networking/Daemons
371 Requires: %{name} = %{version}
373 %description mod_imap
374 This package contains mod_imap module. It provides for .map files,
375 replacing the functionality of the imagemap CGI program. Any directory
376 or document type configured to use the handler imap-file.
378 %description mod_imap -l pl
379 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
382 Summary: Apache module with comprehensive overview of the server configuration
383 Summary(pl): Modu³ dostarczaj±cy informacji na temat serwera.
384 Group: Networking/Daemons
385 Requires: %{name} = %{version}
387 %description mod_info
388 This package contains mod_info module. It provides a comprehensive
389 overview of the server configuration including all installed modules
390 and directives in the configuration files.
392 %description mod_info -l pl
393 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
397 Summary: Apache module with Web proxy
398 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
399 Group: Networking/Daemons
400 Requires: %{name} = %{version}
402 %description mod_proxy
404 This package contains module with implementation a proxy/cache for
405 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
406 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
407 connect to other proxy modules for these and other protocols.
409 %description mod_proxy -l pl
410 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
411 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
415 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
416 Summary(pl): Modu³ do ,,przepisywania'' adresów URL w locie
417 Group: Networking/Daemons
418 Requires: %{name} = %{version}
420 %description mod_rewrite
421 This package contains It provides a rule-based rewriting engine to
422 rewrite requested URLs on the fly.
424 %description mod_rewrite -l pl
425 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
428 Summary: Apache module: Strong cryptography using the Secure Sockets Layer (SSL)
429 Summary(pl): Modu³ apache: Silna kryptografia z u¿yciem SSL
430 Group: Networking/Daemons
432 Requires: %{name} = %{version}
435 Strong cryptography using the Secure Sockets Layer (SSL).
437 %description mod_ssl -l pl
438 Silna kryptografia z u¿yciem SSL.
441 Summary: Server status report module for apache
442 Summary(pl): Modu³ dostarczaj±cy informacje statystyczne o serwerze.
443 Group: Networking/Daemons
444 Requires: %{name} = %{version}
446 %description mod_status
447 The Status module allows a server administrator to find out how well
448 their server is performing. A HTML page is presented that gives the
449 current server statistics in an easily readable form. If required this
450 page can be made to automatically refresh (given a compatible
453 %description mod_status -l pl
454 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
455 pracy serwera apache (w postaci strony HTML).
457 %package mod_usertrack
458 Summary: Apache module for user tracking using cookies
459 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
460 Group: Networking/Daemons
461 Requires: %{name} = %{version}
463 %description mod_usertrack
464 This package contains the user tracking module which did its own
465 logging using CookieLog directory. This module allow multiple log
468 %description mod_usertrack -l pl
469 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
471 %package mod_vhost_alias
472 Summary: Apache module for dynamically configured mass virtual hosting
473 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych.
474 Group: Networking/Daemons
475 Requires: %{name} = %{version}
477 %description mod_vhost_alias
478 This package contains the mod_vhost_alias. It provides support for
479 dynamically configured mass virtual hosting.
481 %description mod_vhost_alias -l pl
482 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
485 %package mod_unique_id
486 Summary: Apache module which provides a magic token for each request
487 Summary(pl): Modu³ nadaj±cy ka¿demu ¿±daniu unikalny token
488 Group: Networking/Daemons
489 Requires: %{name} = %{version}
491 %description mod_unique_id
492 This package contains the mod_unique_id. This module provides a magic
493 token for each request which is guaranteed to be unique across "all"
494 requests under very specific conditions. The unique identifier is even
495 unique across multiple machines in a properly configured cluster of
496 machines. The environment variable UNIQUE_ID is set to the identifier
497 for each request. Unique identifiers are useful for various reasons
498 which are beyond the scope of this document.
500 %description mod_unique_id -l pl
501 Modu³ nadaje przy ka¿dym ¿±daniu token unikalny w ramach wszystkich
502 ¿±dañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
503 maszyn. Modu³ ustawia przy ka¿dym ¿±daniu zmienn± ¶rodowiskow±
507 Summary: Apache module which generates Expires HTTP headers
508 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
509 Group: Networking/Daemons
510 Requires: %{name} = %{version}
512 %description mod_expires
513 This module controls the setting of the Expires HTTP header in server
514 responses. The expiration date can set to be relative to either the
515 time the source file was last modified, or to the time of the client
518 %description mod_expires -l pl
519 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
520 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
521 ¼ród³owych lub odwo³ania klienta.
523 %package mod_file_cache
524 Summary: Apache module: Caches a static list of files in memory
525 Summary(pl): Modu³ cacheuj±cy statyczn± listê plików w pamiêci
526 Group: Networking/Daemons
527 Obsoletes: %{name}-mmap_static
528 Requires: %{name} = %{version}
530 %description mod_file_cache
531 Caches a static list of files in memory.
533 %description mod_file_cache -l pl
534 Modu³ cacheuj±cy statyczn± listê plików w pamiêci.
537 Summary: The Apache Portable Runtime library
538 Summary(pl): Przeno¶na biblioteka Apache
542 The Apache Portable Run-time libraries have been designed to provide a
543 common interface to low level routines across any platform.
545 %description -n apr -l pl
546 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu dostarczania
547 popularnego i jednolitego interfejsu do niskopoziomowych funkcji na
550 %package -n apr-devel
551 Summary: The includes and linker libraries for development with APR
552 Summary(pl): Pliki nag³ówkowe, biblioteki dla linkera APR
553 Group: Development/Libraries
554 Requires: apr = %{version}
556 %description -n apr-devel
557 The includes and linker libraries for development with APR.
559 %description -n apr-devel -l pl
560 Pliki nag³ówkowe, biblioteki dla linkera APR.
562 %package -n apr-static
563 Summary: Static APR libraries.
564 Summary(pl): Statyczne biblioteki APR.
565 Group: Development/Libraries
566 Requires: apr-devel = %{version}
568 %description -n apr-static
569 Static APR libraries.
571 %description -n apr-static -l pl
572 Statyczne biblioteki APR.
575 %setup -q -n httpd-%{version}
584 --enable-layout=PLD \
585 --enable-modules=all \
586 --enable-mods-shared=all \
589 --enable-auth-digest \
590 --enable-file-cache \
593 --enable-charset-lite \
595 --enable-disk-cache \
596 --enable-ext-filter \
597 --enable-case-filter \
598 --enable-case-filter-in \
600 --with-z=%{_prefix} \
601 --enable-mime-magic \
608 --enable-proxy-connect \
610 --enable-proxy-http \
611 %{!?_without_ssl:--enable-ssl} \
612 --enable-optional-hook-export \
613 --enable-optional-hook-import \
614 --enable-optional-fn-import \
615 --enable-optional-fn-export \
622 --enable-vhost-alias \
627 --with-suexec-bin=%{_sbindir}/suexec \
628 --with-suexec-caller=http \
629 --with-suexec-docroot=%{_datadir} \
630 --with-suexec-logfile=/var/log/httpd/suexec_log \
631 --with-suexec-uidmin=500 \
632 --with-suexec-gidmin=500 \
633 --with-suexec-umask=077
638 rm -rf $RPM_BUILD_ROOT
639 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
640 install -d $RPM_BUILD_ROOT%{_var}/log/{httpd,archiv/httpd}
641 install -d $RPM_BUILD_ROOT%{_var}/{run,cache}/apache
643 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
644 installbuilddir=%{_sysconfdir}/build \
645 prefix=%{_sysconfdir}/httpd \
646 libexecdir=%{_libdir}/%{name} \
647 iconsdir=%{_datadir}/icons \
648 errordir=%{_datadir}/error \
649 htdocsdir=%{_datadir}/html \
650 manualdir=%{_datadir}/manual \
651 cgidir=%{_datadir}/cgi-bin \
652 runtimedir=%{_var}/run \
653 logdir=%{_var}/log/httpd \
654 proxycachedir=%{_var}/cache/httpd
656 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
657 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
659 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
660 $RPM_BUILD_ROOT%{_libexecdir}/build
662 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
663 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
665 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
666 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
667 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
669 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
671 %if %{?_without_ssl:0}%{!?_without_ssl:1}
672 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
673 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
674 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
677 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
679 install %{SOURCE6} $CFG/10_httpd.conf
680 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
681 install %{SOURCE9} $CFG/25_mod_status.conf
682 install %{SOURCE10} $CFG/30_mod_proxy.conf
683 install %{SOURCE11} $CFG/35_mod_info.conf
684 install %{SOURCE12} $CFG/40_mod_ssl.conf
685 install %{SOURCE13} $CFG/45_mod_dav.conf
686 install %{SOURCE14} $CFG/59_mod_dir.conf
688 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
689 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
690 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
691 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
692 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
693 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
694 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
695 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
696 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
697 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
698 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
699 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
700 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
701 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
702 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
703 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
704 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
705 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
707 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
710 rm -rf $RPM_BUILD_ROOT
713 if [ -n "`getgid http`" ]; then
714 if [ "`getgid http`" != "51" ]; then
715 echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
719 /usr/sbin/groupadd -g 51 -r -f http
721 if [ -n "`id -u http 2>/dev/null`" ]; then
722 if [ "`id -u http`" != "51" ]; then
723 echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
727 /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
732 /sbin/chkconfig --add httpd
734 touch /var/log/httpd/{access,error,agent,referer}_log
735 if [ -f /var/lock/subsys/httpd ]; then
736 /etc/rc.d/init.d/httpd restart 1>&2
738 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
742 if [ "$1" = "0" ]; then
743 if [ -f /var/lock/subsys/httpd ]; then
744 /etc/rc.d/init.d/httpd stop 1>&2
746 /sbin/chkconfig --del httpd
751 if [ "$1" = "0" ]; then
752 /usr/sbin/userdel http
753 /usr/sbin/groupdel http
757 if [ -f /var/lock/subsys/httpd ]; then
758 /etc/rc.d/init.d/httpd restart 1>&2
760 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
764 if [ "$1" = "0" ]; then
765 if [ -f /var/lock/subsys/httpd ]; then
766 /etc/rc.d/init.d/httpd restart 1>&2
771 if [ -f /var/lock/subsys/httpd ]; then
772 /etc/rc.d/init.d/httpd restart 1>&2
774 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
778 if [ "$1" = "0" ]; then
779 if [ -f /var/lock/subsys/httpd ]; then
780 /etc/rc.d/init.d/httpd restart 1>&2
785 if [ -f /var/lock/subsys/httpd ]; then
786 /etc/rc.d/init.d/httpd restart 1>&2
788 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
792 if [ "$1" = "0" ]; then
793 if [ -f /var/lock/subsys/httpd ]; then
794 /etc/rc.d/init.d/httpd restart 1>&2
799 if [ -f /var/lock/subsys/httpd ]; then
800 /etc/rc.d/init.d/httpd restart 1>&2
802 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
806 if [ "$1" = "0" ]; then
807 if [ -f /var/lock/subsys/httpd ]; then
808 /etc/rc.d/init.d/httpd restart 1>&2
813 if [ -f /var/lock/subsys/httpd ]; then
814 /etc/rc.d/init.d/httpd restart 1>&2
816 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
820 if [ "$1" = "0" ]; then
821 if [ -f /var/lock/subsys/httpd ]; then
822 /etc/rc.d/init.d/httpd restart 1>&2
827 if [ -f /var/lock/subsys/httpd ]; then
828 /etc/rc.d/init.d/httpd restart 1>&2
830 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
834 if [ "$1" = "0" ]; then
835 if [ -f /var/lock/subsys/httpd ]; then
836 /etc/rc.d/init.d/httpd restart 1>&2
840 %post mod_charset_lite
841 if [ -f /var/lock/subsys/httpd ]; then
842 /etc/rc.d/init.d/httpd restart 1>&2
844 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
847 %preun mod_charset_lite
848 if [ "$1" = "0" ]; then
849 if [ -f /var/lock/subsys/httpd ]; then
850 /etc/rc.d/init.d/httpd restart 1>&2
855 if [ -f /var/lock/subsys/httpd ]; then
856 /etc/rc.d/init.d/httpd restart 1>&2
858 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
862 if [ "$1" = "0" ]; then
863 if [ -f /var/lock/subsys/httpd ]; then
864 /etc/rc.d/init.d/httpd restart 1>&2
868 %post mod_auth_digest
869 if [ -f /var/lock/subsys/httpd ]; then
870 /etc/rc.d/init.d/httpd restart 1>&2
872 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
875 %preun mod_auth_digest
876 if [ "$1" = "0" ]; then
877 if [ -f /var/lock/subsys/httpd ]; then
878 /etc/rc.d/init.d/httpd restart 1>&2
883 if [ -f /var/lock/subsys/httpd ]; then
884 /etc/rc.d/init.d/httpd restart 1>&2
886 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
890 if [ "$1" = "0" ]; then
891 if [ -f /var/lock/subsys/httpd ]; then
892 /etc/rc.d/init.d/httpd restart 1>&2
897 if [ -f /var/lock/subsys/httpd ]; then
898 /etc/rc.d/init.d/httpd restart 1>&2
900 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
904 if [ "$1" = "0" ]; then
905 if [ -f /var/lock/subsys/httpd ]; then
906 /etc/rc.d/init.d/httpd restart 1>&2
911 if [ -f /var/lock/subsys/httpd ]; then
912 /etc/rc.d/init.d/httpd restart 1>&2
914 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
918 if [ "$1" = "0" ]; then
919 if [ -f /var/lock/subsys/httpd ]; then
920 /etc/rc.d/init.d/httpd restart 1>&2
925 if [ -f /var/lock/subsys/httpd ]; then
926 /etc/rc.d/init.d/httpd restart 1>&2
928 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
931 %preun mod_file_cache
932 if [ "$1" = "0" ]; then
933 if [ -f /var/lock/subsys/httpd ]; then
934 /etc/rc.d/init.d/httpd restart 1>&2
939 if [ -f /var/lock/subsys/httpd ]; then
940 /etc/rc.d/init.d/httpd restart 1>&2
942 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
946 if [ "$1" = "0" ]; then
947 if [ -f /var/lock/subsys/httpd ]; then
948 /etc/rc.d/init.d/httpd restart 1>&2
953 if [ -f /var/lock/subsys/httpd ]; then
954 /etc/rc.d/init.d/httpd restart 1>&2
956 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
960 if [ "$1" = "0" ]; then
961 if [ -f /var/lock/subsys/httpd ]; then
962 /etc/rc.d/init.d/httpd restart 1>&2
967 if [ -f /var/lock/subsys/httpd ]; then
968 /etc/rc.d/init.d/httpd restart 1>&2
970 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
974 if [ "$1" = "0" ]; then
975 if [ -f /var/lock/subsys/httpd ]; then
976 /etc/rc.d/init.d/httpd restart 1>&2
981 if [ -f /var/lock/subsys/httpd ]; then
982 /etc/rc.d/init.d/httpd restart 1>&2
984 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
988 if [ "$1" = "0" ]; then
989 if [ -f /var/lock/subsys/httpd ]; then
990 /etc/rc.d/init.d/httpd restart 1>&2
995 if [ -f /var/lock/subsys/httpd ]; then
996 /etc/rc.d/init.d/httpd restart 1>&2
998 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1002 if [ "$1" = "0" ]; then
1003 if [ -f /var/lock/subsys/httpd ]; then
1004 /etc/rc.d/init.d/httpd restart 1>&2
1009 if [ -f /var/lock/subsys/httpd ]; then
1010 /etc/rc.d/init.d/httpd restart 1>&2
1012 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1016 if [ "$1" = "0" ]; then
1017 if [ -f /var/lock/subsys/httpd ]; then
1018 /etc/rc.d/init.d/httpd restart 1>&2
1023 if [ -f /var/lock/subsys/httpd ]; then
1024 /etc/rc.d/init.d/httpd restart 1>&2
1026 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1030 if [ "$1" = "0" ]; then
1031 if [ -f /var/lock/subsys/httpd ]; then
1032 /etc/rc.d/init.d/httpd restart 1>&2
1037 if [ -f /var/lock/subsys/httpd ]; then
1038 /etc/rc.d/init.d/httpd restart 1>&2
1040 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1043 %preun mod_usertrack
1044 if [ "$1" = "0" ]; then
1045 if [ -f /var/lock/subsys/httpd ]; then
1046 /etc/rc.d/init.d/httpd restart 1>&2
1051 if [ -f /var/lock/subsys/httpd ]; then
1052 /etc/rc.d/init.d/httpd restart 1>&2
1054 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1057 %preun mod_unique_id
1058 if [ "$1" = "0" ]; then
1059 if [ -f /var/lock/subsys/httpd ]; then
1060 /etc/rc.d/init.d/httpd restart 1>&2
1064 %post mod_vhost_alias
1065 if [ -f /var/lock/subsys/httpd ]; then
1066 /etc/rc.d/init.d/httpd restart 1>&2
1068 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1071 %preun mod_vhost_alias
1072 if [ "$1" = "0" ]; then
1073 if [ -f /var/lock/subsys/httpd ]; then
1074 /etc/rc.d/init.d/httpd restart 1>&2
1078 %post -n apr -p /sbin/ldconfig
1079 %postun -n apr -p /sbin/ldconfig
1082 %defattr(644,root,root,755)
1083 %doc ABOUT_APACHE CHANGES README ROADMAP
1084 %doc docs/conf/mime.types
1086 %attr(754,root,root) /etc/rc.d/init.d/httpd
1088 %attr(750,root,root) %dir %{_sysconfdir}
1089 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1090 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1091 %attr(640,root,root) %{_sysconfdir}/magic
1092 %attr(755,root,root) %dir %{_libexecdir}/build
1093 %attr(755,root,root) %{_libexecdir}/build/*.mk
1094 %attr(755,root,root) %{_libexecdir}/build/*.sh
1095 %attr(755,root,root) %{_libexecdir}/build/libtool
1097 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1098 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1101 %attr(755,root,root) %{_libexecdir}/mod_access.so
1102 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1103 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1104 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1105 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1106 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1107 %attr(755,root,root) %{_libexecdir}/mod_env.so
1108 %attr(755,root,root) %{_libexecdir}/mod_include.so
1109 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1110 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1111 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1112 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1113 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1114 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1115 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1117 # look at TODO on top
1118 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1119 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1120 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1121 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1122 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1123 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1124 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1125 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1127 %attr(755,root,root) %{_sbindir}/htdigest
1129 %attr(755,root,root) %{_sbindir}/ab
1130 %attr(755,root,root) %{_sbindir}/apachectl
1131 %attr(755,root,root) %{_sbindir}/apxs
1132 %attr(755,root,root) %{_sbindir}/checkgid
1133 %attr(755,root,root) %{_sbindir}/httpd
1134 %attr(755,root,root) %{_sbindir}/logresolve
1135 %attr(755,root,root) %{_sbindir}/rotatelogs
1136 %attr(755,root,root) %{_sbindir}/envvars*
1138 %dir %attr(770,root,http) /var/run/apache
1140 %{_mandir}/man1/htdigest.1*
1143 %attr(750,root,root) %dir /var/log/httpd
1144 %attr(750,root,root) %dir /var/log/archiv/httpd
1145 %attr(640,root,root) %ghost /var/log/httpd/*
1148 %dir %{_datadir}/manual
1149 %{_datadir}/manual/LICENSE
1150 %{_datadir}/manual/*.html
1151 %{_datadir}/manual/*.xml
1152 %{_datadir}/manual/*.html.en
1153 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1154 %lang(ja) %{_datadir}/manual/*.xml.ja
1155 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1156 %lang(de) %{_datadir}/manual/*.html.de
1157 %lang(fr) %{_datadir}/manual/*.html.fr
1158 %{_datadir}/manual/developer
1159 %{_datadir}/manual/faq
1160 %dir %{_datadir}/manual/howto
1161 %doc %{_datadir}/manual/howto/*.en
1162 %{_datadir}/manual/howto/*.html
1163 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1164 %dir %{_datadir}/manual/images
1165 %{_datadir}/manual/images/[achips]*
1166 %{_datadir}/manual/misc
1167 %dir %{_datadir}/manual/mod
1168 %{_datadir}/manual/mod/[fh]*.html
1169 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1170 %{_datadir}/manual/mod/[acd]*.xml
1171 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1172 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1173 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1174 %{_datadir}/manual/mod/index.xml
1175 %{_datadir}/manual/mod/mpm*.html.en
1176 %{_datadir}/manual/mod/mod_access.html.en
1177 %{_datadir}/manual/mod/mod_alias.html.en
1178 %{_datadir}/manual/mod/mod_asis.html.en
1179 %{_datadir}/manual/mod/mod_autoindex.html.en
1180 %{_datadir}/manual/mod/mod_cern_meta.html.en
1181 %{_datadir}/manual/mod/mod_cgi.html.en
1182 %{_datadir}/manual/mod/mod_env.html.en
1183 %{_datadir}/manual/mod/mod_include.html.en
1184 %{_datadir}/manual/mod/mod_log_config.html.en
1185 %{_datadir}/manual/mod/mod_mime*.html.en
1186 %{_datadir}/manual/mod/mod_negotiation.html.en
1187 %{_datadir}/manual/mod/mod_setenvif.html.en
1188 %{_datadir}/manual/mod/mod_speling.html.en
1189 %{_datadir}/manual/mod/mod_userdir.html.en
1190 %{_datadir}/manual/platform
1191 %{_datadir}/manual/programs
1192 %dir %{_datadir}/manual/search
1193 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1194 %{_datadir}/manual/style
1196 # Having all index.html.LANG files here is very bad idea.
1197 %attr(755,root,root) %dir %{_datadir}/html
1198 %config(noreplace,missingok) %{_datadir}/html/index.html
1199 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1200 %{_datadir}/html/*.gif
1201 %{_datadir}/html/*.png
1203 %attr(755,root,root) %{_datadir}/cgi-bin
1208 %defattr(644,root,root,755)
1209 %attr(4755,root,root) %{_sbindir}/suexec
1210 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1211 %{_datadir}/manual/mod/mod_suexec.html.en
1214 %defattr(644,root,root,755)
1216 %exclude %{_includedir}/apr*.h
1217 %{_libexecdir}/*.exp
1220 %defattr(644,root,root,755)
1224 %defattr(644,root,root,755)
1225 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1226 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1227 %{_datadir}/manual/mod/mod_actions.html.en
1230 %defattr(644,root,root,755)
1231 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1232 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1233 %attr(755,root,root) %{_sbindir}/htpasswd
1234 %{_datadir}/manual/mod/mod_auth.html.en
1235 %{_mandir}/man1/htpasswd.1*
1237 %files mod_auth_anon
1238 %defattr(644,root,root,755)
1239 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1240 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1241 %{_datadir}/manual/mod/mod_auth_anon.html.en
1244 %defattr(644,root,root,755)
1245 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1246 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1247 %attr(755,root,root) %{_sbindir}/dbmmanage
1248 %attr(755,root,root) %{_sbindir}/htdbm
1249 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1250 %{_mandir}/man1/dbmmanage.1*
1252 %files mod_auth_digest
1253 %defattr(644,root,root,755)
1254 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1255 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1256 %{_datadir}/manual/mod/mod_auth_digest.html.en
1259 %defattr(644,root,root,755)
1260 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1261 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1262 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1263 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1264 %{_datadir}/manual/mod/mod_cache.html.en
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1269 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1270 %{_datadir}/manual/mod/mod_cgid.html.en
1272 %files mod_charset_lite
1273 %defattr(644,root,root,755)
1274 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1275 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1276 %{_datadir}/manual/mod/mod_charset_lite.html.en
1279 %defattr(644,root,root,755)
1280 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1281 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1282 %{_datadir}/manual/mod/mod_dav*.html.en
1285 %defattr(644,root,root,755)
1286 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1287 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1288 %{_datadir}/manual/mod/mod_deflate.html.en
1291 %defattr(644,root,root,755)
1292 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1293 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1294 %{_datadir}/manual/mod/mod_dir.html.en
1297 %defattr(644,root,root,755)
1298 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1299 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1300 %{_datadir}/manual/mod/mod_expires.html.en
1302 %files mod_file_cache
1303 %defattr(644,root,root,755)
1304 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1305 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1306 %{_datadir}/manual/mod/mod_file_cache.html.en
1309 %defattr(644,root,root,755)
1310 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1311 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1312 %{_datadir}/manual/mod/mod_headers.html.en
1315 %defattr(644,root,root,755)
1316 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1317 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1318 %{_datadir}/manual/mod/mod_imap.html.en
1321 %defattr(644,root,root,755)
1322 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1323 %attr(755,root,root) %{_libexecdir}/mod_info.so
1324 %{_datadir}/manual/mod/mod_info.html.en
1327 %defattr(644,root,root,755)
1328 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1329 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1330 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1331 %attr(770,root,http) /var/cache/apache
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1336 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1337 %{_datadir}/manual/mod/mod_rewrite.html.en
1338 %{_datadir}/manual/images/mod_rewrite*
1340 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1342 %defattr(644,root,root,755)
1343 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1344 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1345 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1346 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1347 %{_datadir}/manual/ssl
1348 %{_datadir}/manual/mod/mod_ssl.html.en
1352 %defattr(644,root,root,755)
1353 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1354 %attr(755,root,root) %{_libexecdir}/mod_status.so
1355 %{_datadir}/manual/mod/mod_status.html.en
1357 %files mod_usertrack
1358 %defattr(644,root,root,755)
1359 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1360 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1361 %{_datadir}/manual/mod/mod_usertrack.html.en
1363 %files mod_unique_id
1364 %defattr(644,root,root,755)
1365 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1366 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1367 %{_datadir}/manual/mod/mod_unique_id.html.en
1369 %files mod_vhost_alias
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1372 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1373 %{_datadir}/manual/vhosts
1374 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_libdir}/libapr*.so.*
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_bindir}/apr-config
1383 %attr(755,root,root) %{_bindir}/apu-config
1384 %{_includedir}/apr*.h
1387 %attr(755,root,root) %{_libdir}/libapr*.so
1388 %{_libdir}/libapr*.la
1390 %files -n apr-static
1391 %defattr(644,root,root,755)