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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6f}
51 %{!?_without_ssl:BuildRequires: openssl-tools}
52 BuildRequires: db-devel
53 BuildRequires: zlib-devel
54 BuildRequires: expat-devel
55 BuildRequires: perl-devel >= 5.004
56 BuildRequires: gdbm-devel
58 BuildRequires: rpm-perlprov >= 4.0.4
59 Provides: httpd = %{version}
60 Provides: webserver = %{version}
61 Prereq: /sbin/chkconfig
62 Prereq: /usr/sbin/useradd
63 Prereq: /usr/bin/getgid
69 Requires: /etc/mime.types
70 Requires: psmisc >= 20.1
72 Obsoletes: apache-extra
77 %define _sysconfdir /etc/httpd
78 %define _includedir %{_prefix}/include/apache
79 %define _datadir /home/services/httpd
80 %define _libexecdir %{_libdir}/apache
83 Apache is a powerful, full-featured, efficient and freely-available
84 Web server. Apache is also the most popular Web server on the
88 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
89 erhältlich und weit verbreitet ist.
92 El servidor web Apache es el mejor servidor gratuito disponible en el
93 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
94 que browsers web vean documentos y sometan datos remotamente. Puede
95 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
96 caché, y nos ofrece características como monitor de estado, conversión
97 dinámica de tipo, y otras más.
100 Apache est un serveur Web puissant, efficace, gratuit et complet.
101 Apache est aussi le serveur Web le plus populaire sur Internet.
104 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
105 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
107 %description -l pt_BR
108 O servidor web Apache é o melhor servidor gratuito disponível no mundo
109 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
110 que browsers web vejam documentos e submetam dados remotamente. Ele
111 pode executar várias funções diferentes, incluindo funções de proxy e
112 cache, e oferece características como monitor de status, conversão
113 dinâmica de tipo, e mais.
116 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
120 Summary: Apache suexec wrapper
121 Summary(pl): Suexec wrapper do serwera WWW Apache
122 Group: Development/Tools
123 Requires: %{name} = %{version}
126 The suEXEC feature provides Apache users the ability to run CGI and
127 SSI programs under user IDs different from the user ID of the calling
128 web-server. Normally, when a CGI or SSI program executes, it runs as
129 the same user who is running the web server.
131 %description suexec -l pl
132 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
133 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
134 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
137 Summary: Module development tools for the Apache web server
138 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
139 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
140 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
141 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
142 Group: Networking/Utilities
143 Requires: %{name} = %{version}
144 Requires: apr-devel = %{version}
147 The apache-devel package contains header files for Apache.
149 %description devel -l es
150 Este paquete contiene los archivos de inclusión para el Apache, bien
151 como el utilitario apxs para la construcción de objetos compartidos
152 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
153 o desarrollar módulos adicionales para Apache.
155 %description devel -l fr
156 Le package apache-devel contient le code source pour le serveur Web
157 Apache et le binaire APXS dont vous aurez besoin pour construire des
158 Objets Dynamiques Partages (DSOs) pour Apache.
160 %description devel -l pl
161 Pliki nag³ówkowe dla serwera WWW Apache.
163 %description devel -l pt_BR
164 Este pacote contem os arquivos de inclusão para o Apache, bem como o
165 utilitário apxs para a construção de objetos compartilhados dinâmicos
166 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
167 desenvolver módulos adicionais para o Apache.
170 Summary: Static Apache web server libraries
171 Summary(pl): Statyczne biblioteki serwera WWW Apache
172 Group: Development/Libraries
173 Requires: %{name}-devel = %{version}
176 The apache-static package contains static libraries for Apache.
178 %description static -l pl
179 Styatyczne biblioteki serwera Apache.
182 Summary: Apache module for run CGI whenever a file of a certain type is requested
183 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
184 Group: Networking/Daemons
185 Requires: %{name} = %{version}
187 %description mod_actions
188 This package contains mod_actions module. This module lets you run CGI
189 scripts whenever a file of a certain type is requested. This makes it
190 much easier to execute scripts that process files.
192 %description mod_actions -l pl
193 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
194 ¿±danie pobrania pliku okre¶lonego typu.
197 Summary: Apache module with user authentication using textual files
198 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
199 Group: Networking/Daemons
200 Requires: %{name} = %{version}
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 sprawdzania to¿samo¶ci
208 u¿ytkowników na podstawie plików tekstowych.
210 %package mod_auth_anon
211 Summary: Apache module with "anonymous" user access authentication
212 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
213 Group: Networking/Daemons
214 Requires: %{name} = %{version}
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 autoryzacjê u¿ytkownika "anonimowego" podobnie do
230 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
231 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'a z mechanizmem identyfikacji korzystaj±cym z 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³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
247 ich 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'a 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± demona 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'a - Rozproszone 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³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
323 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
324 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
325 zdalnym serwerze WWW.
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 udostêpnianie informacji o zawarto¶ci 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 udostêpnianie informacji o zawarto¶ci
354 Summary: Apache module allows for the customization of HTTP response headers
355 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
356 Group: Networking/Daemons
357 Requires: %{name} = %{version}
359 %description mod_headers
360 This package contains mod_headers module. The module allows for the
361 customization of HTTP response headers. Headers can be merged,
364 %description mod_headers -l pl
365 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
366 wysy³anych do przegl±darki.
369 Summary: Apache module with imap-file handler
370 Summary(pl): Modu³ z obs³ug± imap-file
371 Group: Networking/Daemons
372 Requires: %{name} = %{version}
374 %description mod_imap
375 This package contains mod_imap module. It provides for .map files,
376 replacing the functionality of the imagemap CGI program. Any directory
377 or document type configured to use the handler imap-file.
379 %description mod_imap -l pl
380 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
383 Summary: Apache module with comprehensive overview of the server configuration
384 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
385 Group: Networking/Daemons
386 Requires: %{name} = %{version}
388 %description mod_info
389 This package contains mod_info module. It provides a comprehensive
390 overview of the server configuration including all installed modules
391 and directives in the configuration files.
393 %description mod_info -l pl
394 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
395 zainstalowanych modu³ach itp.
398 Summary: Apache module with Web proxy
399 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
400 Group: Networking/Daemons
401 Requires: %{name} = %{version}
403 %description mod_proxy
405 This package contains module with implementation a proxy/cache for
406 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
407 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
408 connect to other proxy modules for these and other protocols.
410 %description mod_proxy -l pl
411 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
412 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
416 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
417 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
418 Group: Networking/Daemons
419 Requires: %{name} = %{version}
421 %description mod_rewrite
422 This package contains It provides a rule-based rewriting engine to
423 rewrite requested URLs on the fly.
425 %description mod_rewrite -l pl
426 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
429 Summary: Apache module: Strong cryptography using the Secure Sockets Layer (SSL)
430 Summary(pl): Modu³ Apache'a: Silna kryptografia z u¿yciem SSL
431 Group: Networking/Daemons
433 Requires: %{name} = %{version}
436 Strong cryptography using the Secure Sockets Layer (SSL).
438 %description mod_ssl -l pl
439 Silna kryptografia z u¿yciem SSL.
442 Summary: Server status report module for apache
443 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
444 Group: Networking/Daemons
445 Requires: %{name} = %{version}
447 %description mod_status
448 The Status module allows a server administrator to find out how well
449 their server is performing. A HTML page is presented that gives the
450 current server statistics in an easily readable form. If required this
451 page can be made to automatically refresh (given a compatible
454 %description mod_status -l pl
455 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
456 pracy serwera apache (w postaci strony HTML).
458 %package mod_usertrack
459 Summary: Apache module for user tracking using cookies
460 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
461 Group: Networking/Daemons
462 Requires: %{name} = %{version}
464 %description mod_usertrack
465 This package contains the user tracking module which did its own
466 logging using CookieLog directory. This module allow multiple log
469 %description mod_usertrack -l pl
470 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
472 %package mod_vhost_alias
473 Summary: Apache module for dynamically configured mass virtual hosting
474 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
475 Group: Networking/Daemons
476 Requires: %{name} = %{version}
478 %description mod_vhost_alias
479 This package contains the mod_vhost_alias. It provides support for
480 dynamically configured mass virtual hosting.
482 %description mod_vhost_alias -l pl
483 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
486 %package mod_unique_id
487 Summary: Apache module which provides a magic token for each request
488 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
489 Group: Networking/Daemons
490 Requires: %{name} = %{version}
492 %description mod_unique_id
493 This package contains the mod_unique_id. This module provides a magic
494 token for each request which is guaranteed to be unique across "all"
495 requests under very specific conditions. The unique identifier is even
496 unique across multiple machines in a properly configured cluster of
497 machines. The environment variable UNIQUE_ID is set to the identifier
498 for each request. Unique identifiers are useful for various reasons
499 which are beyond the scope of this document.
501 %description mod_unique_id -l pl
502 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
503 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
504 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
508 Summary: Apache module which generates Expires HTTP headers
509 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
510 Group: Networking/Daemons
511 Requires: %{name} = %{version}
513 %description mod_expires
514 This module controls the setting of the Expires HTTP header in server
515 responses. The expiration date can set to be relative to either the
516 time the source file was last modified, or to the time of the client
519 %description mod_expires -l pl
520 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
521 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
522 ¼ród³owych lub odwo³ania klienta.
524 %package mod_file_cache
525 Summary: Apache module: Caches a static list of files in memory
526 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
527 Group: Networking/Daemons
528 Obsoletes: %{name}-mmap_static
529 Requires: %{name} = %{version}
531 %description mod_file_cache
532 Caches a static list of files in memory.
534 %description mod_file_cache -l pl
535 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
538 Summary: The Apache Portable Runtime library
539 Summary(pl): Przeno¶na biblioteka Apache
543 The Apache Portable Run-time libraries have been designed to provide a
544 common interface to low level routines across any platform.
546 %description -n apr -l pl
547 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
548 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
549 funkcji na dowolnej platformie.
551 %package -n apr-devel
552 Summary: The includes and linker libraries for development with APR
553 Summary(pl): Pliki nag³ówkowe, biblioteki dla konsolidatora APR
554 Group: Development/Libraries
555 Requires: apr = %{version}
557 %description -n apr-devel
558 The includes and linker libraries for development with APR.
560 %description -n apr-devel -l pl
561 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
563 %package -n apr-static
564 Summary: Static APR libraries
565 Summary(pl): Statyczne biblioteki APR
566 Group: Development/Libraries
567 Requires: apr-devel = %{version}
569 %description -n apr-static
570 Static APR libraries.
572 %description -n apr-static -l pl
573 Statyczne biblioteki APR.
576 %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/services/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
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)