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
87 %define _sysconfdir /etc/httpd
88 %define _includedir %{_prefix}/include/apache
89 %define _datadir /home/services/httpd
90 %define _libexecdir %{_libdir}/apache
93 Apache is a powerful, full-featured, efficient and freely-available
94 Web server. Apache is also the most popular Web server on the
98 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
99 erhältlich und weit verbreitet ist.
102 El servidor web Apache es el mejor servidor gratuito disponible en el
103 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
104 que browsers web vean documentos y sometan datos remotamente. Puede
105 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
106 caché, y nos ofrece características como monitor de estado, conversión
107 dinámica de tipo, y otras más.
110 Apache est un serveur Web puissant, efficace, gratuit et complet.
111 Apache est aussi le serveur Web le plus populaire sur Internet.
114 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
115 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
117 %description -l pt_BR
118 O servidor web Apache é o melhor servidor gratuito disponível no mundo
119 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
120 que browsers web vejam documentos e submetam dados remotamente. Ele
121 pode executar várias funções diferentes, incluindo funções de proxy e
122 cache, e oferece características como monitor de status, conversão
123 dinâmica de tipo, e mais.
126 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
127 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
130 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
134 Summary: Apache suexec wrapper
135 Summary(pl): Wrapper suexec do serwera WWW Apache
136 Group: Development/Tools
137 Requires: %{name} = %{version}
140 The suEXEC feature provides Apache users the ability to run CGI and
141 SSI programs under user IDs different from the user ID of the calling
142 web-server. Normally, when a CGI or SSI program executes, it runs as
143 the same user who is running the web server.
145 %description suexec -l pl
146 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
147 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
148 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
151 Summary: Module development tools for the Apache web server
152 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
153 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
154 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
155 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
156 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
157 Group: Networking/Utilities
158 Requires: %{name} = %{version}
159 Requires: apr-devel = %{version}
162 The apache-devel package contains header files for Apache.
164 %description devel -l es
165 Este paquete contiene los archivos de inclusión para el Apache, bien
166 como el utilitario apxs para la construcción de objetos compartidos
167 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
168 o desarrollar módulos adicionales para Apache.
170 %description devel -l fr
171 Le package apache-devel contient le code source pour le serveur Web
172 Apache et le binaire APXS dont vous aurez besoin pour construire des
173 Objets Dynamiques Partages (DSOs) pour Apache.
175 %description devel -l pl
176 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
177 (Dynamic Shared Objects) dla Apache.
179 %description devel -l ru
180 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
182 %description devel -l pt_BR
183 Este pacote contem os arquivos de inclusão para o Apache, bem como o
184 utilitário apxs para a construção de objetos compartilhados dinâmicos
185 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
186 desenvolver módulos adicionais para o Apache.
189 Summary: Static Apache web server libraries
190 Summary(pl): Statyczne biblioteki serwera WWW Apache
191 Group: Development/Libraries
192 Requires: %{name}-devel = %{version}
195 The apache-static package contains static libraries for Apache.
197 %description static -l pl
198 Statyczne biblioteki serwera Apache.
201 Summary: Apache module for run CGI whenever a file of a certain type is requested
202 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
203 Group: Networking/Daemons
204 Requires: %{name} = %{version}
206 %description mod_actions
207 This package contains mod_actions module. This module lets you run CGI
208 scripts whenever a file of a certain type is requested. This makes it
209 much easier to execute scripts that process files.
211 %description mod_actions -l pl
212 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
213 ¿±danie pobrania pliku okre¶lonego typu.
216 Summary: Apache module with user authentication using textual files
217 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
218 Group: Networking/Daemons
219 Requires: %{name} = %{version}
221 %description mod_auth
222 This package contains mod_auth module. It provides for user
223 authentication using textual files.
225 %description mod_auth -l pl
226 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
227 u¿ytkowników na podstawie plików tekstowych.
229 %package mod_auth_anon
230 Summary: Apache module with "anonymous" user access authentication
231 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
232 Group: Networking/Daemons
233 Requires: %{name} = %{version}
235 %description mod_auth_anon
236 This package contains mod_auth_anon module. It allows "anonymous" user
237 access to authenticated areas. It does access control in a manner
238 similar to anonymous-ftp sites; i.e. have a 'magic' user id
239 'anonymous' and the email address as a password. These email addresses
240 can be logged. Combined with other (database) access control methods,
241 this allows for effective user tracking and customization according to
242 a user profile while still keeping the site open for 'unregistered'
243 users. One advantage of using Auth-based user tracking is that, unlike
244 magic-cookies and funny URL pre/postfixes, it is completely browser
245 independent and it allows users to share URLs.
247 %description mod_auth_anon -l pl
248 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
249 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
250 adresu pocztowego u¿ytkownika).
252 %package mod_auth_dbm
253 Summary: Apache module with user authentication which uses DBM files
254 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
255 Group: Networking/Daemons
256 Obsoletes: %{name}-mod_auth_db
257 Requires: %{name} = %{version}
259 %description mod_auth_dbm
260 This module provides for HTTP Basic Authentication, where the
261 usernames and passwords are stored in DBM type database files. It is
262 an alternative to the plain text password files provided by mod_auth.
264 %description mod_auth_dbm -l pl
265 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
266 ich has³a s± trzymane w plikach bazy typu DBM.
268 %package mod_auth_digest
269 Summary: Apache user authentication module using MD5 Digest Authentication
270 Summary(pl): Modu³ Apache'a do autoryzacji MD5
271 Group: Networking/Daemons
272 Obsoletes: apache-mod_digest
273 Requires: %{name} = %{version}
275 %description mod_auth_digest
276 This package contains mod_digest module. It provides user
277 authentication using MD5 Digest Authentication.
279 %description mod_auth_digest -l pl
280 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
284 Summary: Content cache keyed to URIs
285 Summary(pl): Pamiêæ podrêczna wg klucza URI
286 Group: Networking/Daemons
287 Requires: %{name} = %{version}
289 %description mod_cache
290 mod_cache implements an RFC 2616 compliant HTTP content cache that can
291 be used to cache either local or proxied content. Two storage
292 management modules are included in the base Apache distribution:
293 mod_disk_cache implements a disk based storage manager (generally used
294 for proxy caching) and mod_mem_cache implements an in-memory based
295 storage manager (primarily useful for caching local content).
297 %description mod_cache -l pl
298 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
299 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
300 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
301 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
302 (u¿ywane do cacheowania proxy).
305 Summary: Execution of CGI scripts using an external CGI daemon
306 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
307 Group: Networking/Daemons
308 Requires: %{name} = %{version}
310 %description mod_cgid
311 Execution of CGI scripts using an external CGI daemon.
313 %description mod_cgid -l pl
314 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
316 %package mod_charset_lite
317 Summary: Specify character set translation or recoding
318 Summary(pl): Translacja lub przekodowywanie znaków
319 Group: Networking/Daemons
320 Requires: %{name} = %{version}
322 %description mod_charset_lite
323 Specify character set translation or recoding.
325 %description mod_charset_lite -l pl
326 Translacja lub przekodowywanie znaków.
329 Summary: Apache module - Distributed Authoring and Versioning
330 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
331 Group: Networking/Daemons
332 Requires: %{name} = %{version}
335 This module provides class 1 and class 2 WebDAV ('Web-based
336 Distributed Authoring and Versioning') functionality for Apache. This
337 extension to the HTTP protocol allows creating, moving, copying, and
338 deleting resources and collections on a remote web server.
340 %description mod_dav -l pl
341 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
342 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
343 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
344 zdalnym serwerze WWW.
347 Summary: Apache module: Compress content before it is delivered to the client
348 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
349 Group: Networking/Daemons
350 Requires: %{name} = %{version}
352 %description mod_deflate
353 Compress content before it is delivered to the client.
355 %description mod_deflate -l pl
356 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
359 Summary: Apache module for "trailing slash" redirects and serving directory index files
360 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
361 Group: Networking/Daemons
362 Requires: %{name} = %{version}
365 This package contains mod_dir which provides "trailing slash"
366 redirects and serving directory index files.
368 %description mod_dir -l pl
369 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
373 Summary: Apache module allows for the customization of HTTP response headers
374 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
375 Group: Networking/Daemons
376 Requires: %{name} = %{version}
378 %description mod_headers
379 This package contains mod_headers module. The module allows for the
380 customization of HTTP response headers. Headers can be merged,
383 %description mod_headers -l pl
384 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
385 wysy³anych do przegl±darki.
388 Summary: Apache module with imap-file handler
389 Summary(pl): Modu³ z obs³ug± imap-file
390 Group: Networking/Daemons
391 Requires: %{name} = %{version}
393 %description mod_imap
394 This package contains mod_imap module. It provides for .map files,
395 replacing the functionality of the imagemap CGI program. Any directory
396 or document type configured to use the handler imap-file.
398 %description mod_imap -l pl
399 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
402 Summary: Apache module with comprehensive overview of the server configuration
403 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
404 Group: Networking/Daemons
405 Requires: %{name} = %{version}
407 %description mod_info
408 This package contains mod_info module. It provides a comprehensive
409 overview of the server configuration including all installed modules
410 and directives in the configuration files.
412 %description mod_info -l pl
413 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
414 zainstalowanych modu³ach itp.
417 Summary: Apache module with Web proxy
418 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
419 Group: Networking/Daemons
420 Requires: %{name} = %{version}
422 %description mod_proxy
423 This package contains module with implementation a proxy/cache for
424 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
425 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
426 connect to other proxy modules for these and other protocols.
428 %description mod_proxy -l pl
429 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
430 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
434 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
435 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
436 Group: Networking/Daemons
437 Requires: %{name} = %{version}
439 %description mod_rewrite
440 This package contains It provides a rule-based rewriting engine to
441 rewrite requested URLs on the fly.
443 %description mod_rewrite -l pl
444 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
447 Summary: SSL/TLS module for the Apache HTTP server
448 Summary(pl): Modu³ SSL/TSL dla serwera Apache
449 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
450 Group: Networking/Daemons
452 Requires: %{name} = %{version}
455 The mod_ssl module provides strong cryptography for the Apache Web
456 server via the Secure Sockets Layer (SSL) and Transport Layer Security
459 %description mod_ssl -l pl
460 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
461 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
464 %description mod_ssl -l ru
465 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
466 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
469 Summary: Server status report module for apache
470 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
471 Group: Networking/Daemons
472 Requires: %{name} = %{version}
474 %description mod_status
475 The Status module allows a server administrator to find out how well
476 their server is performing. A HTML page is presented that gives the
477 current server statistics in an easily readable form. If required this
478 page can be made to automatically refresh (given a compatible
481 %description mod_status -l pl
482 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
483 pracy serwera apache (w postaci strony HTML).
485 %package mod_usertrack
486 Summary: Apache module for user tracking using cookies
487 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
488 Group: Networking/Daemons
489 Requires: %{name} = %{version}
491 %description mod_usertrack
492 This package contains the user tracking module which did its own
493 logging using CookieLog directory. This module allow multiple log
496 %description mod_usertrack -l pl
497 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
499 %package mod_vhost_alias
500 Summary: Apache module for dynamically configured mass virtual hosting
501 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
502 Group: Networking/Daemons
503 Requires: %{name} = %{version}
505 %description mod_vhost_alias
506 This package contains the mod_vhost_alias. It provides support for
507 dynamically configured mass virtual hosting.
509 %description mod_vhost_alias -l pl
510 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
513 %package mod_unique_id
514 Summary: Apache module which provides a magic token for each request
515 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
516 Group: Networking/Daemons
517 Requires: %{name} = %{version}
519 %description mod_unique_id
520 This package contains the mod_unique_id. This module provides a magic
521 token for each request which is guaranteed to be unique across "all"
522 requests under very specific conditions. The unique identifier is even
523 unique across multiple machines in a properly configured cluster of
524 machines. The environment variable UNIQUE_ID is set to the identifier
525 for each request. Unique identifiers are useful for various reasons
526 which are beyond the scope of this document.
528 %description mod_unique_id -l pl
529 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
530 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
531 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
535 Summary: Apache module which generates Expires HTTP headers
536 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
537 Group: Networking/Daemons
538 Requires: %{name} = %{version}
540 %description mod_expires
541 This module controls the setting of the Expires HTTP header in server
542 responses. The expiration date can set to be relative to either the
543 time the source file was last modified, or to the time of the client
546 %description mod_expires -l pl
547 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
548 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
549 ¼ród³owych lub odwo³ania klienta.
551 %package mod_file_cache
552 Summary: Apache module: Caches a static list of files in memory
553 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
554 Group: Networking/Daemons
555 Obsoletes: %{name}-mmap_static
556 Requires: %{name} = %{version}
558 %description mod_file_cache
559 Caches a static list of files in memory.
561 %description mod_file_cache -l pl
562 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
565 Summary: The Apache Portable Runtime library
566 Summary(pl): Przeno¶na biblioteka Apache
570 The Apache Portable Run-time libraries have been designed to provide a
571 common interface to low level routines across any platform.
573 %description -n apr -l pl
574 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
575 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
576 funkcji na dowolnej platformie.
578 %package -n apr-devel
579 Summary: The includes and linker libraries for development with APR
580 Summary(pl): Pliki nag³ówkowe, biblioteki dla konsolidatora APR
581 Group: Development/Libraries
582 Requires: apr = %{version}
583 Requires: gdbm-devel >= 1.8.3
585 Requires: expat-devel
587 %description -n apr-devel
588 The includes and linker libraries for development with APR.
590 %description -n apr-devel -l pl
591 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
593 #%package -n apr-static
594 #Summary: Static APR libraries
595 #Summary(pl): Statyczne biblioteki APR
596 #Group: Development/Libraries
597 #Requires: apr-devel = %{version}
598 #Requires: gdbm-static >= 1.8.3
600 #Requires: expat-static
602 #%description -n apr-static
603 #Static APR libraries.
605 #%description -n apr-static -l pl
606 #Statyczne biblioteki APR.
609 %setup -q -n httpd-%{version}
617 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
618 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
619 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
624 --enable-layout=PLD \
625 --enable-modules=all \
626 --enable-mods-shared=all \
629 --enable-auth-digest \
630 --enable-file-cache \
633 --enable-charset-lite \
635 --enable-disk-cache \
636 --enable-ext-filter \
637 --enable-case-filter \
638 --enable-case-filter-in \
640 --with-z=%{_prefix} \
641 --enable-mime-magic \
648 --enable-proxy-connect \
650 --enable-proxy-http \
651 %{!?_without_ssl:--enable-ssl} \
652 --enable-optional-hook-export \
653 --enable-optional-hook-import \
654 --enable-optional-fn-import \
655 --enable-optional-fn-export \
662 --enable-vhost-alias \
667 --with-suexec-bin=%{_sbindir}/suexec \
668 --with-suexec-caller=http \
669 --with-suexec-docroot=%{_datadir} \
670 --with-suexec-logfile=/var/log/httpd/suexec_log \
671 --with-suexec-uidmin=500 \
672 --with-suexec-gidmin=500 \
673 --with-suexec-umask=077
678 rm -rf $RPM_BUILD_ROOT
679 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
680 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
683 DESTDIR=$RPM_BUILD_ROOT \
684 installbuilddir=%{_sysconfdir}/build \
685 prefix=%{_sysconfdir}/httpd \
686 libexecdir=%{_libdir}/%{name} \
687 iconsdir=%{_datadir}/icons \
688 errordir=%{_datadir}/error \
689 htdocsdir=%{_datadir}/html \
690 manualdir=%{_datadir}/manual \
691 cgidir=%{_datadir}/cgi-bin \
692 runtimedir=%{_var}/run \
693 logdir=%{_var}/log/httpd \
694 proxycachedir=%{_var}/cache/httpd
696 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
697 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
699 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
700 $RPM_BUILD_ROOT%{_libexecdir}/build
702 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
703 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
705 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
706 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
707 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
709 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
711 %if %{?_without_ssl:0}%{!?_without_ssl:1}
712 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
713 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
714 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
717 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
719 install %{SOURCE6} $CFG/10_httpd.conf
720 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
721 install %{SOURCE9} $CFG/25_mod_status.conf
722 install %{SOURCE10} $CFG/30_mod_proxy.conf
723 install %{SOURCE11} $CFG/35_mod_info.conf
724 install %{SOURCE12} $CFG/40_mod_ssl.conf
725 install %{SOURCE13} $CFG/45_mod_dav.conf
726 install %{SOURCE14} $CFG/59_mod_dir.conf
728 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
729 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
730 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
731 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
732 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
733 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
734 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
735 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
736 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
737 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
738 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
739 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
740 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
741 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
742 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
743 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
744 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
745 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
747 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
750 rm -rf $RPM_BUILD_ROOT
753 if [ -n "`getgid http`" ]; then
754 if [ "`getgid http`" != "51" ]; then
755 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
759 /usr/sbin/groupadd -g 51 -r -f http
761 if [ -n "`id -u http 2>/dev/null`" ]; then
762 if [ "`id -u http`" != "51" ]; then
763 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
767 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
772 /sbin/chkconfig --add httpd
774 touch /var/log/httpd/{access,error,agent,referer}_log
775 if [ -f /var/lock/subsys/httpd ]; then
776 /etc/rc.d/init.d/httpd restart 1>&2
778 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
782 if [ "$1" = "0" ]; then
783 if [ -f /var/lock/subsys/httpd ]; then
784 /etc/rc.d/init.d/httpd stop 1>&2
786 /sbin/chkconfig --del httpd
791 if [ "$1" = "0" ]; then
792 /usr/sbin/userdel http
793 /usr/sbin/groupdel http
797 if [ -f /var/lock/subsys/httpd ]; then
798 /etc/rc.d/init.d/httpd restart 1>&2
800 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
804 if [ "$1" = "0" ]; then
805 if [ -f /var/lock/subsys/httpd ]; then
806 /etc/rc.d/init.d/httpd restart 1>&2
811 if [ -f /var/lock/subsys/httpd ]; then
812 /etc/rc.d/init.d/httpd restart 1>&2
814 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
818 if [ "$1" = "0" ]; then
819 if [ -f /var/lock/subsys/httpd ]; then
820 /etc/rc.d/init.d/httpd restart 1>&2
825 if [ -f /var/lock/subsys/httpd ]; then
826 /etc/rc.d/init.d/httpd restart 1>&2
828 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
832 if [ "$1" = "0" ]; then
833 if [ -f /var/lock/subsys/httpd ]; then
834 /etc/rc.d/init.d/httpd restart 1>&2
839 if [ -f /var/lock/subsys/httpd ]; then
840 /etc/rc.d/init.d/httpd restart 1>&2
842 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
846 if [ "$1" = "0" ]; then
847 if [ -f /var/lock/subsys/httpd ]; then
848 /etc/rc.d/init.d/httpd restart 1>&2
853 if [ -f /var/lock/subsys/httpd ]; then
854 /etc/rc.d/init.d/httpd restart 1>&2
856 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
860 if [ "$1" = "0" ]; then
861 if [ -f /var/lock/subsys/httpd ]; then
862 /etc/rc.d/init.d/httpd restart 1>&2
867 if [ -f /var/lock/subsys/httpd ]; then
868 /etc/rc.d/init.d/httpd restart 1>&2
870 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
874 if [ "$1" = "0" ]; then
875 if [ -f /var/lock/subsys/httpd ]; then
876 /etc/rc.d/init.d/httpd restart 1>&2
880 %post mod_charset_lite
881 if [ -f /var/lock/subsys/httpd ]; then
882 /etc/rc.d/init.d/httpd restart 1>&2
884 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
887 %preun mod_charset_lite
888 if [ "$1" = "0" ]; then
889 if [ -f /var/lock/subsys/httpd ]; then
890 /etc/rc.d/init.d/httpd restart 1>&2
895 if [ -f /var/lock/subsys/httpd ]; then
896 /etc/rc.d/init.d/httpd restart 1>&2
898 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
902 if [ "$1" = "0" ]; then
903 if [ -f /var/lock/subsys/httpd ]; then
904 /etc/rc.d/init.d/httpd restart 1>&2
908 %post mod_auth_digest
909 if [ -f /var/lock/subsys/httpd ]; then
910 /etc/rc.d/init.d/httpd restart 1>&2
912 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
915 %preun mod_auth_digest
916 if [ "$1" = "0" ]; then
917 if [ -f /var/lock/subsys/httpd ]; then
918 /etc/rc.d/init.d/httpd restart 1>&2
923 if [ -f /var/lock/subsys/httpd ]; then
924 /etc/rc.d/init.d/httpd restart 1>&2
926 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
930 if [ "$1" = "0" ]; then
931 if [ -f /var/lock/subsys/httpd ]; then
932 /etc/rc.d/init.d/httpd restart 1>&2
937 if [ -f /var/lock/subsys/httpd ]; then
938 /etc/rc.d/init.d/httpd restart 1>&2
940 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
944 if [ "$1" = "0" ]; then
945 if [ -f /var/lock/subsys/httpd ]; then
946 /etc/rc.d/init.d/httpd restart 1>&2
951 if [ -f /var/lock/subsys/httpd ]; then
952 /etc/rc.d/init.d/httpd restart 1>&2
954 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
958 if [ "$1" = "0" ]; then
959 if [ -f /var/lock/subsys/httpd ]; then
960 /etc/rc.d/init.d/httpd restart 1>&2
965 if [ -f /var/lock/subsys/httpd ]; then
966 /etc/rc.d/init.d/httpd restart 1>&2
968 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
971 %preun mod_file_cache
972 if [ "$1" = "0" ]; then
973 if [ -f /var/lock/subsys/httpd ]; then
974 /etc/rc.d/init.d/httpd restart 1>&2
979 if [ -f /var/lock/subsys/httpd ]; then
980 /etc/rc.d/init.d/httpd restart 1>&2
982 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
986 if [ "$1" = "0" ]; then
987 if [ -f /var/lock/subsys/httpd ]; then
988 /etc/rc.d/init.d/httpd restart 1>&2
993 if [ -f /var/lock/subsys/httpd ]; then
994 /etc/rc.d/init.d/httpd restart 1>&2
996 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1000 if [ "$1" = "0" ]; then
1001 if [ -f /var/lock/subsys/httpd ]; then
1002 /etc/rc.d/init.d/httpd restart 1>&2
1007 if [ -f /var/lock/subsys/httpd ]; then
1008 /etc/rc.d/init.d/httpd restart 1>&2
1010 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1014 if [ "$1" = "0" ]; then
1015 if [ -f /var/lock/subsys/httpd ]; then
1016 /etc/rc.d/init.d/httpd restart 1>&2
1021 if [ -f /var/lock/subsys/httpd ]; then
1022 /etc/rc.d/init.d/httpd restart 1>&2
1024 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1028 if [ "$1" = "0" ]; then
1029 if [ -f /var/lock/subsys/httpd ]; then
1030 /etc/rc.d/init.d/httpd restart 1>&2
1035 if [ -f /var/lock/subsys/httpd ]; then
1036 /etc/rc.d/init.d/httpd restart 1>&2
1038 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1042 if [ "$1" = "0" ]; then
1043 if [ -f /var/lock/subsys/httpd ]; then
1044 /etc/rc.d/init.d/httpd restart 1>&2
1049 if [ -f /var/lock/subsys/httpd ]; then
1050 /etc/rc.d/init.d/httpd restart 1>&2
1052 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1056 if [ "$1" = "0" ]; then
1057 if [ -f /var/lock/subsys/httpd ]; then
1058 /etc/rc.d/init.d/httpd restart 1>&2
1063 if [ -f /var/lock/subsys/httpd ]; then
1064 /etc/rc.d/init.d/httpd restart 1>&2
1066 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1070 if [ "$1" = "0" ]; then
1071 if [ -f /var/lock/subsys/httpd ]; then
1072 /etc/rc.d/init.d/httpd restart 1>&2
1077 if [ -f /var/lock/subsys/httpd ]; then
1078 /etc/rc.d/init.d/httpd restart 1>&2
1080 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1083 %preun mod_usertrack
1084 if [ "$1" = "0" ]; then
1085 if [ -f /var/lock/subsys/httpd ]; then
1086 /etc/rc.d/init.d/httpd restart 1>&2
1091 if [ -f /var/lock/subsys/httpd ]; then
1092 /etc/rc.d/init.d/httpd restart 1>&2
1094 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1097 %preun mod_unique_id
1098 if [ "$1" = "0" ]; then
1099 if [ -f /var/lock/subsys/httpd ]; then
1100 /etc/rc.d/init.d/httpd restart 1>&2
1104 %post mod_vhost_alias
1105 if [ -f /var/lock/subsys/httpd ]; then
1106 /etc/rc.d/init.d/httpd restart 1>&2
1108 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1111 %preun mod_vhost_alias
1112 if [ "$1" = "0" ]; then
1113 if [ -f /var/lock/subsys/httpd ]; then
1114 /etc/rc.d/init.d/httpd restart 1>&2
1118 %post -n apr -p /sbin/ldconfig
1119 %postun -n apr -p /sbin/ldconfig
1122 %defattr(644,root,root,755)
1123 %doc ABOUT_APACHE CHANGES README
1124 %doc docs/conf/mime.types
1126 %attr(754,root,root) /etc/rc.d/init.d/httpd
1128 %attr(750,root,root) %dir %{_sysconfdir}
1129 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1130 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1131 %attr(640,root,root) %{_sysconfdir}/magic
1132 %attr(755,root,root) %dir %{_libexecdir}/build
1133 %attr(755,root,root) %{_libexecdir}/build/*.mk
1134 %attr(755,root,root) %{_libexecdir}/build/*.sh
1135 %attr(755,root,root) %{_libexecdir}/build/libtool
1137 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1138 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1141 %attr(755,root,root) %{_libexecdir}/mod_access.so
1142 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1143 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1144 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1145 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1146 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1147 %attr(755,root,root) %{_libexecdir}/mod_env.so
1148 %attr(755,root,root) %{_libexecdir}/mod_include.so
1149 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1150 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1151 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1152 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1153 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1154 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1155 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1157 # look at TODO on top
1158 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1159 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1160 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1161 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1162 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1163 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1164 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1165 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1167 %attr(755,root,root) %{_sbindir}/htdigest
1169 %attr(755,root,root) %{_sbindir}/ab
1170 %attr(755,root,root) %{_sbindir}/apachectl
1171 %attr(755,root,root) %{_sbindir}/apxs
1172 %attr(755,root,root) %{_sbindir}/checkgid
1173 %attr(755,root,root) %{_sbindir}/httpd
1174 %attr(755,root,root) %{_sbindir}/logresolve
1175 %attr(755,root,root) %{_sbindir}/rotatelogs
1176 %attr(755,root,root) %{_sbindir}/envvars*
1178 %dir %attr(770,root,http) /var/run/apache
1180 %{_mandir}/man1/htdigest.1*
1183 %attr(750,root,root) %dir /var/log/httpd
1184 %attr(750,root,root) %dir /var/log/archiv/httpd
1185 %attr(640,root,root) %ghost /var/log/httpd/*
1188 %dir %{_datadir}/manual
1189 %{_datadir}/manual/LICENSE
1190 %{_datadir}/manual/*.xml
1191 %{_datadir}/manual/*.html.en
1192 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1193 %lang(ja) %{_datadir}/manual/*.xml.ja
1194 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1195 %lang(de) %{_datadir}/manual/*.html.de
1196 %lang(fr) %{_datadir}/manual/*.html.fr
1197 %{_datadir}/manual/developer
1198 %{_datadir}/manual/faq
1199 %dir %{_datadir}/manual/howto
1200 %doc %{_datadir}/manual/howto/*.en
1201 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1202 %dir %{_datadir}/manual/images
1203 %{_datadir}/manual/images/[achips]*
1204 %{_datadir}/manual/misc
1205 %dir %{_datadir}/manual/mod
1206 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1207 %{_datadir}/manual/mod/[acd]*.xml
1208 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1209 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1210 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1211 %{_datadir}/manual/mod/index.xml
1212 %{_datadir}/manual/mod/mpm*.html.en
1213 %{_datadir}/manual/mod/mod_access.html.en
1214 %{_datadir}/manual/mod/mod_alias.html.en
1215 %{_datadir}/manual/mod/mod_asis.html.en
1216 %{_datadir}/manual/mod/mod_autoindex.html.en
1217 %{_datadir}/manual/mod/mod_cern_meta.html.en
1218 %{_datadir}/manual/mod/mod_cgi.html.en
1219 %{_datadir}/manual/mod/mod_env.html.en
1220 %{_datadir}/manual/mod/mod_include.html.en
1221 %{_datadir}/manual/mod/mod_log_config.html.en
1222 %{_datadir}/manual/mod/mod_mime*.html.en
1223 %{_datadir}/manual/mod/mod_negotiation.html.en
1224 %{_datadir}/manual/mod/mod_setenvif.html.en
1225 %{_datadir}/manual/mod/mod_speling.html.en
1226 %{_datadir}/manual/mod/mod_userdir.html.en
1227 %{_datadir}/manual/platform
1228 %{_datadir}/manual/programs
1229 %dir %{_datadir}/manual/search
1230 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1231 %{_datadir}/manual/style
1233 # Having all index.html.LANG files here is very bad idea.
1234 %attr(755,root,root) %dir %{_datadir}/html
1235 %config(noreplace,missingok) %{_datadir}/html/index.html
1236 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1237 %{_datadir}/html/*.gif
1238 %{_datadir}/html/*.png
1240 %attr(755,root,root) %{_datadir}/cgi-bin
1245 %defattr(644,root,root,755)
1246 %attr(4755,root,root) %{_sbindir}/suexec
1247 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1248 %{_datadir}/manual/mod/mod_suexec.html.en
1251 %defattr(644,root,root,755)
1252 %{_includedir}/[!a]*
1253 %{_includedir}/ap[!r]*
1254 %{_libexecdir}/*.exp
1257 %defattr(644,root,root,755)
1261 %defattr(644,root,root,755)
1262 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1263 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1264 %{_datadir}/manual/mod/mod_actions.html.en
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1269 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1270 %attr(755,root,root) %{_sbindir}/htpasswd
1271 %{_datadir}/manual/mod/mod_auth.html.en
1272 %{_mandir}/man1/htpasswd.1*
1274 %files mod_auth_anon
1275 %defattr(644,root,root,755)
1276 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1277 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1278 %{_datadir}/manual/mod/mod_auth_anon.html.en
1281 %defattr(644,root,root,755)
1282 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1283 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1284 %attr(755,root,root) %{_sbindir}/dbmmanage
1285 %attr(755,root,root) %{_sbindir}/htdbm
1286 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1287 %{_mandir}/man1/dbmmanage.1*
1289 %files mod_auth_digest
1290 %defattr(644,root,root,755)
1291 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1292 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1293 %{_datadir}/manual/mod/mod_auth_digest.html.en
1296 %defattr(644,root,root,755)
1297 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1298 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1299 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1300 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1301 %{_datadir}/manual/mod/mod_cache.html.en
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1306 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1307 %{_datadir}/manual/mod/mod_cgid.html.en
1309 %files mod_charset_lite
1310 %defattr(644,root,root,755)
1311 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1312 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1313 %{_datadir}/manual/mod/mod_charset_lite.html.en
1316 %defattr(644,root,root,755)
1317 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1318 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1319 %{_datadir}/manual/mod/mod_dav*.html.en
1322 %defattr(644,root,root,755)
1323 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1324 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1325 %{_datadir}/manual/mod/mod_deflate.html.en
1328 %defattr(644,root,root,755)
1329 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1330 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1331 %{_datadir}/manual/mod/mod_dir.html.en
1334 %defattr(644,root,root,755)
1335 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1336 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1337 %{_datadir}/manual/mod/mod_expires.html.en
1339 %files mod_file_cache
1340 %defattr(644,root,root,755)
1341 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1342 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1343 %{_datadir}/manual/mod/mod_file_cache.html.en
1346 %defattr(644,root,root,755)
1347 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1348 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1349 %{_datadir}/manual/mod/mod_headers.html.en
1352 %defattr(644,root,root,755)
1353 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1354 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1355 %{_datadir}/manual/mod/mod_imap.html.en
1358 %defattr(644,root,root,755)
1359 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1360 %attr(755,root,root) %{_libexecdir}/mod_info.so
1361 %{_datadir}/manual/mod/mod_info.html.en
1364 %defattr(644,root,root,755)
1365 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1366 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1367 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1368 %attr(770,root,http) /var/cache/apache
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1374 %{_datadir}/manual/mod/mod_rewrite.html.en
1375 %{_datadir}/manual/images/mod_rewrite*
1377 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1379 %defattr(644,root,root,755)
1380 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1381 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1382 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1383 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1384 %{_datadir}/manual/ssl
1385 %{_datadir}/manual/mod/mod_ssl.html.en
1389 %defattr(644,root,root,755)
1390 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1391 %attr(755,root,root) %{_libexecdir}/mod_status.so
1392 %{_datadir}/manual/mod/mod_status.html.en
1394 %files mod_usertrack
1395 %defattr(644,root,root,755)
1396 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1397 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1398 %{_datadir}/manual/mod/mod_usertrack.html.en
1400 %files mod_unique_id
1401 %defattr(644,root,root,755)
1402 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1403 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1404 %{_datadir}/manual/mod/mod_unique_id.html.en
1406 %files mod_vhost_alias
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1409 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1410 %{_datadir}/manual/vhosts
1411 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_libdir}/libapr*.so.*
1418 %defattr(644,root,root,755)
1419 %attr(755,root,root) %{_bindir}/apr-config
1420 %attr(755,root,root) %{_bindir}/apu-config
1422 %{_includedir}/apr*.h
1423 #%%{_libdir}/APRVARS
1425 %attr(755,root,root) %{_libdir}/libapr*.so
1426 %{_libdir}/libapr*.la
1428 #%files -n apr-static
1429 #%defattr(644,root,root,755)
1430 #%{_libdir}/libapr.a