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 tworzenia 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³ Apache'a 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 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
200 Group: Networking/Daemons
201 Requires: %{name} = %{version}
203 %description mod_auth
204 This package contains mod_auth module. It provides for user
205 authentication using textual files.
207 %description mod_auth -l pl
208 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
209 u¿ytkowników na podstawie plików tekstowych.
211 %package mod_auth_anon
212 Summary: Apache module with "anonymous" user access authentication
213 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
214 Group: Networking/Daemons
215 Requires: %{name} = %{version}
217 %description mod_auth_anon
218 This package contains mod_auth_anon module. It allows "anonymous" user
219 access to authenticated areas. It does access control in a manner
220 similar to anonymous-ftp sites; i.e. have a 'magic' user id
221 'anonymous' and the email address as a password. These email addresses
222 can be logged. Combined with other (database) access control methods,
223 this allows for effective user tracking and customization according to
224 a user profile while still keeping the site open for 'unregistered'
225 users. One advantage of using Auth-based user tracking is that, unlike
226 magic-cookies and funny URL pre/postfixes, it is completely browser
227 independent and it allows users to share URLs.
229 %description mod_auth_anon -l pl
230 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
231 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
232 adresu pocztowego u¿ytkownika).
234 %package mod_auth_dbm
235 Summary: Apache module with user authentication which uses DBM files
236 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
237 Group: Networking/Daemons
238 Obsoletes: %{name}-mod_auth_db
239 Requires: %{name} = %{version}
241 %description mod_auth_dbm
242 This module provides for HTTP Basic Authentication, where the
243 usernames and passwords are stored in DBM type database files. It is
244 an alternative to the plain text password files provided by mod_auth.
246 %description mod_auth_dbm -l pl
247 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
248 ich has³a s± trzymane w plikach bazy typu DBM.
250 %package mod_auth_digest
251 Summary: Apache user authentication module using MD5 Digest Authentication
252 Summary(pl): Modu³ Apache'a do autoryzacji MD5
253 Group: Networking/Daemons
254 Obsoletes: apache-mod_digest
255 Requires: %{name} = %{version}
257 %description mod_auth_digest
258 This package contains mod_digest module. It provides user
259 authentication using MD5 Digest Authentication.
261 %description mod_auth_digest -l pl
262 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
266 Summary: Content cache keyed to URIs
267 Summary(pl): Pamiêæ podrêczna wg klucza URI
268 Group: Networking/Daemons
269 Requires: %{name} = %{version}
271 %description mod_cache
272 mod_cache implements an RFC 2616 compliant HTTP content cache that can
273 be used to cache either local or proxied content. Two storage
274 management modules are included in the base Apache distribution:
275 mod_disk_cache implements a disk based storage manager (generally used
276 for proxy caching) and mod_mem_cache implements an in-memory based
277 storage manager (primarily useful for caching local content).
279 %description mod_cache -l pl
280 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
281 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
282 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
283 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
284 (u¿ywane do cacheowania proxy).
287 Summary: Execution of CGI scripts using an external CGI daemon
288 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
289 Group: Networking/Daemons
290 Requires: %{name} = %{version}
292 %description mod_cgid
293 Execution of CGI scripts using an external CGI daemon.
295 %description mod_cgid -l pl
296 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
298 %package mod_charset_lite
299 Summary: Specify character set translation or recoding
300 Summary(pl): Translacja lub przekodowywanie znaków
301 Group: Networking/Daemons
302 Requires: %{name} = %{version}
304 %description mod_charset_lite
305 Specify character set translation or recoding.
307 %description mod_charset_lite -l pl
308 Translacja lub przekodowywanie znaków.
311 Summary: Apache module - Distributed Authoring and Versioning
312 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
313 Group: Networking/Daemons
314 Requires: %{name} = %{version}
317 This module provides class 1 and class 2 WebDAV ('Web-based
318 Distributed Authoring and Versioning') functionality for Apache. This
319 extension to the HTTP protocol allows creating, moving, copying, and
320 deleting resources and collections on a remote web server.
322 %description mod_dav -l pl
323 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
324 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
325 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
326 zdalnym serwerze WWW.
329 Summary: Apache module: Compress content before it is delivered to the client
330 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
331 Group: Networking/Daemons
332 Requires: %{name} = %{version}
334 %description mod_deflate
335 Compress content before it is delivered to the client.
337 %description mod_deflate -l pl
338 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
341 Summary: Apache module for "trailing slash" redirects and serving directory index files
342 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
343 Group: Networking/Daemons
344 Requires: %{name} = %{version}
347 This package contains mod_dir which provides "trailing slash"
348 redirects and serving directory index files.
350 %description mod_dir -l pl
351 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
355 Summary: Apache module allows for the customization of HTTP response headers
356 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
357 Group: Networking/Daemons
358 Requires: %{name} = %{version}
360 %description mod_headers
361 This package contains mod_headers module. The module allows for the
362 customization of HTTP response headers. Headers can be merged,
365 %description mod_headers -l pl
366 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
367 wysy³anych do przegl±darki.
370 Summary: Apache module with imap-file handler
371 Summary(pl): Modu³ z obs³ug± imap-file
372 Group: Networking/Daemons
373 Requires: %{name} = %{version}
375 %description mod_imap
376 This package contains mod_imap module. It provides for .map files,
377 replacing the functionality of the imagemap CGI program. Any directory
378 or document type configured to use the handler imap-file.
380 %description mod_imap -l pl
381 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
384 Summary: Apache module with comprehensive overview of the server configuration
385 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
386 Group: Networking/Daemons
387 Requires: %{name} = %{version}
389 %description mod_info
390 This package contains mod_info module. It provides a comprehensive
391 overview of the server configuration including all installed modules
392 and directives in the configuration files.
394 %description mod_info -l pl
395 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
396 zainstalowanych modu³ach itp.
399 Summary: Apache module with Web proxy
400 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
401 Group: Networking/Daemons
402 Requires: %{name} = %{version}
404 %description mod_proxy
406 This package contains module with implementation a proxy/cache for
407 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
408 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
409 connect to other proxy modules for these and other protocols.
411 %description mod_proxy -l pl
412 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
413 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
417 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
418 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
419 Group: Networking/Daemons
420 Requires: %{name} = %{version}
422 %description mod_rewrite
423 This package contains It provides a rule-based rewriting engine to
424 rewrite requested URLs on the fly.
426 %description mod_rewrite -l pl
427 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
430 Summary: Apache module: Strong cryptography using the Secure Sockets Layer (SSL)
431 Summary(pl): Modu³ Apache'a: Silna kryptografia z u¿yciem SSL
432 Group: Networking/Daemons
434 Requires: %{name} = %{version}
437 Strong cryptography using the Secure Sockets Layer (SSL).
439 %description mod_ssl -l pl
440 Silna kryptografia z u¿yciem SSL.
443 Summary: Server status report module for apache
444 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
445 Group: Networking/Daemons
446 Requires: %{name} = %{version}
448 %description mod_status
449 The Status module allows a server administrator to find out how well
450 their server is performing. A HTML page is presented that gives the
451 current server statistics in an easily readable form. If required this
452 page can be made to automatically refresh (given a compatible
455 %description mod_status -l pl
456 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
457 pracy serwera apache (w postaci strony HTML).
459 %package mod_usertrack
460 Summary: Apache module for user tracking using cookies
461 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
462 Group: Networking/Daemons
463 Requires: %{name} = %{version}
465 %description mod_usertrack
466 This package contains the user tracking module which did its own
467 logging using CookieLog directory. This module allow multiple log
470 %description mod_usertrack -l pl
471 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
473 %package mod_vhost_alias
474 Summary: Apache module for dynamically configured mass virtual hosting
475 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
476 Group: Networking/Daemons
477 Requires: %{name} = %{version}
479 %description mod_vhost_alias
480 This package contains the mod_vhost_alias. It provides support for
481 dynamically configured mass virtual hosting.
483 %description mod_vhost_alias -l pl
484 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
487 %package mod_unique_id
488 Summary: Apache module which provides a magic token for each request
489 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
490 Group: Networking/Daemons
491 Requires: %{name} = %{version}
493 %description mod_unique_id
494 This package contains the mod_unique_id. This module provides a magic
495 token for each request which is guaranteed to be unique across "all"
496 requests under very specific conditions. The unique identifier is even
497 unique across multiple machines in a properly configured cluster of
498 machines. The environment variable UNIQUE_ID is set to the identifier
499 for each request. Unique identifiers are useful for various reasons
500 which are beyond the scope of this document.
502 %description mod_unique_id -l pl
503 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
504 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
505 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
509 Summary: Apache module which generates Expires HTTP headers
510 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
511 Group: Networking/Daemons
512 Requires: %{name} = %{version}
514 %description mod_expires
515 This module controls the setting of the Expires HTTP header in server
516 responses. The expiration date can set to be relative to either the
517 time the source file was last modified, or to the time of the client
520 %description mod_expires -l pl
521 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
522 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
523 ¼ród³owych lub odwo³ania klienta.
525 %package mod_file_cache
526 Summary: Apache module: Caches a static list of files in memory
527 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
528 Group: Networking/Daemons
529 Obsoletes: %{name}-mmap_static
530 Requires: %{name} = %{version}
532 %description mod_file_cache
533 Caches a static list of files in memory.
535 %description mod_file_cache -l pl
536 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
539 Summary: The Apache Portable Runtime library
540 Summary(pl): Przeno¶na biblioteka Apache
544 The Apache Portable Run-time libraries have been designed to provide a
545 common interface to low level routines across any platform.
547 %description -n apr -l pl
548 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
549 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
550 funkcji na dowolnej platformie.
552 %package -n apr-devel
553 Summary: The includes and linker libraries for development with APR
554 Summary(pl): Pliki nag³ówkowe, biblioteki dla konsolidatora APR
555 Group: Development/Libraries
556 Requires: apr = %{version}
558 %description -n apr-devel
559 The includes and linker libraries for development with APR.
561 %description -n apr-devel -l pl
562 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
564 %package -n apr-static
565 Summary: Static APR libraries
566 Summary(pl): Statyczne biblioteki APR
567 Group: Development/Libraries
568 Requires: apr-devel = %{version}
570 %description -n apr-static
571 Static APR libraries.
573 %description -n apr-static -l pl
574 Statyczne biblioteki APR.
577 %setup -q -n httpd-%{version}
586 --enable-layout=PLD \
587 --enable-modules=all \
588 --enable-mods-shared=all \
591 --enable-auth-digest \
592 --enable-file-cache \
595 --enable-charset-lite \
597 --enable-disk-cache \
598 --enable-ext-filter \
599 --enable-case-filter \
600 --enable-case-filter-in \
602 --with-z=%{_prefix} \
603 --enable-mime-magic \
610 --enable-proxy-connect \
612 --enable-proxy-http \
613 %{!?_without_ssl:--enable-ssl} \
614 --enable-optional-hook-export \
615 --enable-optional-hook-import \
616 --enable-optional-fn-import \
617 --enable-optional-fn-export \
624 --enable-vhost-alias \
629 --with-suexec-bin=%{_sbindir}/suexec \
630 --with-suexec-caller=http \
631 --with-suexec-docroot=%{_datadir} \
632 --with-suexec-logfile=/var/log/httpd/suexec_log \
633 --with-suexec-uidmin=500 \
634 --with-suexec-gidmin=500 \
635 --with-suexec-umask=077
640 rm -rf $RPM_BUILD_ROOT
641 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
642 install -d $RPM_BUILD_ROOT%{_var}/log/{httpd,archiv/httpd}
643 install -d $RPM_BUILD_ROOT%{_var}/{run,cache}/apache
645 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
646 installbuilddir=%{_sysconfdir}/build \
647 prefix=%{_sysconfdir}/httpd \
648 libexecdir=%{_libdir}/%{name} \
649 iconsdir=%{_datadir}/icons \
650 errordir=%{_datadir}/error \
651 htdocsdir=%{_datadir}/html \
652 manualdir=%{_datadir}/manual \
653 cgidir=%{_datadir}/cgi-bin \
654 runtimedir=%{_var}/run \
655 logdir=%{_var}/log/httpd \
656 proxycachedir=%{_var}/cache/httpd
658 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
659 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
661 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
662 $RPM_BUILD_ROOT%{_libexecdir}/build
664 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
665 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
667 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
668 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
669 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
671 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
673 %if %{?_without_ssl:0}%{!?_without_ssl:1}
674 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
675 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
676 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
679 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
681 install %{SOURCE6} $CFG/10_httpd.conf
682 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
683 install %{SOURCE9} $CFG/25_mod_status.conf
684 install %{SOURCE10} $CFG/30_mod_proxy.conf
685 install %{SOURCE11} $CFG/35_mod_info.conf
686 install %{SOURCE12} $CFG/40_mod_ssl.conf
687 install %{SOURCE13} $CFG/45_mod_dav.conf
688 install %{SOURCE14} $CFG/59_mod_dir.conf
690 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
691 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
692 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
693 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
694 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
695 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
696 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
697 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
698 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
699 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
700 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
701 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
702 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
703 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
704 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
705 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
706 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
707 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
709 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
712 rm -rf $RPM_BUILD_ROOT
715 if [ -n "`getgid http`" ]; then
716 if [ "`getgid http`" != "51" ]; then
717 echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
721 /usr/sbin/groupadd -g 51 -r -f http
723 if [ -n "`id -u http 2>/dev/null`" ]; then
724 if [ "`id -u http`" != "51" ]; then
725 echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
729 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
734 /sbin/chkconfig --add httpd
736 touch /var/log/httpd/{access,error,agent,referer}_log
737 if [ -f /var/lock/subsys/httpd ]; then
738 /etc/rc.d/init.d/httpd restart 1>&2
740 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
744 if [ "$1" = "0" ]; then
745 if [ -f /var/lock/subsys/httpd ]; then
746 /etc/rc.d/init.d/httpd stop 1>&2
748 /sbin/chkconfig --del httpd
753 if [ "$1" = "0" ]; then
754 /usr/sbin/userdel http
755 /usr/sbin/groupdel http
759 if [ -f /var/lock/subsys/httpd ]; then
760 /etc/rc.d/init.d/httpd restart 1>&2
762 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
766 if [ "$1" = "0" ]; then
767 if [ -f /var/lock/subsys/httpd ]; then
768 /etc/rc.d/init.d/httpd restart 1>&2
773 if [ -f /var/lock/subsys/httpd ]; then
774 /etc/rc.d/init.d/httpd restart 1>&2
776 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
780 if [ "$1" = "0" ]; then
781 if [ -f /var/lock/subsys/httpd ]; then
782 /etc/rc.d/init.d/httpd restart 1>&2
787 if [ -f /var/lock/subsys/httpd ]; then
788 /etc/rc.d/init.d/httpd restart 1>&2
790 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
794 if [ "$1" = "0" ]; then
795 if [ -f /var/lock/subsys/httpd ]; then
796 /etc/rc.d/init.d/httpd restart 1>&2
801 if [ -f /var/lock/subsys/httpd ]; then
802 /etc/rc.d/init.d/httpd restart 1>&2
804 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
808 if [ "$1" = "0" ]; then
809 if [ -f /var/lock/subsys/httpd ]; then
810 /etc/rc.d/init.d/httpd restart 1>&2
815 if [ -f /var/lock/subsys/httpd ]; then
816 /etc/rc.d/init.d/httpd restart 1>&2
818 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
822 if [ "$1" = "0" ]; then
823 if [ -f /var/lock/subsys/httpd ]; then
824 /etc/rc.d/init.d/httpd restart 1>&2
829 if [ -f /var/lock/subsys/httpd ]; then
830 /etc/rc.d/init.d/httpd restart 1>&2
832 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
836 if [ "$1" = "0" ]; then
837 if [ -f /var/lock/subsys/httpd ]; then
838 /etc/rc.d/init.d/httpd restart 1>&2
842 %post mod_charset_lite
843 if [ -f /var/lock/subsys/httpd ]; then
844 /etc/rc.d/init.d/httpd restart 1>&2
846 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
849 %preun mod_charset_lite
850 if [ "$1" = "0" ]; then
851 if [ -f /var/lock/subsys/httpd ]; then
852 /etc/rc.d/init.d/httpd restart 1>&2
857 if [ -f /var/lock/subsys/httpd ]; then
858 /etc/rc.d/init.d/httpd restart 1>&2
860 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
864 if [ "$1" = "0" ]; then
865 if [ -f /var/lock/subsys/httpd ]; then
866 /etc/rc.d/init.d/httpd restart 1>&2
870 %post mod_auth_digest
871 if [ -f /var/lock/subsys/httpd ]; then
872 /etc/rc.d/init.d/httpd restart 1>&2
874 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
877 %preun mod_auth_digest
878 if [ "$1" = "0" ]; then
879 if [ -f /var/lock/subsys/httpd ]; then
880 /etc/rc.d/init.d/httpd restart 1>&2
885 if [ -f /var/lock/subsys/httpd ]; then
886 /etc/rc.d/init.d/httpd restart 1>&2
888 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
892 if [ "$1" = "0" ]; then
893 if [ -f /var/lock/subsys/httpd ]; then
894 /etc/rc.d/init.d/httpd restart 1>&2
899 if [ -f /var/lock/subsys/httpd ]; then
900 /etc/rc.d/init.d/httpd restart 1>&2
902 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
906 if [ "$1" = "0" ]; then
907 if [ -f /var/lock/subsys/httpd ]; then
908 /etc/rc.d/init.d/httpd restart 1>&2
913 if [ -f /var/lock/subsys/httpd ]; then
914 /etc/rc.d/init.d/httpd restart 1>&2
916 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
920 if [ "$1" = "0" ]; then
921 if [ -f /var/lock/subsys/httpd ]; then
922 /etc/rc.d/init.d/httpd restart 1>&2
927 if [ -f /var/lock/subsys/httpd ]; then
928 /etc/rc.d/init.d/httpd restart 1>&2
930 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
933 %preun mod_file_cache
934 if [ "$1" = "0" ]; then
935 if [ -f /var/lock/subsys/httpd ]; then
936 /etc/rc.d/init.d/httpd restart 1>&2
941 if [ -f /var/lock/subsys/httpd ]; then
942 /etc/rc.d/init.d/httpd restart 1>&2
944 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
948 if [ "$1" = "0" ]; then
949 if [ -f /var/lock/subsys/httpd ]; then
950 /etc/rc.d/init.d/httpd restart 1>&2
955 if [ -f /var/lock/subsys/httpd ]; then
956 /etc/rc.d/init.d/httpd restart 1>&2
958 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
962 if [ "$1" = "0" ]; then
963 if [ -f /var/lock/subsys/httpd ]; then
964 /etc/rc.d/init.d/httpd restart 1>&2
969 if [ -f /var/lock/subsys/httpd ]; then
970 /etc/rc.d/init.d/httpd restart 1>&2
972 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
976 if [ "$1" = "0" ]; then
977 if [ -f /var/lock/subsys/httpd ]; then
978 /etc/rc.d/init.d/httpd restart 1>&2
983 if [ -f /var/lock/subsys/httpd ]; then
984 /etc/rc.d/init.d/httpd restart 1>&2
986 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
990 if [ "$1" = "0" ]; then
991 if [ -f /var/lock/subsys/httpd ]; then
992 /etc/rc.d/init.d/httpd restart 1>&2
997 if [ -f /var/lock/subsys/httpd ]; then
998 /etc/rc.d/init.d/httpd restart 1>&2
1000 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1004 if [ "$1" = "0" ]; then
1005 if [ -f /var/lock/subsys/httpd ]; then
1006 /etc/rc.d/init.d/httpd restart 1>&2
1011 if [ -f /var/lock/subsys/httpd ]; then
1012 /etc/rc.d/init.d/httpd restart 1>&2
1014 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1018 if [ "$1" = "0" ]; then
1019 if [ -f /var/lock/subsys/httpd ]; then
1020 /etc/rc.d/init.d/httpd restart 1>&2
1025 if [ -f /var/lock/subsys/httpd ]; then
1026 /etc/rc.d/init.d/httpd restart 1>&2
1028 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1032 if [ "$1" = "0" ]; then
1033 if [ -f /var/lock/subsys/httpd ]; then
1034 /etc/rc.d/init.d/httpd restart 1>&2
1039 if [ -f /var/lock/subsys/httpd ]; then
1040 /etc/rc.d/init.d/httpd restart 1>&2
1042 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1045 %preun mod_usertrack
1046 if [ "$1" = "0" ]; then
1047 if [ -f /var/lock/subsys/httpd ]; then
1048 /etc/rc.d/init.d/httpd restart 1>&2
1053 if [ -f /var/lock/subsys/httpd ]; then
1054 /etc/rc.d/init.d/httpd restart 1>&2
1056 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1059 %preun mod_unique_id
1060 if [ "$1" = "0" ]; then
1061 if [ -f /var/lock/subsys/httpd ]; then
1062 /etc/rc.d/init.d/httpd restart 1>&2
1066 %post mod_vhost_alias
1067 if [ -f /var/lock/subsys/httpd ]; then
1068 /etc/rc.d/init.d/httpd restart 1>&2
1070 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1073 %preun mod_vhost_alias
1074 if [ "$1" = "0" ]; then
1075 if [ -f /var/lock/subsys/httpd ]; then
1076 /etc/rc.d/init.d/httpd restart 1>&2
1080 %post -n apr -p /sbin/ldconfig
1081 %postun -n apr -p /sbin/ldconfig
1084 %defattr(644,root,root,755)
1085 %doc ABOUT_APACHE CHANGES README ROADMAP
1086 %doc docs/conf/mime.types
1088 %attr(754,root,root) /etc/rc.d/init.d/httpd
1090 %attr(750,root,root) %dir %{_sysconfdir}
1091 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1092 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1093 %attr(640,root,root) %{_sysconfdir}/magic
1094 %attr(755,root,root) %dir %{_libexecdir}/build
1095 %attr(755,root,root) %{_libexecdir}/build/*.mk
1096 %attr(755,root,root) %{_libexecdir}/build/*.sh
1097 %attr(755,root,root) %{_libexecdir}/build/libtool
1099 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1100 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1103 %attr(755,root,root) %{_libexecdir}/mod_access.so
1104 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1105 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1106 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1107 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1108 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1109 %attr(755,root,root) %{_libexecdir}/mod_env.so
1110 %attr(755,root,root) %{_libexecdir}/mod_include.so
1111 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1112 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1113 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1114 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1115 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1116 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1117 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1119 # look at TODO on top
1120 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1121 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1122 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1123 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1124 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1125 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1126 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1127 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1129 %attr(755,root,root) %{_sbindir}/htdigest
1131 %attr(755,root,root) %{_sbindir}/ab
1132 %attr(755,root,root) %{_sbindir}/apachectl
1133 %attr(755,root,root) %{_sbindir}/apxs
1134 %attr(755,root,root) %{_sbindir}/checkgid
1135 %attr(755,root,root) %{_sbindir}/httpd
1136 %attr(755,root,root) %{_sbindir}/logresolve
1137 %attr(755,root,root) %{_sbindir}/rotatelogs
1138 %attr(755,root,root) %{_sbindir}/envvars*
1140 %dir %attr(770,root,http) /var/run/apache
1142 %{_mandir}/man1/htdigest.1*
1145 %attr(750,root,root) %dir /var/log/httpd
1146 %attr(750,root,root) %dir /var/log/archiv/httpd
1147 %attr(640,root,root) %ghost /var/log/httpd/*
1150 %dir %{_datadir}/manual
1151 %{_datadir}/manual/LICENSE
1152 %{_datadir}/manual/*.html
1153 %{_datadir}/manual/*.xml
1154 %{_datadir}/manual/*.html.en
1155 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1156 %lang(ja) %{_datadir}/manual/*.xml.ja
1157 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1158 %lang(de) %{_datadir}/manual/*.html.de
1159 %lang(fr) %{_datadir}/manual/*.html.fr
1160 %{_datadir}/manual/developer
1161 %{_datadir}/manual/faq
1162 %dir %{_datadir}/manual/howto
1163 %doc %{_datadir}/manual/howto/*.en
1164 %{_datadir}/manual/howto/*.html
1165 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1166 %dir %{_datadir}/manual/images
1167 %{_datadir}/manual/images/[achips]*
1168 %{_datadir}/manual/misc
1169 %dir %{_datadir}/manual/mod
1170 %{_datadir}/manual/mod/[fh]*.html
1171 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1172 %{_datadir}/manual/mod/[acd]*.xml
1173 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1174 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1175 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1176 %{_datadir}/manual/mod/index.xml
1177 %{_datadir}/manual/mod/mpm*.html.en
1178 %{_datadir}/manual/mod/mod_access.html.en
1179 %{_datadir}/manual/mod/mod_alias.html.en
1180 %{_datadir}/manual/mod/mod_asis.html.en
1181 %{_datadir}/manual/mod/mod_autoindex.html.en
1182 %{_datadir}/manual/mod/mod_cern_meta.html.en
1183 %{_datadir}/manual/mod/mod_cgi.html.en
1184 %{_datadir}/manual/mod/mod_env.html.en
1185 %{_datadir}/manual/mod/mod_include.html.en
1186 %{_datadir}/manual/mod/mod_log_config.html.en
1187 %{_datadir}/manual/mod/mod_mime*.html.en
1188 %{_datadir}/manual/mod/mod_negotiation.html.en
1189 %{_datadir}/manual/mod/mod_setenvif.html.en
1190 %{_datadir}/manual/mod/mod_speling.html.en
1191 %{_datadir}/manual/mod/mod_userdir.html.en
1192 %{_datadir}/manual/platform
1193 %{_datadir}/manual/programs
1194 %dir %{_datadir}/manual/search
1195 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1196 %{_datadir}/manual/style
1198 # Having all index.html.LANG files here is very bad idea.
1199 %attr(755,root,root) %dir %{_datadir}/html
1200 %config(noreplace,missingok) %{_datadir}/html/index.html
1201 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1202 %{_datadir}/html/*.gif
1203 %{_datadir}/html/*.png
1205 %attr(755,root,root) %{_datadir}/cgi-bin
1210 %defattr(644,root,root,755)
1211 %attr(4755,root,root) %{_sbindir}/suexec
1212 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1213 %{_datadir}/manual/mod/mod_suexec.html.en
1216 %defattr(644,root,root,755)
1218 %exclude %{_includedir}/apr*.h
1219 %{_libexecdir}/*.exp
1222 %defattr(644,root,root,755)
1226 %defattr(644,root,root,755)
1227 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1228 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1229 %{_datadir}/manual/mod/mod_actions.html.en
1232 %defattr(644,root,root,755)
1233 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1234 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1235 %attr(755,root,root) %{_sbindir}/htpasswd
1236 %{_datadir}/manual/mod/mod_auth.html.en
1237 %{_mandir}/man1/htpasswd.1*
1239 %files mod_auth_anon
1240 %defattr(644,root,root,755)
1241 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1242 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1243 %{_datadir}/manual/mod/mod_auth_anon.html.en
1246 %defattr(644,root,root,755)
1247 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1248 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1249 %attr(755,root,root) %{_sbindir}/dbmmanage
1250 %attr(755,root,root) %{_sbindir}/htdbm
1251 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1252 %{_mandir}/man1/dbmmanage.1*
1254 %files mod_auth_digest
1255 %defattr(644,root,root,755)
1256 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1257 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1258 %{_datadir}/manual/mod/mod_auth_digest.html.en
1261 %defattr(644,root,root,755)
1262 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1263 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1264 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1265 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1266 %{_datadir}/manual/mod/mod_cache.html.en
1269 %defattr(644,root,root,755)
1270 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1271 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1272 %{_datadir}/manual/mod/mod_cgid.html.en
1274 %files mod_charset_lite
1275 %defattr(644,root,root,755)
1276 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1277 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1278 %{_datadir}/manual/mod/mod_charset_lite.html.en
1281 %defattr(644,root,root,755)
1282 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1283 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1284 %{_datadir}/manual/mod/mod_dav*.html.en
1287 %defattr(644,root,root,755)
1288 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1289 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1290 %{_datadir}/manual/mod/mod_deflate.html.en
1293 %defattr(644,root,root,755)
1294 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1295 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1296 %{_datadir}/manual/mod/mod_dir.html.en
1299 %defattr(644,root,root,755)
1300 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1301 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1302 %{_datadir}/manual/mod/mod_expires.html.en
1304 %files mod_file_cache
1305 %defattr(644,root,root,755)
1306 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1307 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1308 %{_datadir}/manual/mod/mod_file_cache.html.en
1311 %defattr(644,root,root,755)
1312 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1313 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1314 %{_datadir}/manual/mod/mod_headers.html.en
1317 %defattr(644,root,root,755)
1318 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1319 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1320 %{_datadir}/manual/mod/mod_imap.html.en
1323 %defattr(644,root,root,755)
1324 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1325 %attr(755,root,root) %{_libexecdir}/mod_info.so
1326 %{_datadir}/manual/mod/mod_info.html.en
1329 %defattr(644,root,root,755)
1330 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1331 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1332 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1333 %attr(770,root,http) /var/cache/apache
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1338 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1339 %{_datadir}/manual/mod/mod_rewrite.html.en
1340 %{_datadir}/manual/images/mod_rewrite*
1342 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1344 %defattr(644,root,root,755)
1345 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1346 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1347 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1348 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1349 %{_datadir}/manual/ssl
1350 %{_datadir}/manual/mod/mod_ssl.html.en
1354 %defattr(644,root,root,755)
1355 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1356 %attr(755,root,root) %{_libexecdir}/mod_status.so
1357 %{_datadir}/manual/mod/mod_status.html.en
1359 %files mod_usertrack
1360 %defattr(644,root,root,755)
1361 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1362 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1363 %{_datadir}/manual/mod/mod_usertrack.html.en
1365 %files mod_unique_id
1366 %defattr(644,root,root,755)
1367 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1368 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1369 %{_datadir}/manual/mod/mod_unique_id.html.en
1371 %files mod_vhost_alias
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1374 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1375 %{_datadir}/manual/vhosts
1376 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_libdir}/libapr*.so.*
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_bindir}/apr-config
1385 %attr(755,root,root) %{_bindir}/apu-config
1386 %{_includedir}/apr*.h
1389 %attr(755,root,root) %{_libdir}/libapr*.so
1390 %{_libdir}/libapr*.la
1392 %files -n apr-static
1393 %defattr(644,root,root,755)