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 # this is internal macro, don't change to %%apache_modules_api
18 %define _apache_modules_api 20020903
19 Summary: The most widely used Web server on the Internet
20 Summary(de): Leading World Wide Web-Server
21 Summary(es): Servidor HTTPD para proveer servicios WWW
22 Summary(fr): Le serveur web le plus utilise sur Internet
23 Summary(pl): Serwer WWW (World Wide Web)
24 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
25 Summary(ru): óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
26 Summary(tr): Lider WWW tarayýcý
30 License: Apache Group License
31 Group: Networking/Daemons
32 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
33 # Source0-md5: 63f16638c18b140b649fab32b54d7f9c
35 Source2: %{name}.logrotate
36 Source3: %{name}-icons.tar.gz
37 # Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
38 Source4: %{name}.sysconfig
39 Source6: %{name}-httpd.conf
40 Source8: %{name}-mod_vhost_alias.conf
41 Source9: %{name}-mod_status.conf
42 Source10: %{name}-mod_proxy.conf
43 Source11: %{name}-mod_info.conf
44 Source12: %{name}-mod_ssl.conf
45 Source13: %{name}-mod_dav.conf
46 Source14: %{name}-mod_dir.conf
47 Source20: %{name}-server.crt
48 Source21: %{name}-server.key
49 Patch0: %{name}-configdir_skip_backups.patch
50 Patch1: %{name}-layout.patch
51 Patch2: %{name}-suexec.patch
52 Patch3: %{name}-nolibs.patch
53 URL: http://httpd.apache.org/
54 BuildRequires: db-devel
55 BuildRequires: expat-devel
56 BuildRequires: gdbm-devel >= 1.8.3
57 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
58 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
59 BuildRequires: perl-devel >= 5.004
60 BuildRequires: rpm-perlprov >= 4.0.4
61 BuildRequires: zlib-devel
62 BuildRequires: libtool >= 1.5
65 Requires(pre): /bin/id
66 Requires(pre): /usr/bin/getgid
67 Requires(pre): /usr/sbin/groupadd
68 Requires(pre): /usr/sbin/useradd
69 Requires(postun): /usr/sbin/userdel
70 Requires(postun): /usr/sbin/groupdel
71 Requires(post,preun): /sbin/chkconfig
72 Requires(post,postun): /sbin/ldconfig
73 Requires(post): fileutils
74 Requires: /etc/mime.types
76 Requires: psmisc >= 20.1
77 Provides: httpd = %{version}
78 Provides: webserver = %{version}
79 Provides: apache(modules-api) = %{_apache_modules_api}
80 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
81 Obsoletes: apache-extra
86 %define _sysconfdir /etc/httpd
87 %define _includedir %{_prefix}/include/apache
88 %define _datadir /home/services/httpd
89 %define _libexecdir %{_libdir}/apache
92 Apache is a powerful, full-featured, efficient and freely-available
93 Web server. Apache is also the most popular Web server on the
97 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
98 erhältlich und weit verbreitet ist.
101 El servidor web Apache es el mejor servidor gratuito disponible en el
102 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
103 que browsers web vean documentos y sometan datos remotamente. Puede
104 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
105 caché, y nos ofrece características como monitor de estado, conversión
106 dinámica de tipo, y otras más.
109 Apache est un serveur Web puissant, efficace, gratuit et complet.
110 Apache est aussi le serveur Web le plus populaire sur Internet.
113 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
114 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
116 %description -l pt_BR
117 O servidor web Apache é o melhor servidor gratuito disponível no mundo
118 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
119 que browsers web vejam documentos e submetam dados remotamente. Ele
120 pode executar várias funções diferentes, incluindo funções de proxy e
121 cache, e oferece características como monitor de status, conversão
122 dinâmica de tipo, e mais.
125 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
126 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
129 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
133 Summary: Apache suexec wrapper
134 Summary(pl): Wrapper suexec do serwera WWW Apache
135 Group: Development/Tools
136 Requires: %{name} = %{version}
139 The suEXEC feature provides Apache users the ability to run CGI and
140 SSI programs under user IDs different from the user ID of the calling
141 web-server. Normally, when a CGI or SSI program executes, it runs as
142 the same user who is running the web server.
144 %description suexec -l pl
145 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
146 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
147 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
150 Summary: Module development tools for the Apache web server
151 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
152 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
153 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
154 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
155 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
156 Group: Networking/Utilities
157 Requires: %{name} = %{version}
158 Requires: apr-devel = %{version}
161 The apache-devel package contains header files for Apache.
163 %description devel -l es
164 Este paquete contiene los archivos de inclusión para el Apache, bien
165 como el utilitario apxs para la construcción de objetos compartidos
166 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
167 o desarrollar módulos adicionales para Apache.
169 %description devel -l fr
170 Le package apache-devel contient le code source pour le serveur Web
171 Apache et le binaire APXS dont vous aurez besoin pour construire des
172 Objets Dynamiques Partages (DSOs) pour Apache.
174 %description devel -l pl
175 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
176 (Dynamic Shared Objects) dla Apache.
178 %description devel -l ru
179 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
181 %description devel -l pt_BR
182 Este pacote contem os arquivos de inclusão para o Apache, bem como o
183 utilitário apxs para a construção de objetos compartilhados dinâmicos
184 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
185 desenvolver módulos adicionais para o Apache.
188 Summary: Static Apache web server libraries
189 Summary(pl): Statyczne biblioteki serwera WWW Apache
190 Group: Development/Libraries
191 Requires: %{name}-devel = %{version}
194 The apache-static package contains static libraries for Apache.
196 %description static -l pl
197 Statyczne biblioteki serwera Apache.
200 Summary: Apache module for run CGI whenever a file of a certain type is requested
201 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
202 Group: Networking/Daemons
203 Requires: %{name} = %{version}
205 %description mod_actions
206 This package contains mod_actions module. This module lets you run CGI
207 scripts whenever a file of a certain type is requested. This makes it
208 much easier to execute scripts that process files.
210 %description mod_actions -l pl
211 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
212 ¿±danie pobrania pliku okre¶lonego typu.
215 Summary: Apache module with user authentication using textual files
216 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
217 Group: Networking/Daemons
218 Requires: %{name} = %{version}
220 %description mod_auth
221 This package contains mod_auth module. It provides for user
222 authentication using textual files.
224 %description mod_auth -l pl
225 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
226 u¿ytkowników na podstawie plików tekstowych.
228 %package mod_auth_anon
229 Summary: Apache module with "anonymous" user access authentication
230 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
231 Group: Networking/Daemons
232 Requires: %{name} = %{version}
234 %description mod_auth_anon
235 This package contains mod_auth_anon module. It allows "anonymous" user
236 access to authenticated areas. It does access control in a manner
237 similar to anonymous-ftp sites; i.e. have a 'magic' user id
238 'anonymous' and the email address as a password. These email addresses
239 can be logged. Combined with other (database) access control methods,
240 this allows for effective user tracking and customization according to
241 a user profile while still keeping the site open for 'unregistered'
242 users. One advantage of using Auth-based user tracking is that, unlike
243 magic-cookies and funny URL pre/postfixes, it is completely browser
244 independent and it allows users to share URLs.
246 %description mod_auth_anon -l pl
247 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
248 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
249 adresu pocztowego u¿ytkownika).
251 %package mod_auth_dbm
252 Summary: Apache module with user authentication which uses DBM files
253 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
254 Group: Networking/Daemons
255 Obsoletes: %{name}-mod_auth_db
256 Requires: %{name} = %{version}
258 %description mod_auth_dbm
259 This module provides for HTTP Basic Authentication, where the
260 usernames and passwords are stored in DBM type database files. It is
261 an alternative to the plain text password files provided by mod_auth.
263 %description mod_auth_dbm -l pl
264 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
265 ich has³a s± trzymane w plikach bazy typu DBM.
267 %package mod_auth_digest
268 Summary: Apache user authentication module using MD5 Digest Authentication
269 Summary(pl): Modu³ Apache'a do autoryzacji MD5
270 Group: Networking/Daemons
271 Obsoletes: apache-mod_digest
272 Requires: %{name} = %{version}
274 %description mod_auth_digest
275 This package contains mod_digest module. It provides user
276 authentication using MD5 Digest Authentication.
278 %description mod_auth_digest -l pl
279 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
283 Summary: Content cache keyed to URIs
284 Summary(pl): Pamiêæ podrêczna wg klucza URI
285 Group: Networking/Daemons
286 Requires: %{name} = %{version}
288 %description mod_cache
289 mod_cache implements an RFC 2616 compliant HTTP content cache that can
290 be used to cache either local or proxied content. Two storage
291 management modules are included in the base Apache distribution:
292 mod_disk_cache implements a disk based storage manager (generally used
293 for proxy caching) and mod_mem_cache implements an in-memory based
294 storage manager (primarily useful for caching local content).
296 %description mod_cache -l pl
297 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
298 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
299 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
300 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
301 (u¿ywane do cacheowania proxy).
304 Summary: Execution of CGI scripts using an external CGI daemon
305 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
306 Group: Networking/Daemons
307 Requires: %{name} = %{version}
309 %description mod_cgid
310 Execution of CGI scripts using an external CGI daemon.
312 %description mod_cgid -l pl
313 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
315 %package mod_charset_lite
316 Summary: Specify character set translation or recoding
317 Summary(pl): Translacja lub przekodowywanie znaków
318 Group: Networking/Daemons
319 Requires: %{name} = %{version}
321 %description mod_charset_lite
322 Specify character set translation or recoding.
324 %description mod_charset_lite -l pl
325 Translacja lub przekodowywanie znaków.
328 Summary: Apache module - Distributed Authoring and Versioning
329 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
330 Group: Networking/Daemons
331 Requires: %{name} = %{version}
334 This module provides class 1 and class 2 WebDAV ('Web-based
335 Distributed Authoring and Versioning') functionality for Apache. This
336 extension to the HTTP protocol allows creating, moving, copying, and
337 deleting resources and collections on a remote web server.
339 %description mod_dav -l pl
340 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
341 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
342 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
343 zdalnym serwerze WWW.
346 Summary: Apache module: Compress content before it is delivered to the client
347 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
348 Group: Networking/Daemons
349 Requires: %{name} = %{version}
351 %description mod_deflate
352 Compress content before it is delivered to the client.
354 %description mod_deflate -l pl
355 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
358 Summary: Apache module for "trailing slash" redirects and serving directory index files
359 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
360 Group: Networking/Daemons
361 Requires: %{name} = %{version}
364 This package contains mod_dir which provides "trailing slash"
365 redirects and serving directory index files.
367 %description mod_dir -l pl
368 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
372 Summary: Apache module allows for the customization of HTTP response headers
373 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
374 Group: Networking/Daemons
375 Requires: %{name} = %{version}
377 %description mod_headers
378 This package contains mod_headers module. The module allows for the
379 customization of HTTP response headers. Headers can be merged,
382 %description mod_headers -l pl
383 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
384 wysy³anych do przegl±darki.
387 Summary: Apache module with imap-file handler
388 Summary(pl): Modu³ z obs³ug± imap-file
389 Group: Networking/Daemons
390 Requires: %{name} = %{version}
392 %description mod_imap
393 This package contains mod_imap module. It provides for .map files,
394 replacing the functionality of the imagemap CGI program. Any directory
395 or document type configured to use the handler imap-file.
397 %description mod_imap -l pl
398 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
401 Summary: Apache module with comprehensive overview of the server configuration
402 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
403 Group: Networking/Daemons
404 Requires: %{name} = %{version}
406 %description mod_info
407 This package contains mod_info module. It provides a comprehensive
408 overview of the server configuration including all installed modules
409 and directives in the configuration files.
411 %description mod_info -l pl
412 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
413 zainstalowanych modu³ach itp.
416 Summary: Apache module with Web proxy
417 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
418 Group: Networking/Daemons
419 Requires: %{name} = %{version}
421 %description mod_proxy
422 This package contains module with implementation a proxy/cache for
423 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
424 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
425 connect to other proxy modules for these and other protocols.
427 %description mod_proxy -l pl
428 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
429 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
433 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
434 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
435 Group: Networking/Daemons
436 Requires: %{name} = %{version}
438 %description mod_rewrite
439 This package contains It provides a rule-based rewriting engine to
440 rewrite requested URLs on the fly.
442 %description mod_rewrite -l pl
443 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
446 Summary: SSL/TLS module for the Apache HTTP server
447 Summary(pl): Modu³ SSL/TSL dla serwera Apache
448 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
449 Group: Networking/Daemons
451 Requires: %{name} = %{version}
454 The mod_ssl module provides strong cryptography for the Apache Web
455 server via the Secure Sockets Layer (SSL) and Transport Layer Security
458 %description mod_ssl -l pl
459 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
460 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
463 %description mod_ssl -l ru
464 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
465 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
468 Summary: Server status report module for apache
469 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
470 Group: Networking/Daemons
471 Requires: %{name} = %{version}
473 %description mod_status
474 The Status module allows a server administrator to find out how well
475 their server is performing. A HTML page is presented that gives the
476 current server statistics in an easily readable form. If required this
477 page can be made to automatically refresh (given a compatible
480 %description mod_status -l pl
481 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
482 pracy serwera apache (w postaci strony HTML).
484 %package mod_usertrack
485 Summary: Apache module for user tracking using cookies
486 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
487 Group: Networking/Daemons
488 Requires: %{name} = %{version}
490 %description mod_usertrack
491 This package contains the user tracking module which did its own
492 logging using CookieLog directory. This module allow multiple log
495 %description mod_usertrack -l pl
496 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
498 %package mod_vhost_alias
499 Summary: Apache module for dynamically configured mass virtual hosting
500 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
501 Group: Networking/Daemons
502 Requires: %{name} = %{version}
504 %description mod_vhost_alias
505 This package contains the mod_vhost_alias. It provides support for
506 dynamically configured mass virtual hosting.
508 %description mod_vhost_alias -l pl
509 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
512 %package mod_unique_id
513 Summary: Apache module which provides a magic token for each request
514 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
515 Group: Networking/Daemons
516 Requires: %{name} = %{version}
518 %description mod_unique_id
519 This package contains the mod_unique_id. This module provides a magic
520 token for each request which is guaranteed to be unique across "all"
521 requests under very specific conditions. The unique identifier is even
522 unique across multiple machines in a properly configured cluster of
523 machines. The environment variable UNIQUE_ID is set to the identifier
524 for each request. Unique identifiers are useful for various reasons
525 which are beyond the scope of this document.
527 %description mod_unique_id -l pl
528 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
529 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
530 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
534 Summary: Apache module which generates Expires HTTP headers
535 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
536 Group: Networking/Daemons
537 Requires: %{name} = %{version}
539 %description mod_expires
540 This module controls the setting of the Expires HTTP header in server
541 responses. The expiration date can set to be relative to either the
542 time the source file was last modified, or to the time of the client
545 %description mod_expires -l pl
546 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
547 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
548 ¼ród³owych lub odwo³ania klienta.
550 %package mod_file_cache
551 Summary: Apache module: Caches a static list of files in memory
552 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
553 Group: Networking/Daemons
554 Obsoletes: %{name}-mmap_static
555 Requires: %{name} = %{version}
557 %description mod_file_cache
558 Caches a static list of files in memory.
560 %description mod_file_cache -l pl
561 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
564 Summary: The Apache Portable Runtime library
565 Summary(pl): Przeno¶na biblioteka Apache
569 The Apache Portable Run-time libraries have been designed to provide a
570 common interface to low level routines across any platform.
572 %description -n apr -l pl
573 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
574 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
575 funkcji na dowolnej platformie.
577 %package -n apr-devel
578 Summary: The includes and linker libraries for development with APR
579 Summary(pl): Pliki nag³ówkowe, biblioteki dla konsolidatora APR
580 Group: Development/Libraries
581 Requires: apr = %{version}
582 Requires: gdbm-devel >= 1.8.3
584 Requires: expat-devel
586 %description -n apr-devel
587 The includes and linker libraries for development with APR.
589 %description -n apr-devel -l pl
590 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
592 #%package -n apr-static
593 #Summary: Static APR libraries
594 #Summary(pl): Statyczne biblioteki APR
595 #Group: Development/Libraries
596 #Requires: apr-devel = %{version}
597 #Requires: gdbm-static >= 1.8.3
599 #Requires: expat-static
601 #%description -n apr-static
602 #Static APR libraries.
604 #%description -n apr-static -l pl
605 #Statyczne biblioteki APR.
608 %setup -q -n httpd-%{version}
616 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
617 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
618 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
623 --enable-layout=PLD \
624 --enable-modules=all \
625 --enable-mods-shared=all \
628 --enable-auth-digest \
629 --enable-file-cache \
632 --enable-charset-lite \
634 --enable-disk-cache \
635 --enable-ext-filter \
636 --enable-case-filter \
637 --enable-case-filter-in \
639 --with-z=%{_prefix} \
640 --enable-mime-magic \
647 --enable-proxy-connect \
649 --enable-proxy-http \
650 %{!?_without_ssl:--enable-ssl} \
651 --enable-optional-hook-export \
652 --enable-optional-hook-import \
653 --enable-optional-fn-import \
654 --enable-optional-fn-export \
661 --enable-vhost-alias \
666 --with-suexec-bin=%{_sbindir}/suexec \
667 --with-suexec-caller=http \
668 --with-suexec-docroot=%{_datadir} \
669 --with-suexec-logfile=/var/log/httpd/suexec_log \
670 --with-suexec-uidmin=500 \
671 --with-suexec-gidmin=500 \
672 --with-suexec-umask=077
677 rm -rf $RPM_BUILD_ROOT
678 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
679 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
682 DESTDIR=$RPM_BUILD_ROOT \
683 installbuilddir=%{_sysconfdir}/build \
684 prefix=%{_sysconfdir}/httpd \
685 libexecdir=%{_libdir}/%{name} \
686 iconsdir=%{_datadir}/icons \
687 errordir=%{_datadir}/error \
688 htdocsdir=%{_datadir}/html \
689 manualdir=%{_datadir}/manual \
690 cgidir=%{_datadir}/cgi-bin \
691 runtimedir=%{_var}/run \
692 logdir=%{_var}/log/httpd \
693 proxycachedir=%{_var}/cache/httpd
695 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
696 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
698 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
699 $RPM_BUILD_ROOT%{_libexecdir}/build
701 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
702 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
704 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
705 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
706 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
708 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
710 %if %{?_without_ssl:0}%{!?_without_ssl:1}
711 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
712 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
713 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
716 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
718 install %{SOURCE6} $CFG/10_httpd.conf
719 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
720 install %{SOURCE9} $CFG/25_mod_status.conf
721 install %{SOURCE10} $CFG/30_mod_proxy.conf
722 install %{SOURCE11} $CFG/35_mod_info.conf
723 install %{SOURCE12} $CFG/40_mod_ssl.conf
724 install %{SOURCE13} $CFG/45_mod_dav.conf
725 install %{SOURCE14} $CFG/59_mod_dir.conf
727 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
728 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
729 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
730 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
731 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
732 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
733 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
734 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
735 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
736 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
737 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
738 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
739 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
740 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
741 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
742 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
743 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
744 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
746 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
749 rm -rf $RPM_BUILD_ROOT
752 if [ -n "`getgid http`" ]; then
753 if [ "`getgid http`" != "51" ]; then
754 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
758 /usr/sbin/groupadd -g 51 -r -f http
760 if [ -n "`id -u http 2>/dev/null`" ]; then
761 if [ "`id -u http`" != "51" ]; then
762 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
766 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
771 /sbin/chkconfig --add httpd
773 touch /var/log/httpd/{access,error,agent,referer}_log
774 if [ -f /var/lock/subsys/httpd ]; then
775 /etc/rc.d/init.d/httpd restart 1>&2
777 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
781 if [ "$1" = "0" ]; then
782 if [ -f /var/lock/subsys/httpd ]; then
783 /etc/rc.d/init.d/httpd stop 1>&2
785 /sbin/chkconfig --del httpd
790 if [ "$1" = "0" ]; then
791 /usr/sbin/userdel http
792 /usr/sbin/groupdel http
796 if [ -f /var/lock/subsys/httpd ]; then
797 /etc/rc.d/init.d/httpd restart 1>&2
799 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
803 if [ "$1" = "0" ]; then
804 if [ -f /var/lock/subsys/httpd ]; then
805 /etc/rc.d/init.d/httpd restart 1>&2
810 if [ -f /var/lock/subsys/httpd ]; then
811 /etc/rc.d/init.d/httpd restart 1>&2
813 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
817 if [ "$1" = "0" ]; then
818 if [ -f /var/lock/subsys/httpd ]; then
819 /etc/rc.d/init.d/httpd restart 1>&2
824 if [ -f /var/lock/subsys/httpd ]; then
825 /etc/rc.d/init.d/httpd restart 1>&2
827 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
831 if [ "$1" = "0" ]; then
832 if [ -f /var/lock/subsys/httpd ]; then
833 /etc/rc.d/init.d/httpd restart 1>&2
838 if [ -f /var/lock/subsys/httpd ]; then
839 /etc/rc.d/init.d/httpd restart 1>&2
841 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
845 if [ "$1" = "0" ]; then
846 if [ -f /var/lock/subsys/httpd ]; then
847 /etc/rc.d/init.d/httpd restart 1>&2
852 if [ -f /var/lock/subsys/httpd ]; then
853 /etc/rc.d/init.d/httpd restart 1>&2
855 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
859 if [ "$1" = "0" ]; then
860 if [ -f /var/lock/subsys/httpd ]; then
861 /etc/rc.d/init.d/httpd restart 1>&2
866 if [ -f /var/lock/subsys/httpd ]; then
867 /etc/rc.d/init.d/httpd restart 1>&2
869 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
873 if [ "$1" = "0" ]; then
874 if [ -f /var/lock/subsys/httpd ]; then
875 /etc/rc.d/init.d/httpd restart 1>&2
879 %post mod_charset_lite
880 if [ -f /var/lock/subsys/httpd ]; then
881 /etc/rc.d/init.d/httpd restart 1>&2
883 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
886 %preun mod_charset_lite
887 if [ "$1" = "0" ]; then
888 if [ -f /var/lock/subsys/httpd ]; then
889 /etc/rc.d/init.d/httpd restart 1>&2
894 if [ -f /var/lock/subsys/httpd ]; then
895 /etc/rc.d/init.d/httpd restart 1>&2
897 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
901 if [ "$1" = "0" ]; then
902 if [ -f /var/lock/subsys/httpd ]; then
903 /etc/rc.d/init.d/httpd restart 1>&2
907 %post mod_auth_digest
908 if [ -f /var/lock/subsys/httpd ]; then
909 /etc/rc.d/init.d/httpd restart 1>&2
911 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
914 %preun mod_auth_digest
915 if [ "$1" = "0" ]; then
916 if [ -f /var/lock/subsys/httpd ]; then
917 /etc/rc.d/init.d/httpd restart 1>&2
922 if [ -f /var/lock/subsys/httpd ]; then
923 /etc/rc.d/init.d/httpd restart 1>&2
925 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
929 if [ "$1" = "0" ]; then
930 if [ -f /var/lock/subsys/httpd ]; then
931 /etc/rc.d/init.d/httpd restart 1>&2
936 if [ -f /var/lock/subsys/httpd ]; then
937 /etc/rc.d/init.d/httpd restart 1>&2
939 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
943 if [ "$1" = "0" ]; then
944 if [ -f /var/lock/subsys/httpd ]; then
945 /etc/rc.d/init.d/httpd restart 1>&2
950 if [ -f /var/lock/subsys/httpd ]; then
951 /etc/rc.d/init.d/httpd restart 1>&2
953 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
957 if [ "$1" = "0" ]; then
958 if [ -f /var/lock/subsys/httpd ]; then
959 /etc/rc.d/init.d/httpd restart 1>&2
964 if [ -f /var/lock/subsys/httpd ]; then
965 /etc/rc.d/init.d/httpd restart 1>&2
967 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
970 %preun mod_file_cache
971 if [ "$1" = "0" ]; then
972 if [ -f /var/lock/subsys/httpd ]; then
973 /etc/rc.d/init.d/httpd restart 1>&2
978 if [ -f /var/lock/subsys/httpd ]; then
979 /etc/rc.d/init.d/httpd restart 1>&2
981 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
985 if [ "$1" = "0" ]; then
986 if [ -f /var/lock/subsys/httpd ]; then
987 /etc/rc.d/init.d/httpd restart 1>&2
992 if [ -f /var/lock/subsys/httpd ]; then
993 /etc/rc.d/init.d/httpd restart 1>&2
995 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
999 if [ "$1" = "0" ]; then
1000 if [ -f /var/lock/subsys/httpd ]; then
1001 /etc/rc.d/init.d/httpd restart 1>&2
1006 if [ -f /var/lock/subsys/httpd ]; then
1007 /etc/rc.d/init.d/httpd restart 1>&2
1009 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1013 if [ "$1" = "0" ]; then
1014 if [ -f /var/lock/subsys/httpd ]; then
1015 /etc/rc.d/init.d/httpd restart 1>&2
1020 if [ -f /var/lock/subsys/httpd ]; then
1021 /etc/rc.d/init.d/httpd restart 1>&2
1023 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1027 if [ "$1" = "0" ]; then
1028 if [ -f /var/lock/subsys/httpd ]; then
1029 /etc/rc.d/init.d/httpd restart 1>&2
1034 if [ -f /var/lock/subsys/httpd ]; then
1035 /etc/rc.d/init.d/httpd restart 1>&2
1037 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1041 if [ "$1" = "0" ]; then
1042 if [ -f /var/lock/subsys/httpd ]; then
1043 /etc/rc.d/init.d/httpd restart 1>&2
1048 if [ -f /var/lock/subsys/httpd ]; then
1049 /etc/rc.d/init.d/httpd restart 1>&2
1051 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1055 if [ "$1" = "0" ]; then
1056 if [ -f /var/lock/subsys/httpd ]; then
1057 /etc/rc.d/init.d/httpd restart 1>&2
1062 if [ -f /var/lock/subsys/httpd ]; then
1063 /etc/rc.d/init.d/httpd restart 1>&2
1065 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1069 if [ "$1" = "0" ]; then
1070 if [ -f /var/lock/subsys/httpd ]; then
1071 /etc/rc.d/init.d/httpd restart 1>&2
1076 if [ -f /var/lock/subsys/httpd ]; then
1077 /etc/rc.d/init.d/httpd restart 1>&2
1079 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1082 %preun mod_usertrack
1083 if [ "$1" = "0" ]; then
1084 if [ -f /var/lock/subsys/httpd ]; then
1085 /etc/rc.d/init.d/httpd restart 1>&2
1090 if [ -f /var/lock/subsys/httpd ]; then
1091 /etc/rc.d/init.d/httpd restart 1>&2
1093 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1096 %preun mod_unique_id
1097 if [ "$1" = "0" ]; then
1098 if [ -f /var/lock/subsys/httpd ]; then
1099 /etc/rc.d/init.d/httpd restart 1>&2
1103 %post mod_vhost_alias
1104 if [ -f /var/lock/subsys/httpd ]; then
1105 /etc/rc.d/init.d/httpd restart 1>&2
1107 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1110 %preun mod_vhost_alias
1111 if [ "$1" = "0" ]; then
1112 if [ -f /var/lock/subsys/httpd ]; then
1113 /etc/rc.d/init.d/httpd restart 1>&2
1117 %post -n apr -p /sbin/ldconfig
1118 %postun -n apr -p /sbin/ldconfig
1121 %defattr(644,root,root,755)
1122 %doc ABOUT_APACHE CHANGES README
1123 %doc docs/conf/mime.types
1125 %attr(754,root,root) /etc/rc.d/init.d/httpd
1127 %attr(750,root,root) %dir %{_sysconfdir}
1128 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1129 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1130 %attr(640,root,root) %{_sysconfdir}/magic
1131 %attr(755,root,root) %dir %{_libexecdir}/build
1132 %attr(755,root,root) %{_libexecdir}/build/*.mk
1133 %attr(755,root,root) %{_libexecdir}/build/*.sh
1134 %attr(755,root,root) %{_libexecdir}/build/libtool
1136 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1137 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1140 %attr(755,root,root) %{_libexecdir}/mod_access.so
1141 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1142 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1143 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1144 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1145 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1146 %attr(755,root,root) %{_libexecdir}/mod_env.so
1147 %attr(755,root,root) %{_libexecdir}/mod_include.so
1148 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1149 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1150 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1151 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1152 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1153 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1154 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1156 # look at TODO on top
1157 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1158 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1159 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1160 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1161 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1162 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1163 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1164 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1166 %attr(755,root,root) %{_sbindir}/htdigest
1168 %attr(755,root,root) %{_sbindir}/ab
1169 %attr(755,root,root) %{_sbindir}/apachectl
1170 %attr(755,root,root) %{_sbindir}/apxs
1171 %attr(755,root,root) %{_sbindir}/checkgid
1172 %attr(755,root,root) %{_sbindir}/httpd
1173 %attr(755,root,root) %{_sbindir}/logresolve
1174 %attr(755,root,root) %{_sbindir}/rotatelogs
1175 %attr(755,root,root) %{_sbindir}/envvars*
1177 %dir %attr(770,root,http) /var/run/apache
1179 %{_mandir}/man1/htdigest.1*
1182 %attr(750,root,root) %dir /var/log/httpd
1183 %attr(750,root,root) %dir /var/log/archiv/httpd
1184 %attr(640,root,root) %ghost /var/log/httpd/*
1187 %dir %{_datadir}/manual
1188 %{_datadir}/manual/LICENSE
1189 %{_datadir}/manual/*.xml
1190 %{_datadir}/manual/*.html.en
1191 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1192 %lang(ja) %{_datadir}/manual/*.xml.ja
1193 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1194 %lang(de) %{_datadir}/manual/*.html.de
1195 %lang(fr) %{_datadir}/manual/*.html.fr
1196 %{_datadir}/manual/developer
1197 %{_datadir}/manual/faq
1198 %dir %{_datadir}/manual/howto
1199 %doc %{_datadir}/manual/howto/*.en
1200 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1201 %dir %{_datadir}/manual/images
1202 %{_datadir}/manual/images/[achips]*
1203 %{_datadir}/manual/misc
1204 %dir %{_datadir}/manual/mod
1205 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1206 %{_datadir}/manual/mod/[acd]*.xml
1207 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1208 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1209 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1210 %{_datadir}/manual/mod/index.xml
1211 %{_datadir}/manual/mod/mpm*.html.en
1212 %{_datadir}/manual/mod/mod_access.html.en
1213 %{_datadir}/manual/mod/mod_alias.html.en
1214 %{_datadir}/manual/mod/mod_asis.html.en
1215 %{_datadir}/manual/mod/mod_autoindex.html.en
1216 %{_datadir}/manual/mod/mod_cern_meta.html.en
1217 %{_datadir}/manual/mod/mod_cgi.html.en
1218 %{_datadir}/manual/mod/mod_env.html.en
1219 %{_datadir}/manual/mod/mod_include.html.en
1220 %{_datadir}/manual/mod/mod_log_config.html.en
1221 %{_datadir}/manual/mod/mod_mime*.html.en
1222 %{_datadir}/manual/mod/mod_negotiation.html.en
1223 %{_datadir}/manual/mod/mod_setenvif.html.en
1224 %{_datadir}/manual/mod/mod_speling.html.en
1225 %{_datadir}/manual/mod/mod_userdir.html.en
1226 %{_datadir}/manual/platform
1227 %{_datadir}/manual/programs
1228 %dir %{_datadir}/manual/search
1229 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1230 %{_datadir}/manual/style
1232 # Having all index.html.LANG files here is very bad idea.
1233 %attr(755,root,root) %dir %{_datadir}/html
1234 %config(noreplace,missingok) %{_datadir}/html/index.html
1235 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1236 %{_datadir}/html/*.gif
1237 %{_datadir}/html/*.png
1239 %attr(755,root,root) %{_datadir}/cgi-bin
1244 %defattr(644,root,root,755)
1245 %attr(4755,root,root) %{_sbindir}/suexec
1246 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1247 %{_datadir}/manual/mod/mod_suexec.html.en
1250 %defattr(644,root,root,755)
1251 %{_includedir}/[!a]*
1252 %{_includedir}/ap[!r]*
1253 %{_libexecdir}/*.exp
1256 %defattr(644,root,root,755)
1260 %defattr(644,root,root,755)
1261 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1262 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1263 %{_datadir}/manual/mod/mod_actions.html.en
1266 %defattr(644,root,root,755)
1267 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1268 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1269 %attr(755,root,root) %{_sbindir}/htpasswd
1270 %{_datadir}/manual/mod/mod_auth.html.en
1271 %{_mandir}/man1/htpasswd.1*
1273 %files mod_auth_anon
1274 %defattr(644,root,root,755)
1275 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1276 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1277 %{_datadir}/manual/mod/mod_auth_anon.html.en
1280 %defattr(644,root,root,755)
1281 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1282 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1283 %attr(755,root,root) %{_sbindir}/dbmmanage
1284 %attr(755,root,root) %{_sbindir}/htdbm
1285 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1286 %{_mandir}/man1/dbmmanage.1*
1288 %files mod_auth_digest
1289 %defattr(644,root,root,755)
1290 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1291 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1292 %{_datadir}/manual/mod/mod_auth_digest.html.en
1295 %defattr(644,root,root,755)
1296 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1297 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1298 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1299 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1300 %{_datadir}/manual/mod/mod_cache.html.en
1303 %defattr(644,root,root,755)
1304 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1305 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1306 %{_datadir}/manual/mod/mod_cgid.html.en
1308 %files mod_charset_lite
1309 %defattr(644,root,root,755)
1310 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1311 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1312 %{_datadir}/manual/mod/mod_charset_lite.html.en
1315 %defattr(644,root,root,755)
1316 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1317 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1318 %{_datadir}/manual/mod/mod_dav*.html.en
1321 %defattr(644,root,root,755)
1322 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1323 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1324 %{_datadir}/manual/mod/mod_deflate.html.en
1327 %defattr(644,root,root,755)
1328 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1329 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1330 %{_datadir}/manual/mod/mod_dir.html.en
1333 %defattr(644,root,root,755)
1334 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1335 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1336 %{_datadir}/manual/mod/mod_expires.html.en
1338 %files mod_file_cache
1339 %defattr(644,root,root,755)
1340 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1341 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1342 %{_datadir}/manual/mod/mod_file_cache.html.en
1345 %defattr(644,root,root,755)
1346 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1347 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1348 %{_datadir}/manual/mod/mod_headers.html.en
1351 %defattr(644,root,root,755)
1352 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1353 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1354 %{_datadir}/manual/mod/mod_imap.html.en
1357 %defattr(644,root,root,755)
1358 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1359 %attr(755,root,root) %{_libexecdir}/mod_info.so
1360 %{_datadir}/manual/mod/mod_info.html.en
1363 %defattr(644,root,root,755)
1364 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1365 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1366 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1367 %attr(770,root,http) /var/cache/apache
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1372 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1373 %{_datadir}/manual/mod/mod_rewrite.html.en
1374 %{_datadir}/manual/images/mod_rewrite*
1376 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1378 %defattr(644,root,root,755)
1379 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1380 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1381 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1382 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1383 %{_datadir}/manual/ssl
1384 %{_datadir}/manual/mod/mod_ssl.html.en
1388 %defattr(644,root,root,755)
1389 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1390 %attr(755,root,root) %{_libexecdir}/mod_status.so
1391 %{_datadir}/manual/mod/mod_status.html.en
1393 %files mod_usertrack
1394 %defattr(644,root,root,755)
1395 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1396 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1397 %{_datadir}/manual/mod/mod_usertrack.html.en
1399 %files mod_unique_id
1400 %defattr(644,root,root,755)
1401 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1402 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1403 %{_datadir}/manual/mod/mod_unique_id.html.en
1405 %files mod_vhost_alias
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1408 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1409 %{_datadir}/manual/vhosts
1410 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_libdir}/libapr*.so.*
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_bindir}/apr-config
1419 %attr(755,root,root) %{_bindir}/apu-config
1421 %{_includedir}/apr*.h
1422 #%%{_libdir}/APRVARS
1424 %attr(755,root,root) %{_libdir}/libapr*.so
1425 %{_libdir}/libapr*.la
1427 #%files -n apr-static
1428 #%defattr(644,root,root,755)
1429 #%{_libdir}/libapr.a