1 # _without_ssl - don't build with SSL support
5 # - mod_optional_fn_{export,import}
6 # - mod_optional_hook_{export,import}
9 # - config examples for mod_*
10 # - switch from worker to perchild when it will be working in apache
11 # - check if all modules are (de)registered in %%post/%%postun
12 # - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
13 # - add %%post/%%postun to suexec
14 # - --with-suexec-gidmin=500 or =100 ?
15 # - --with-suexec-uidmin=500 or =1000 ?
16 %include /usr/lib/rpm/macros.perl
17 Summary: The most widely used Web server on the Internet
18 Summary(de): Leading World Wide Web-Server
19 Summary(es): Servidor HTTPD para proveer servicios WWW
20 Summary(fr): Le serveur web le plus utilise sur Internet
21 Summary(pl): Serwer WWW (World Wide Web)
22 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
23 Summary(ru): óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
24 Summary(tr): Lider WWW tarayýcý
28 License: Apache Group License
29 Group: Networking/Daemons
30 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
31 # Source0-md5: 63f16638c18b140b649fab32b54d7f9c
33 Source2: %{name}.logrotate
34 Source3: %{name}-icons.tar.gz
35 # Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
36 Source4: %{name}.sysconfig
37 Source6: %{name}-httpd.conf
38 Source8: %{name}-mod_vhost_alias.conf
39 Source9: %{name}-mod_status.conf
40 Source10: %{name}-mod_proxy.conf
41 Source11: %{name}-mod_info.conf
42 Source12: %{name}-mod_ssl.conf
43 Source13: %{name}-mod_dav.conf
44 Source14: %{name}-mod_dir.conf
45 Source20: %{name}-server.crt
46 Source21: %{name}-server.key
47 Patch0: %{name}-configdir_skip_backups.patch
48 Patch1: %{name}-layout.patch
49 Patch2: %{name}-suexec.patch
50 Patch3: %{name}-nolibs.patch
51 URL: http://httpd.apache.org/
52 BuildRequires: db-devel
53 BuildRequires: expat-devel
54 BuildRequires: gdbm-devel >= 1.8.3
55 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
56 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
57 BuildRequires: perl-devel >= 5.004
58 BuildRequires: rpm-perlprov >= 4.0.4
59 BuildRequires: zlib-devel
60 BuildRequires: libtool
63 Requires(pre): /bin/id
64 Requires(pre): /usr/bin/getgid
65 Requires(pre): /usr/sbin/groupadd
66 Requires(pre): /usr/sbin/useradd
67 Requires(postun): /usr/sbin/userdel
68 Requires(postun): /usr/sbin/groupdel
69 Requires(post,preun): /sbin/chkconfig
70 Requires(post,postun): /sbin/ldconfig
71 Requires(post): fileutils
72 Requires: /etc/mime.types
74 Requires: psmisc >= 20.1
75 Provides: httpd = %{version}
76 Provides: webserver = %{version}
77 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78 Obsoletes: apache-extra
83 %define _sysconfdir /etc/httpd
84 %define _includedir %{_prefix}/include/apache
85 %define _datadir /home/services/httpd
86 %define _libexecdir %{_libdir}/apache
89 Apache is a powerful, full-featured, efficient and freely-available
90 Web server. Apache is also the most popular Web server on the
94 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
95 erhältlich und weit verbreitet ist.
98 El servidor web Apache es el mejor servidor gratuito disponible en el
99 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
100 que browsers web vean documentos y sometan datos remotamente. Puede
101 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
102 caché, y nos ofrece características como monitor de estado, conversión
103 dinámica de tipo, y otras más.
106 Apache est un serveur Web puissant, efficace, gratuit et complet.
107 Apache est aussi le serveur Web le plus populaire sur Internet.
110 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
111 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
113 %description -l pt_BR
114 O servidor web Apache é o melhor servidor gratuito disponível no mundo
115 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
116 que browsers web vejam documentos e submetam dados remotamente. Ele
117 pode executar várias funções diferentes, incluindo funções de proxy e
118 cache, e oferece características como monitor de status, conversão
119 dinâmica de tipo, e mais.
122 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
123 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
126 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
130 Summary: Apache suexec wrapper
131 Summary(pl): Wrapper suexec do serwera WWW Apache
132 Group: Development/Tools
133 Requires: %{name} = %{version}
136 The suEXEC feature provides Apache users the ability to run CGI and
137 SSI programs under user IDs different from the user ID of the calling
138 web-server. Normally, when a CGI or SSI program executes, it runs as
139 the same user who is running the web server.
141 %description suexec -l pl
142 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
143 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
144 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
147 Summary: Module development tools for the Apache web server
148 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
149 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
150 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
151 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
152 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
153 Group: Networking/Utilities
154 Requires: %{name} = %{version}
155 Requires: apr-devel = %{version}
158 The apache-devel package contains header files for Apache.
160 %description devel -l es
161 Este paquete contiene los archivos de inclusión para el Apache, bien
162 como el utilitario apxs para la construcción de objetos compartidos
163 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
164 o desarrollar módulos adicionales para Apache.
166 %description devel -l fr
167 Le package apache-devel contient le code source pour le serveur Web
168 Apache et le binaire APXS dont vous aurez besoin pour construire des
169 Objets Dynamiques Partages (DSOs) pour Apache.
171 %description devel -l pl
172 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
173 (Dynamic Shared Objects) dla Apache.
175 %description devel -l ru
176 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
178 %description devel -l pt_BR
179 Este pacote contem os arquivos de inclusão para o Apache, bem como o
180 utilitário apxs para a construção de objetos compartilhados dinâmicos
181 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
182 desenvolver módulos adicionais para o Apache.
185 Summary: Static Apache web server libraries
186 Summary(pl): Statyczne biblioteki serwera WWW Apache
187 Group: Development/Libraries
188 Requires: %{name}-devel = %{version}
191 The apache-static package contains static libraries for Apache.
193 %description static -l pl
194 Statyczne biblioteki serwera Apache.
197 Summary: Apache module for run CGI whenever a file of a certain type is requested
198 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
199 Group: Networking/Daemons
200 Requires: %{name} = %{version}
202 %description mod_actions
203 This package contains mod_actions module. This module lets you run CGI
204 scripts whenever a file of a certain type is requested. This makes it
205 much easier to execute scripts that process files.
207 %description mod_actions -l pl
208 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
209 ¿±danie pobrania pliku okre¶lonego typu.
212 Summary: Apache module with user authentication using textual files
213 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
214 Group: Networking/Daemons
215 Requires: %{name} = %{version}
217 %description mod_auth
218 This package contains mod_auth module. It provides for user
219 authentication using textual files.
221 %description mod_auth -l pl
222 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
223 u¿ytkowników na podstawie plików tekstowych.
225 %package mod_auth_anon
226 Summary: Apache module with "anonymous" user access authentication
227 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
228 Group: Networking/Daemons
229 Requires: %{name} = %{version}
231 %description mod_auth_anon
232 This package contains mod_auth_anon module. It allows "anonymous" user
233 access to authenticated areas. It does access control in a manner
234 similar to anonymous-ftp sites; i.e. have a 'magic' user id
235 'anonymous' and the email address as a password. These email addresses
236 can be logged. Combined with other (database) access control methods,
237 this allows for effective user tracking and customization according to
238 a user profile while still keeping the site open for 'unregistered'
239 users. One advantage of using Auth-based user tracking is that, unlike
240 magic-cookies and funny URL pre/postfixes, it is completely browser
241 independent and it allows users to share URLs.
243 %description mod_auth_anon -l pl
244 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
245 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
246 adresu pocztowego u¿ytkownika).
248 %package mod_auth_dbm
249 Summary: Apache module with user authentication which uses DBM files
250 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
251 Group: Networking/Daemons
252 Obsoletes: %{name}-mod_auth_db
253 Requires: %{name} = %{version}
255 %description mod_auth_dbm
256 This module provides for HTTP Basic Authentication, where the
257 usernames and passwords are stored in DBM type database files. It is
258 an alternative to the plain text password files provided by mod_auth.
260 %description mod_auth_dbm -l pl
261 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
262 ich has³a s± trzymane w plikach bazy typu DBM.
264 %package mod_auth_digest
265 Summary: Apache user authentication module using MD5 Digest Authentication
266 Summary(pl): Modu³ Apache'a do autoryzacji MD5
267 Group: Networking/Daemons
268 Obsoletes: apache-mod_digest
269 Requires: %{name} = %{version}
271 %description mod_auth_digest
272 This package contains mod_digest module. It provides user
273 authentication using MD5 Digest Authentication.
275 %description mod_auth_digest -l pl
276 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
280 Summary: Content cache keyed to URIs
281 Summary(pl): Pamiêæ podrêczna wg klucza URI
282 Group: Networking/Daemons
283 Requires: %{name} = %{version}
285 %description mod_cache
286 mod_cache implements an RFC 2616 compliant HTTP content cache that can
287 be used to cache either local or proxied content. Two storage
288 management modules are included in the base Apache distribution:
289 mod_disk_cache implements a disk based storage manager (generally used
290 for proxy caching) and mod_mem_cache implements an in-memory based
291 storage manager (primarily useful for caching local content).
293 %description mod_cache -l pl
294 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
295 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
296 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
297 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
298 (u¿ywane do cacheowania proxy).
301 Summary: Execution of CGI scripts using an external CGI daemon
302 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
303 Group: Networking/Daemons
304 Requires: %{name} = %{version}
306 %description mod_cgid
307 Execution of CGI scripts using an external CGI daemon.
309 %description mod_cgid -l pl
310 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
312 %package mod_charset_lite
313 Summary: Specify character set translation or recoding
314 Summary(pl): Translacja lub przekodowywanie znaków
315 Group: Networking/Daemons
316 Requires: %{name} = %{version}
318 %description mod_charset_lite
319 Specify character set translation or recoding.
321 %description mod_charset_lite -l pl
322 Translacja lub przekodowywanie znaków.
325 Summary: Apache module - Distributed Authoring and Versioning
326 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
327 Group: Networking/Daemons
328 Requires: %{name} = %{version}
331 This module provides class 1 and class 2 WebDAV ('Web-based
332 Distributed Authoring and Versioning') functionality for Apache. This
333 extension to the HTTP protocol allows creating, moving, copying, and
334 deleting resources and collections on a remote web server.
336 %description mod_dav -l pl
337 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
338 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
339 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
340 zdalnym serwerze WWW.
343 Summary: Apache module: Compress content before it is delivered to the client
344 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
345 Group: Networking/Daemons
346 Requires: %{name} = %{version}
348 %description mod_deflate
349 Compress content before it is delivered to the client.
351 %description mod_deflate -l pl
352 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
355 Summary: Apache module for "trailing slash" redirects and serving directory index files
356 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
357 Group: Networking/Daemons
358 Requires: %{name} = %{version}
361 This package contains mod_dir which provides "trailing slash"
362 redirects and serving directory index files.
364 %description mod_dir -l pl
365 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
369 Summary: Apache module allows for the customization of HTTP response headers
370 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
371 Group: Networking/Daemons
372 Requires: %{name} = %{version}
374 %description mod_headers
375 This package contains mod_headers module. The module allows for the
376 customization of HTTP response headers. Headers can be merged,
379 %description mod_headers -l pl
380 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
381 wysy³anych do przegl±darki.
384 Summary: Apache module with imap-file handler
385 Summary(pl): Modu³ z obs³ug± imap-file
386 Group: Networking/Daemons
387 Requires: %{name} = %{version}
389 %description mod_imap
390 This package contains mod_imap module. It provides for .map files,
391 replacing the functionality of the imagemap CGI program. Any directory
392 or document type configured to use the handler imap-file.
394 %description mod_imap -l pl
395 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
398 Summary: Apache module with comprehensive overview of the server configuration
399 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
400 Group: Networking/Daemons
401 Requires: %{name} = %{version}
403 %description mod_info
404 This package contains mod_info module. It provides a comprehensive
405 overview of the server configuration including all installed modules
406 and directives in the configuration files.
408 %description mod_info -l pl
409 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
410 zainstalowanych modu³ach itp.
413 Summary: Apache module with Web proxy
414 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
415 Group: Networking/Daemons
416 Requires: %{name} = %{version}
418 %description mod_proxy
419 This package contains module with implementation a proxy/cache for
420 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
421 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
422 connect to other proxy modules for these and other protocols.
424 %description mod_proxy -l pl
425 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
426 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
430 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
431 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
432 Group: Networking/Daemons
433 Requires: %{name} = %{version}
435 %description mod_rewrite
436 This package contains It provides a rule-based rewriting engine to
437 rewrite requested URLs on the fly.
439 %description mod_rewrite -l pl
440 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
443 Summary: SSL/TLS module for the Apache HTTP server
444 Summary(pl): Modu³ SSL/TSL dla serwera Apache
445 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
446 Group: Networking/Daemons
448 Requires: %{name} = %{version}
451 The mod_ssl module provides strong cryptography for the Apache Web
452 server via the Secure Sockets Layer (SSL) and Transport Layer Security
455 %description mod_ssl -l pl
456 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
457 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
460 %description mod_ssl -l ru
461 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
462 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
465 Summary: Server status report module for apache
466 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
467 Group: Networking/Daemons
468 Requires: %{name} = %{version}
470 %description mod_status
471 The Status module allows a server administrator to find out how well
472 their server is performing. A HTML page is presented that gives the
473 current server statistics in an easily readable form. If required this
474 page can be made to automatically refresh (given a compatible
477 %description mod_status -l pl
478 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
479 pracy serwera apache (w postaci strony HTML).
481 %package mod_usertrack
482 Summary: Apache module for user tracking using cookies
483 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
484 Group: Networking/Daemons
485 Requires: %{name} = %{version}
487 %description mod_usertrack
488 This package contains the user tracking module which did its own
489 logging using CookieLog directory. This module allow multiple log
492 %description mod_usertrack -l pl
493 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
495 %package mod_vhost_alias
496 Summary: Apache module for dynamically configured mass virtual hosting
497 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
498 Group: Networking/Daemons
499 Requires: %{name} = %{version}
501 %description mod_vhost_alias
502 This package contains the mod_vhost_alias. It provides support for
503 dynamically configured mass virtual hosting.
505 %description mod_vhost_alias -l pl
506 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
509 %package mod_unique_id
510 Summary: Apache module which provides a magic token for each request
511 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
512 Group: Networking/Daemons
513 Requires: %{name} = %{version}
515 %description mod_unique_id
516 This package contains the mod_unique_id. This module provides a magic
517 token for each request which is guaranteed to be unique across "all"
518 requests under very specific conditions. The unique identifier is even
519 unique across multiple machines in a properly configured cluster of
520 machines. The environment variable UNIQUE_ID is set to the identifier
521 for each request. Unique identifiers are useful for various reasons
522 which are beyond the scope of this document.
524 %description mod_unique_id -l pl
525 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
526 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
527 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
531 Summary: Apache module which generates Expires HTTP headers
532 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
533 Group: Networking/Daemons
534 Requires: %{name} = %{version}
536 %description mod_expires
537 This module controls the setting of the Expires HTTP header in server
538 responses. The expiration date can set to be relative to either the
539 time the source file was last modified, or to the time of the client
542 %description mod_expires -l pl
543 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
544 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
545 ¼ród³owych lub odwo³ania klienta.
547 %package mod_file_cache
548 Summary: Apache module: Caches a static list of files in memory
549 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
550 Group: Networking/Daemons
551 Obsoletes: %{name}-mmap_static
552 Requires: %{name} = %{version}
554 %description mod_file_cache
555 Caches a static list of files in memory.
557 %description mod_file_cache -l pl
558 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
561 Summary: The Apache Portable Runtime library
562 Summary(pl): Przeno¶na biblioteka Apache
566 The Apache Portable Run-time libraries have been designed to provide a
567 common interface to low level routines across any platform.
569 %description -n apr -l pl
570 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
571 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
572 funkcji na dowolnej platformie.
574 %package -n apr-devel
575 Summary: The includes and linker libraries for development with APR
576 Summary(pl): Pliki nag³ówkowe, biblioteki dla konsolidatora APR
577 Group: Development/Libraries
578 Requires: apr = %{version}
579 Requires: gdbm-devel >= 1.8.3
581 Requires: expat-devel
583 %description -n apr-devel
584 The includes and linker libraries for development with APR.
586 %description -n apr-devel -l pl
587 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
589 #%package -n apr-static
590 #Summary: Static APR libraries
591 #Summary(pl): Statyczne biblioteki APR
592 #Group: Development/Libraries
593 #Requires: apr-devel = %{version}
594 #Requires: gdbm-static >= 1.8.3
596 #Requires: expat-static
598 #%description -n apr-static
599 #Static APR libraries.
601 #%description -n apr-static -l pl
602 #Statyczne biblioteki APR.
605 %setup -q -n httpd-%{version}
616 --enable-layout=PLD \
617 --enable-modules=all \
618 --enable-mods-shared=all \
621 --enable-auth-digest \
622 --enable-file-cache \
625 --enable-charset-lite \
627 --enable-disk-cache \
628 --enable-ext-filter \
629 --enable-case-filter \
630 --enable-case-filter-in \
632 --with-z=%{_prefix} \
633 --enable-mime-magic \
640 --enable-proxy-connect \
642 --enable-proxy-http \
643 %{!?_without_ssl:--enable-ssl} \
644 --enable-optional-hook-export \
645 --enable-optional-hook-import \
646 --enable-optional-fn-import \
647 --enable-optional-fn-export \
654 --enable-vhost-alias \
659 --with-suexec-bin=%{_sbindir}/suexec \
660 --with-suexec-caller=http \
661 --with-suexec-docroot=%{_datadir} \
662 --with-suexec-logfile=/var/log/httpd/suexec_log \
663 --with-suexec-uidmin=500 \
664 --with-suexec-gidmin=500 \
665 --with-suexec-umask=077
670 rm -rf $RPM_BUILD_ROOT
671 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
672 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
675 DESTDIR=$RPM_BUILD_ROOT \
676 installbuilddir=%{_sysconfdir}/build \
677 prefix=%{_sysconfdir}/httpd \
678 libexecdir=%{_libdir}/%{name} \
679 iconsdir=%{_datadir}/icons \
680 errordir=%{_datadir}/error \
681 htdocsdir=%{_datadir}/html \
682 manualdir=%{_datadir}/manual \
683 cgidir=%{_datadir}/cgi-bin \
684 runtimedir=%{_var}/run \
685 logdir=%{_var}/log/httpd \
686 proxycachedir=%{_var}/cache/httpd
688 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
689 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
691 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
692 $RPM_BUILD_ROOT%{_libexecdir}/build
694 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
695 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
697 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
698 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
699 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
701 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
703 %if %{?_without_ssl:0}%{!?_without_ssl:1}
704 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
705 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
706 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
709 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
711 install %{SOURCE6} $CFG/10_httpd.conf
712 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
713 install %{SOURCE9} $CFG/25_mod_status.conf
714 install %{SOURCE10} $CFG/30_mod_proxy.conf
715 install %{SOURCE11} $CFG/35_mod_info.conf
716 install %{SOURCE12} $CFG/40_mod_ssl.conf
717 install %{SOURCE13} $CFG/45_mod_dav.conf
718 install %{SOURCE14} $CFG/59_mod_dir.conf
720 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
721 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
722 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
723 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
724 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
725 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
726 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
727 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
728 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
729 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
730 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
731 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
732 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
733 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
734 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
735 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
736 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
737 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
739 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
742 rm -rf $RPM_BUILD_ROOT
745 if [ -n "`getgid http`" ]; then
746 if [ "`getgid http`" != "51" ]; then
747 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
751 /usr/sbin/groupadd -g 51 -r -f http
753 if [ -n "`id -u http 2>/dev/null`" ]; then
754 if [ "`id -u http`" != "51" ]; then
755 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
759 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
764 /sbin/chkconfig --add httpd
766 touch /var/log/httpd/{access,error,agent,referer}_log
767 if [ -f /var/lock/subsys/httpd ]; then
768 /etc/rc.d/init.d/httpd restart 1>&2
770 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
774 if [ "$1" = "0" ]; then
775 if [ -f /var/lock/subsys/httpd ]; then
776 /etc/rc.d/init.d/httpd stop 1>&2
778 /sbin/chkconfig --del httpd
783 if [ "$1" = "0" ]; then
784 /usr/sbin/userdel http
785 /usr/sbin/groupdel http
789 if [ -f /var/lock/subsys/httpd ]; then
790 /etc/rc.d/init.d/httpd restart 1>&2
792 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
796 if [ "$1" = "0" ]; then
797 if [ -f /var/lock/subsys/httpd ]; then
798 /etc/rc.d/init.d/httpd restart 1>&2
803 if [ -f /var/lock/subsys/httpd ]; then
804 /etc/rc.d/init.d/httpd restart 1>&2
806 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
810 if [ "$1" = "0" ]; then
811 if [ -f /var/lock/subsys/httpd ]; then
812 /etc/rc.d/init.d/httpd restart 1>&2
817 if [ -f /var/lock/subsys/httpd ]; then
818 /etc/rc.d/init.d/httpd restart 1>&2
820 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
824 if [ "$1" = "0" ]; then
825 if [ -f /var/lock/subsys/httpd ]; then
826 /etc/rc.d/init.d/httpd restart 1>&2
831 if [ -f /var/lock/subsys/httpd ]; then
832 /etc/rc.d/init.d/httpd restart 1>&2
834 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
838 if [ "$1" = "0" ]; then
839 if [ -f /var/lock/subsys/httpd ]; then
840 /etc/rc.d/init.d/httpd restart 1>&2
845 if [ -f /var/lock/subsys/httpd ]; then
846 /etc/rc.d/init.d/httpd restart 1>&2
848 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
852 if [ "$1" = "0" ]; then
853 if [ -f /var/lock/subsys/httpd ]; then
854 /etc/rc.d/init.d/httpd restart 1>&2
859 if [ -f /var/lock/subsys/httpd ]; then
860 /etc/rc.d/init.d/httpd restart 1>&2
862 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
866 if [ "$1" = "0" ]; then
867 if [ -f /var/lock/subsys/httpd ]; then
868 /etc/rc.d/init.d/httpd restart 1>&2
872 %post mod_charset_lite
873 if [ -f /var/lock/subsys/httpd ]; then
874 /etc/rc.d/init.d/httpd restart 1>&2
876 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
879 %preun mod_charset_lite
880 if [ "$1" = "0" ]; then
881 if [ -f /var/lock/subsys/httpd ]; then
882 /etc/rc.d/init.d/httpd restart 1>&2
887 if [ -f /var/lock/subsys/httpd ]; then
888 /etc/rc.d/init.d/httpd restart 1>&2
890 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
894 if [ "$1" = "0" ]; then
895 if [ -f /var/lock/subsys/httpd ]; then
896 /etc/rc.d/init.d/httpd restart 1>&2
900 %post mod_auth_digest
901 if [ -f /var/lock/subsys/httpd ]; then
902 /etc/rc.d/init.d/httpd restart 1>&2
904 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
907 %preun mod_auth_digest
908 if [ "$1" = "0" ]; then
909 if [ -f /var/lock/subsys/httpd ]; then
910 /etc/rc.d/init.d/httpd restart 1>&2
915 if [ -f /var/lock/subsys/httpd ]; then
916 /etc/rc.d/init.d/httpd restart 1>&2
918 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
922 if [ "$1" = "0" ]; then
923 if [ -f /var/lock/subsys/httpd ]; then
924 /etc/rc.d/init.d/httpd restart 1>&2
929 if [ -f /var/lock/subsys/httpd ]; then
930 /etc/rc.d/init.d/httpd restart 1>&2
932 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
936 if [ "$1" = "0" ]; then
937 if [ -f /var/lock/subsys/httpd ]; then
938 /etc/rc.d/init.d/httpd restart 1>&2
943 if [ -f /var/lock/subsys/httpd ]; then
944 /etc/rc.d/init.d/httpd restart 1>&2
946 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
950 if [ "$1" = "0" ]; then
951 if [ -f /var/lock/subsys/httpd ]; then
952 /etc/rc.d/init.d/httpd restart 1>&2
957 if [ -f /var/lock/subsys/httpd ]; then
958 /etc/rc.d/init.d/httpd restart 1>&2
960 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
963 %preun mod_file_cache
964 if [ "$1" = "0" ]; then
965 if [ -f /var/lock/subsys/httpd ]; then
966 /etc/rc.d/init.d/httpd restart 1>&2
971 if [ -f /var/lock/subsys/httpd ]; then
972 /etc/rc.d/init.d/httpd restart 1>&2
974 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
978 if [ "$1" = "0" ]; then
979 if [ -f /var/lock/subsys/httpd ]; then
980 /etc/rc.d/init.d/httpd restart 1>&2
985 if [ -f /var/lock/subsys/httpd ]; then
986 /etc/rc.d/init.d/httpd restart 1>&2
988 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
992 if [ "$1" = "0" ]; then
993 if [ -f /var/lock/subsys/httpd ]; then
994 /etc/rc.d/init.d/httpd restart 1>&2
999 if [ -f /var/lock/subsys/httpd ]; then
1000 /etc/rc.d/init.d/httpd restart 1>&2
1002 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1006 if [ "$1" = "0" ]; then
1007 if [ -f /var/lock/subsys/httpd ]; then
1008 /etc/rc.d/init.d/httpd restart 1>&2
1013 if [ -f /var/lock/subsys/httpd ]; then
1014 /etc/rc.d/init.d/httpd restart 1>&2
1016 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1020 if [ "$1" = "0" ]; then
1021 if [ -f /var/lock/subsys/httpd ]; then
1022 /etc/rc.d/init.d/httpd restart 1>&2
1027 if [ -f /var/lock/subsys/httpd ]; then
1028 /etc/rc.d/init.d/httpd restart 1>&2
1030 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1034 if [ "$1" = "0" ]; then
1035 if [ -f /var/lock/subsys/httpd ]; then
1036 /etc/rc.d/init.d/httpd restart 1>&2
1041 if [ -f /var/lock/subsys/httpd ]; then
1042 /etc/rc.d/init.d/httpd restart 1>&2
1044 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1048 if [ "$1" = "0" ]; then
1049 if [ -f /var/lock/subsys/httpd ]; then
1050 /etc/rc.d/init.d/httpd restart 1>&2
1055 if [ -f /var/lock/subsys/httpd ]; then
1056 /etc/rc.d/init.d/httpd restart 1>&2
1058 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1062 if [ "$1" = "0" ]; then
1063 if [ -f /var/lock/subsys/httpd ]; then
1064 /etc/rc.d/init.d/httpd restart 1>&2
1069 if [ -f /var/lock/subsys/httpd ]; then
1070 /etc/rc.d/init.d/httpd restart 1>&2
1072 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1075 %preun mod_usertrack
1076 if [ "$1" = "0" ]; then
1077 if [ -f /var/lock/subsys/httpd ]; then
1078 /etc/rc.d/init.d/httpd restart 1>&2
1083 if [ -f /var/lock/subsys/httpd ]; then
1084 /etc/rc.d/init.d/httpd restart 1>&2
1086 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1089 %preun mod_unique_id
1090 if [ "$1" = "0" ]; then
1091 if [ -f /var/lock/subsys/httpd ]; then
1092 /etc/rc.d/init.d/httpd restart 1>&2
1096 %post mod_vhost_alias
1097 if [ -f /var/lock/subsys/httpd ]; then
1098 /etc/rc.d/init.d/httpd restart 1>&2
1100 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1103 %preun mod_vhost_alias
1104 if [ "$1" = "0" ]; then
1105 if [ -f /var/lock/subsys/httpd ]; then
1106 /etc/rc.d/init.d/httpd restart 1>&2
1110 %post -n apr -p /sbin/ldconfig
1111 %postun -n apr -p /sbin/ldconfig
1114 %defattr(644,root,root,755)
1115 %doc ABOUT_APACHE CHANGES README
1116 %doc docs/conf/mime.types
1118 %attr(754,root,root) /etc/rc.d/init.d/httpd
1120 %attr(750,root,root) %dir %{_sysconfdir}
1121 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1122 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1123 %attr(640,root,root) %{_sysconfdir}/magic
1124 %attr(755,root,root) %dir %{_libexecdir}/build
1125 %attr(755,root,root) %{_libexecdir}/build/*.mk
1126 %attr(755,root,root) %{_libexecdir}/build/*.sh
1127 %attr(755,root,root) %{_libexecdir}/build/libtool
1129 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1130 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1133 %attr(755,root,root) %{_libexecdir}/mod_access.so
1134 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1135 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1136 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1137 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1138 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1139 %attr(755,root,root) %{_libexecdir}/mod_env.so
1140 %attr(755,root,root) %{_libexecdir}/mod_include.so
1141 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1142 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1143 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1144 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1145 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1146 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1147 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1149 # look at TODO on top
1150 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1151 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1152 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1153 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1154 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1155 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1156 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1157 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1159 %attr(755,root,root) %{_sbindir}/htdigest
1161 %attr(755,root,root) %{_sbindir}/ab
1162 %attr(755,root,root) %{_sbindir}/apachectl
1163 %attr(755,root,root) %{_sbindir}/apxs
1164 %attr(755,root,root) %{_sbindir}/checkgid
1165 %attr(755,root,root) %{_sbindir}/httpd
1166 %attr(755,root,root) %{_sbindir}/logresolve
1167 %attr(755,root,root) %{_sbindir}/rotatelogs
1168 %attr(755,root,root) %{_sbindir}/envvars*
1170 %dir %attr(770,root,http) /var/run/apache
1172 %{_mandir}/man1/htdigest.1*
1175 %attr(750,root,root) %dir /var/log/httpd
1176 %attr(750,root,root) %dir /var/log/archiv/httpd
1177 %attr(640,root,root) %ghost /var/log/httpd/*
1180 %dir %{_datadir}/manual
1181 %{_datadir}/manual/LICENSE
1182 %{_datadir}/manual/*.xml
1183 %{_datadir}/manual/*.html.en
1184 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1185 %lang(ja) %{_datadir}/manual/*.xml.ja
1186 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1187 %lang(de) %{_datadir}/manual/*.html.de
1188 %lang(fr) %{_datadir}/manual/*.html.fr
1189 %{_datadir}/manual/developer
1190 %{_datadir}/manual/faq
1191 %dir %{_datadir}/manual/howto
1192 %doc %{_datadir}/manual/howto/*.en
1193 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1194 %dir %{_datadir}/manual/images
1195 %{_datadir}/manual/images/[achips]*
1196 %{_datadir}/manual/misc
1197 %dir %{_datadir}/manual/mod
1198 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1199 %{_datadir}/manual/mod/[acd]*.xml
1200 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1201 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1202 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1203 %{_datadir}/manual/mod/index.xml
1204 %{_datadir}/manual/mod/mpm*.html.en
1205 %{_datadir}/manual/mod/mod_access.html.en
1206 %{_datadir}/manual/mod/mod_alias.html.en
1207 %{_datadir}/manual/mod/mod_asis.html.en
1208 %{_datadir}/manual/mod/mod_autoindex.html.en
1209 %{_datadir}/manual/mod/mod_cern_meta.html.en
1210 %{_datadir}/manual/mod/mod_cgi.html.en
1211 %{_datadir}/manual/mod/mod_env.html.en
1212 %{_datadir}/manual/mod/mod_include.html.en
1213 %{_datadir}/manual/mod/mod_log_config.html.en
1214 %{_datadir}/manual/mod/mod_mime*.html.en
1215 %{_datadir}/manual/mod/mod_negotiation.html.en
1216 %{_datadir}/manual/mod/mod_setenvif.html.en
1217 %{_datadir}/manual/mod/mod_speling.html.en
1218 %{_datadir}/manual/mod/mod_userdir.html.en
1219 %{_datadir}/manual/platform
1220 %{_datadir}/manual/programs
1221 %dir %{_datadir}/manual/search
1222 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1223 %{_datadir}/manual/style
1225 # Having all index.html.LANG files here is very bad idea.
1226 %attr(755,root,root) %dir %{_datadir}/html
1227 %config(noreplace,missingok) %{_datadir}/html/index.html
1228 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1229 %{_datadir}/html/*.gif
1230 %{_datadir}/html/*.png
1232 %attr(755,root,root) %{_datadir}/cgi-bin
1237 %defattr(644,root,root,755)
1238 %attr(4755,root,root) %{_sbindir}/suexec
1239 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1240 %{_datadir}/manual/mod/mod_suexec.html.en
1243 %defattr(644,root,root,755)
1244 %{_includedir}/[!a]*
1245 %{_includedir}/ap[!r]*
1246 %{_libexecdir}/*.exp
1249 %defattr(644,root,root,755)
1253 %defattr(644,root,root,755)
1254 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1255 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1256 %{_datadir}/manual/mod/mod_actions.html.en
1259 %defattr(644,root,root,755)
1260 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1261 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1262 %attr(755,root,root) %{_sbindir}/htpasswd
1263 %{_datadir}/manual/mod/mod_auth.html.en
1264 %{_mandir}/man1/htpasswd.1*
1266 %files mod_auth_anon
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1269 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1270 %{_datadir}/manual/mod/mod_auth_anon.html.en
1273 %defattr(644,root,root,755)
1274 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1275 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1276 %attr(755,root,root) %{_sbindir}/dbmmanage
1277 %attr(755,root,root) %{_sbindir}/htdbm
1278 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1279 %{_mandir}/man1/dbmmanage.1*
1281 %files mod_auth_digest
1282 %defattr(644,root,root,755)
1283 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1284 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1285 %{_datadir}/manual/mod/mod_auth_digest.html.en
1288 %defattr(644,root,root,755)
1289 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1290 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1291 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1292 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1293 %{_datadir}/manual/mod/mod_cache.html.en
1296 %defattr(644,root,root,755)
1297 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1298 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1299 %{_datadir}/manual/mod/mod_cgid.html.en
1301 %files mod_charset_lite
1302 %defattr(644,root,root,755)
1303 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1304 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1305 %{_datadir}/manual/mod/mod_charset_lite.html.en
1308 %defattr(644,root,root,755)
1309 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1310 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1311 %{_datadir}/manual/mod/mod_dav*.html.en
1314 %defattr(644,root,root,755)
1315 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1316 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1317 %{_datadir}/manual/mod/mod_deflate.html.en
1320 %defattr(644,root,root,755)
1321 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1322 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1323 %{_datadir}/manual/mod/mod_dir.html.en
1326 %defattr(644,root,root,755)
1327 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1328 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1329 %{_datadir}/manual/mod/mod_expires.html.en
1331 %files mod_file_cache
1332 %defattr(644,root,root,755)
1333 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1334 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1335 %{_datadir}/manual/mod/mod_file_cache.html.en
1338 %defattr(644,root,root,755)
1339 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1340 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1341 %{_datadir}/manual/mod/mod_headers.html.en
1344 %defattr(644,root,root,755)
1345 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1346 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1347 %{_datadir}/manual/mod/mod_imap.html.en
1350 %defattr(644,root,root,755)
1351 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1352 %attr(755,root,root) %{_libexecdir}/mod_info.so
1353 %{_datadir}/manual/mod/mod_info.html.en
1356 %defattr(644,root,root,755)
1357 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1358 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1359 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1360 %attr(770,root,http) /var/cache/apache
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1365 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1366 %{_datadir}/manual/mod/mod_rewrite.html.en
1367 %{_datadir}/manual/images/mod_rewrite*
1369 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1371 %defattr(644,root,root,755)
1372 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1374 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1375 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1376 %{_datadir}/manual/ssl
1377 %{_datadir}/manual/mod/mod_ssl.html.en
1381 %defattr(644,root,root,755)
1382 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1383 %attr(755,root,root) %{_libexecdir}/mod_status.so
1384 %{_datadir}/manual/mod/mod_status.html.en
1386 %files mod_usertrack
1387 %defattr(644,root,root,755)
1388 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1389 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1390 %{_datadir}/manual/mod/mod_usertrack.html.en
1392 %files mod_unique_id
1393 %defattr(644,root,root,755)
1394 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1395 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1396 %{_datadir}/manual/mod/mod_unique_id.html.en
1398 %files mod_vhost_alias
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1401 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1402 %{_datadir}/manual/vhosts
1403 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libdir}/libapr*.so.*
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_bindir}/apr-config
1412 %attr(755,root,root) %{_bindir}/apu-config
1414 %{_includedir}/apr*.h
1415 #%%{_libdir}/APRVARS
1417 %attr(755,root,root) %{_libdir}/libapr*.so
1418 %{_libdir}/libapr*.la
1420 #%files -n apr-static
1421 #%defattr(644,root,root,755)
1422 #%{_libdir}/libapr.a