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 URL: http://httpd.apache.org/
31 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
32 # Source0-md5: ff682f82f0808eb01df60824d959ebe8
34 Source2: %{name}.logrotate
35 Source3: %{name}-icons.tar.gz
36 # Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
37 Source4: %{name}.sysconfig
38 Source6: %{name}-httpd.conf
39 Source8: %{name}-mod_vhost_alias.conf
40 Source9: %{name}-mod_status.conf
41 Source10: %{name}-mod_proxy.conf
42 Source11: %{name}-mod_info.conf
43 Source12: %{name}-mod_ssl.conf
44 Source13: %{name}-mod_dav.conf
45 Source14: %{name}-mod_dir.conf
46 Source20: %{name}-server.crt
47 Source21: %{name}-server.key
48 Patch0: %{name}-configdir_skip_backups.patch
49 Patch1: %{name}-layout.patch
50 Patch2: %{name}-suexec.patch
51 BuildRequires: db-devel
52 BuildRequires: expat-devel
53 BuildRequires: gdbm-devel >= 1.8.3
54 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
55 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
56 BuildRequires: perl-devel >= 5.004
57 BuildRequires: rpm-perlprov >= 4.0.4
58 BuildRequires: zlib-devel
59 BuildRequires: libtool
62 Requires(pre): /usr/bin/getgid
63 Requires(pre): /bin/id
64 Requires(pre): /usr/sbin/groupadd
65 Requires(pre): /usr/sbin/useradd
66 Requires(postun): /usr/sbin/userdel
67 Requires(postun): /usr/sbin/groupdel
68 Requires(post,preun): /sbin/chkconfig
69 Requires(post,postun): /sbin/ldconfig
70 Requires(post): fileutils
72 Requires: /etc/mime.types
73 Requires: psmisc >= 20.1
74 Provides: httpd = %{version}
75 Provides: webserver = %{version}
76 Obsoletes: apache-extra
80 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
82 %define _sysconfdir /etc/httpd
83 %define _includedir %{_prefix}/include/apache
84 %define _datadir /home/services/httpd
85 %define _libexecdir %{_libdir}/apache
88 Apache is a powerful, full-featured, efficient and freely-available
89 Web server. Apache is also the most popular Web server on the
93 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
94 erhältlich und weit verbreitet ist.
97 El servidor web Apache es el mejor servidor gratuito disponible en el
98 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
99 que browsers web vean documentos y sometan datos remotamente. Puede
100 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
101 caché, y nos ofrece características como monitor de estado, conversión
102 dinámica de tipo, y otras más.
105 Apache est un serveur Web puissant, efficace, gratuit et complet.
106 Apache est aussi le serveur Web le plus populaire sur Internet.
109 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
110 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
112 %description -l pt_BR
113 O servidor web Apache é o melhor servidor gratuito disponível no mundo
114 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
115 que browsers web vejam documentos e submetam dados remotamente. Ele
116 pode executar várias funções diferentes, incluindo funções de proxy e
117 cache, e oferece características como monitor de status, conversão
118 dinâmica de tipo, e mais.
121 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
122 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
125 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
129 Summary: Apache suexec wrapper
130 Summary(pl): Wrapper suexec do serwera WWW Apache
131 Group: Development/Tools
132 Requires: %{name} = %{version}
135 The suEXEC feature provides Apache users the ability to run CGI and
136 SSI programs under user IDs different from the user ID of the calling
137 web-server. Normally, when a CGI or SSI program executes, it runs as
138 the same user who is running the web server.
140 %description suexec -l pl
141 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
142 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
143 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
146 Summary: Module development tools for the Apache web server
147 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
148 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
149 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
150 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
151 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
152 Group: Networking/Utilities
153 Requires: %{name} = %{version}
154 Requires: apr-devel = %{version}
157 The apache-devel package contains header files for Apache.
159 %description devel -l es
160 Este paquete contiene los archivos de inclusión para el Apache, bien
161 como el utilitario apxs para la construcción de objetos compartidos
162 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
163 o desarrollar módulos adicionales para Apache.
165 %description devel -l fr
166 Le package apache-devel contient le code source pour le serveur Web
167 Apache et le binaire APXS dont vous aurez besoin pour construire des
168 Objets Dynamiques Partages (DSOs) pour Apache.
170 %description devel -l pl
171 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
172 (Dynamic Shared Objects) dla Apache.
174 %description devel -l ru
175 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
177 %description devel -l pt_BR
178 Este pacote contem os arquivos de inclusão para o Apache, bem como o
179 utilitário apxs para a construção de objetos compartilhados dinâmicos
180 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
181 desenvolver módulos adicionais para o Apache.
184 Summary: Static Apache web server libraries
185 Summary(pl): Statyczne biblioteki serwera WWW Apache
186 Group: Development/Libraries
187 Requires: %{name}-devel = %{version}
190 The apache-static package contains static libraries for Apache.
192 %description static -l pl
193 Statyczne biblioteki serwera Apache.
196 Summary: Apache module for run CGI whenever a file of a certain type is requested
197 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
198 Group: Networking/Daemons
199 Requires: %{name} = %{version}
201 %description mod_actions
202 This package contains mod_actions module. This module lets you run CGI
203 scripts whenever a file of a certain type is requested. This makes it
204 much easier to execute scripts that process files.
206 %description mod_actions -l pl
207 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
208 ¿±danie pobrania pliku okre¶lonego typu.
211 Summary: Apache module with user authentication using textual files
212 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
213 Group: Networking/Daemons
214 Requires: %{name} = %{version}
216 %description mod_auth
217 This package contains mod_auth module. It provides for user
218 authentication using textual files.
220 %description mod_auth -l pl
221 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
222 u¿ytkowników na podstawie plików tekstowych.
224 %package mod_auth_anon
225 Summary: Apache module with "anonymous" user access authentication
226 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
227 Group: Networking/Daemons
228 Requires: %{name} = %{version}
230 %description mod_auth_anon
231 This package contains mod_auth_anon module. It allows "anonymous" user
232 access to authenticated areas. It does access control in a manner
233 similar to anonymous-ftp sites; i.e. have a 'magic' user id
234 'anonymous' and the email address as a password. These email addresses
235 can be logged. Combined with other (database) access control methods,
236 this allows for effective user tracking and customization according to
237 a user profile while still keeping the site open for 'unregistered'
238 users. One advantage of using Auth-based user tracking is that, unlike
239 magic-cookies and funny URL pre/postfixes, it is completely browser
240 independent and it allows users to share URLs.
242 %description mod_auth_anon -l pl
243 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
244 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
245 adresu pocztowego u¿ytkownika).
247 %package mod_auth_dbm
248 Summary: Apache module with user authentication which uses DBM files
249 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
250 Group: Networking/Daemons
251 Obsoletes: %{name}-mod_auth_db
252 Requires: %{name} = %{version}
254 %description mod_auth_dbm
255 This module provides for HTTP Basic Authentication, where the
256 usernames and passwords are stored in DBM type database files. It is
257 an alternative to the plain text password files provided by mod_auth.
259 %description mod_auth_dbm -l pl
260 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
261 ich has³a s± trzymane w plikach bazy typu DBM.
263 %package mod_auth_digest
264 Summary: Apache user authentication module using MD5 Digest Authentication
265 Summary(pl): Modu³ Apache'a do autoryzacji MD5
266 Group: Networking/Daemons
267 Obsoletes: apache-mod_digest
268 Requires: %{name} = %{version}
270 %description mod_auth_digest
271 This package contains mod_digest module. It provides user
272 authentication using MD5 Digest Authentication.
274 %description mod_auth_digest -l pl
275 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
279 Summary: Content cache keyed to URIs
280 Summary(pl): Pamiêæ podrêczna wg klucza URI
281 Group: Networking/Daemons
282 Requires: %{name} = %{version}
284 %description mod_cache
285 mod_cache implements an RFC 2616 compliant HTTP content cache that can
286 be used to cache either local or proxied content. Two storage
287 management modules are included in the base Apache distribution:
288 mod_disk_cache implements a disk based storage manager (generally used
289 for proxy caching) and mod_mem_cache implements an in-memory based
290 storage manager (primarily useful for caching local content).
292 %description mod_cache -l pl
293 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
294 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
295 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
296 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
297 (u¿ywane do cacheowania proxy).
300 Summary: Execution of CGI scripts using an external CGI daemon
301 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
302 Group: Networking/Daemons
303 Requires: %{name} = %{version}
305 %description mod_cgid
306 Execution of CGI scripts using an external CGI daemon.
308 %description mod_cgid -l pl
309 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
311 %package mod_charset_lite
312 Summary: Specify character set translation or recoding
313 Summary(pl): Translacja lub przekodowywanie znaków
314 Group: Networking/Daemons
315 Requires: %{name} = %{version}
317 %description mod_charset_lite
318 Specify character set translation or recoding.
320 %description mod_charset_lite -l pl
321 Translacja lub przekodowywanie znaków.
324 Summary: Apache module - Distributed Authoring and Versioning
325 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
326 Group: Networking/Daemons
327 Requires: %{name} = %{version}
330 This module provides class 1 and class 2 WebDAV ('Web-based
331 Distributed Authoring and Versioning') functionality for Apache. This
332 extension to the HTTP protocol allows creating, moving, copying, and
333 deleting resources and collections on a remote web server.
335 %description mod_dav -l pl
336 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
337 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
338 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
339 zdalnym serwerze WWW.
342 Summary: Apache module: Compress content before it is delivered to the client
343 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
344 Group: Networking/Daemons
345 Requires: %{name} = %{version}
347 %description mod_deflate
348 Compress content before it is delivered to the client.
350 %description mod_deflate -l pl
351 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
354 Summary: Apache module for "trailing slash" redirects and serving directory index files
355 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
356 Group: Networking/Daemons
357 Requires: %{name} = %{version}
360 This package contains mod_dir which provides "trailing slash"
361 redirects and serving directory index files.
363 %description mod_dir -l pl
364 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
368 Summary: Apache module allows for the customization of HTTP response headers
369 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
370 Group: Networking/Daemons
371 Requires: %{name} = %{version}
373 %description mod_headers
374 This package contains mod_headers module. The module allows for the
375 customization of HTTP response headers. Headers can be merged,
378 %description mod_headers -l pl
379 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
380 wysy³anych do przegl±darki.
383 Summary: Apache module with imap-file handler
384 Summary(pl): Modu³ z obs³ug± imap-file
385 Group: Networking/Daemons
386 Requires: %{name} = %{version}
388 %description mod_imap
389 This package contains mod_imap module. It provides for .map files,
390 replacing the functionality of the imagemap CGI program. Any directory
391 or document type configured to use the handler imap-file.
393 %description mod_imap -l pl
394 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
397 Summary: Apache module with comprehensive overview of the server configuration
398 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
399 Group: Networking/Daemons
400 Requires: %{name} = %{version}
402 %description mod_info
403 This package contains mod_info module. It provides a comprehensive
404 overview of the server configuration including all installed modules
405 and directives in the configuration files.
407 %description mod_info -l pl
408 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
409 zainstalowanych modu³ach itp.
412 Summary: Apache module with Web proxy
413 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
414 Group: Networking/Daemons
415 Requires: %{name} = %{version}
417 %description mod_proxy
418 This package contains module with implementation a proxy/cache for
419 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
420 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
421 connect to other proxy modules for these and other protocols.
423 %description mod_proxy -l pl
424 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
425 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
429 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
430 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
431 Group: Networking/Daemons
432 Requires: %{name} = %{version}
434 %description mod_rewrite
435 This package contains It provides a rule-based rewriting engine to
436 rewrite requested URLs on the fly.
438 %description mod_rewrite -l pl
439 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
442 Summary: SSL/TLS module for the Apache HTTP server
443 Summary(pl): Modu³ SSL/TSL dla serwera Apache
444 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
445 Group: Networking/Daemons
447 Requires: %{name} = %{version}
450 The mod_ssl module provides strong cryptography for the Apache Web
451 server via the Secure Sockets Layer (SSL) and Transport Layer Security
454 %description mod_ssl -l pl
455 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
456 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
459 %description mod_ssl -l ru
460 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
461 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
464 Summary: Server status report module for apache
465 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
466 Group: Networking/Daemons
467 Requires: %{name} = %{version}
469 %description mod_status
470 The Status module allows a server administrator to find out how well
471 their server is performing. A HTML page is presented that gives the
472 current server statistics in an easily readable form. If required this
473 page can be made to automatically refresh (given a compatible
476 %description mod_status -l pl
477 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
478 pracy serwera apache (w postaci strony HTML).
480 %package mod_usertrack
481 Summary: Apache module for user tracking using cookies
482 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
483 Group: Networking/Daemons
484 Requires: %{name} = %{version}
486 %description mod_usertrack
487 This package contains the user tracking module which did its own
488 logging using CookieLog directory. This module allow multiple log
491 %description mod_usertrack -l pl
492 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
494 %package mod_vhost_alias
495 Summary: Apache module for dynamically configured mass virtual hosting
496 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
497 Group: Networking/Daemons
498 Requires: %{name} = %{version}
500 %description mod_vhost_alias
501 This package contains the mod_vhost_alias. It provides support for
502 dynamically configured mass virtual hosting.
504 %description mod_vhost_alias -l pl
505 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
508 %package mod_unique_id
509 Summary: Apache module which provides a magic token for each request
510 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
511 Group: Networking/Daemons
512 Requires: %{name} = %{version}
514 %description mod_unique_id
515 This package contains the mod_unique_id. This module provides a magic
516 token for each request which is guaranteed to be unique across "all"
517 requests under very specific conditions. The unique identifier is even
518 unique across multiple machines in a properly configured cluster of
519 machines. The environment variable UNIQUE_ID is set to the identifier
520 for each request. Unique identifiers are useful for various reasons
521 which are beyond the scope of this document.
523 %description mod_unique_id -l pl
524 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
525 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
526 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
530 Summary: Apache module which generates Expires HTTP headers
531 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
532 Group: Networking/Daemons
533 Requires: %{name} = %{version}
535 %description mod_expires
536 This module controls the setting of the Expires HTTP header in server
537 responses. The expiration date can set to be relative to either the
538 time the source file was last modified, or to the time of the client
541 %description mod_expires -l pl
542 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
543 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
544 ¼ród³owych lub odwo³ania klienta.
546 %package mod_file_cache
547 Summary: Apache module: Caches a static list of files in memory
548 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
549 Group: Networking/Daemons
550 Obsoletes: %{name}-mmap_static
551 Requires: %{name} = %{version}
553 %description mod_file_cache
554 Caches a static list of files in memory.
556 %description mod_file_cache -l pl
557 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
560 Summary: The Apache Portable Runtime library
561 Summary(pl): Przeno¶na biblioteka Apache
565 The Apache Portable Run-time libraries have been designed to provide a
566 common interface to low level routines across any platform.
568 %description -n apr -l pl
569 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
570 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
571 funkcji na dowolnej platformie.
573 %package -n apr-devel
574 Summary: The includes and linker libraries for development with APR
575 Summary(pl): Pliki nag³ówkowe, biblioteki dla konsolidatora APR
576 Group: Development/Libraries
577 Requires: apr = %{version}
578 Requires: gdbm-devel >= 1.8.3
580 Requires: expat-devel
582 %description -n apr-devel
583 The includes and linker libraries for development with APR.
585 %description -n apr-devel -l pl
586 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
588 #%package -n apr-static
589 #Summary: Static APR libraries
590 #Summary(pl): Statyczne biblioteki APR
591 #Group: Development/Libraries
592 #Requires: apr-devel = %{version}
593 #Requires: gdbm-static >= 1.8.3
595 #Requires: expat-static
597 #%description -n apr-static
598 #Static APR libraries.
600 #%description -n apr-static -l pl
601 #Statyczne biblioteki APR.
604 %setup -q -n httpd-%{version}
611 --enable-layout=PLD \
612 --enable-modules=all \
613 --enable-mods-shared=all \
616 --enable-auth-digest \
617 --enable-file-cache \
620 --enable-charset-lite \
622 --enable-disk-cache \
623 --enable-ext-filter \
624 --enable-case-filter \
625 --enable-case-filter-in \
627 --with-z=%{_prefix} \
628 --enable-mime-magic \
635 --enable-proxy-connect \
637 --enable-proxy-http \
638 %{!?_without_ssl:--enable-ssl} \
639 --enable-optional-hook-export \
640 --enable-optional-hook-import \
641 --enable-optional-fn-import \
642 --enable-optional-fn-export \
649 --enable-vhost-alias \
654 --with-suexec-bin=%{_sbindir}/suexec \
655 --with-suexec-caller=http \
656 --with-suexec-docroot=%{_datadir} \
657 --with-suexec-logfile=/var/log/httpd/suexec_log \
658 --with-suexec-uidmin=500 \
659 --with-suexec-gidmin=500 \
660 --with-suexec-umask=077
665 rm -rf $RPM_BUILD_ROOT
666 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
667 install -d $RPM_BUILD_ROOT%{_var}/log/{httpd,archiv/httpd}
668 install -d $RPM_BUILD_ROOT%{_var}/{run,cache}/apache
670 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
671 installbuilddir=%{_sysconfdir}/build \
672 prefix=%{_sysconfdir}/httpd \
673 libexecdir=%{_libdir}/%{name} \
674 iconsdir=%{_datadir}/icons \
675 errordir=%{_datadir}/error \
676 htdocsdir=%{_datadir}/html \
677 manualdir=%{_datadir}/manual \
678 cgidir=%{_datadir}/cgi-bin \
679 runtimedir=%{_var}/run \
680 logdir=%{_var}/log/httpd \
681 proxycachedir=%{_var}/cache/httpd
683 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
684 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
686 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
687 $RPM_BUILD_ROOT%{_libexecdir}/build
689 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
690 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
692 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
693 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
694 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
696 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
698 %if %{?_without_ssl:0}%{!?_without_ssl:1}
699 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
700 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
701 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
704 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
706 install %{SOURCE6} $CFG/10_httpd.conf
707 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
708 install %{SOURCE9} $CFG/25_mod_status.conf
709 install %{SOURCE10} $CFG/30_mod_proxy.conf
710 install %{SOURCE11} $CFG/35_mod_info.conf
711 install %{SOURCE12} $CFG/40_mod_ssl.conf
712 install %{SOURCE13} $CFG/45_mod_dav.conf
713 install %{SOURCE14} $CFG/59_mod_dir.conf
715 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
716 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
717 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
718 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
719 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
720 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
721 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
722 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
723 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
724 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
725 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
726 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
727 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
728 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
729 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
730 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
731 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
732 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
734 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
737 rm -rf $RPM_BUILD_ROOT
740 if [ -n "`getgid http`" ]; then
741 if [ "`getgid http`" != "51" ]; then
742 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
746 /usr/sbin/groupadd -g 51 -r -f http
748 if [ -n "`id -u http 2>/dev/null`" ]; then
749 if [ "`id -u http`" != "51" ]; then
750 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
754 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
759 /sbin/chkconfig --add httpd
761 touch /var/log/httpd/{access,error,agent,referer}_log
762 if [ -f /var/lock/subsys/httpd ]; then
763 /etc/rc.d/init.d/httpd restart 1>&2
765 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
769 if [ "$1" = "0" ]; then
770 if [ -f /var/lock/subsys/httpd ]; then
771 /etc/rc.d/init.d/httpd stop 1>&2
773 /sbin/chkconfig --del httpd
778 if [ "$1" = "0" ]; then
779 /usr/sbin/userdel http
780 /usr/sbin/groupdel http
784 if [ -f /var/lock/subsys/httpd ]; then
785 /etc/rc.d/init.d/httpd restart 1>&2
787 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
791 if [ "$1" = "0" ]; then
792 if [ -f /var/lock/subsys/httpd ]; then
793 /etc/rc.d/init.d/httpd restart 1>&2
798 if [ -f /var/lock/subsys/httpd ]; then
799 /etc/rc.d/init.d/httpd restart 1>&2
801 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
805 if [ "$1" = "0" ]; then
806 if [ -f /var/lock/subsys/httpd ]; then
807 /etc/rc.d/init.d/httpd restart 1>&2
812 if [ -f /var/lock/subsys/httpd ]; then
813 /etc/rc.d/init.d/httpd restart 1>&2
815 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
819 if [ "$1" = "0" ]; then
820 if [ -f /var/lock/subsys/httpd ]; then
821 /etc/rc.d/init.d/httpd restart 1>&2
826 if [ -f /var/lock/subsys/httpd ]; then
827 /etc/rc.d/init.d/httpd restart 1>&2
829 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
833 if [ "$1" = "0" ]; then
834 if [ -f /var/lock/subsys/httpd ]; then
835 /etc/rc.d/init.d/httpd restart 1>&2
840 if [ -f /var/lock/subsys/httpd ]; then
841 /etc/rc.d/init.d/httpd restart 1>&2
843 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
847 if [ "$1" = "0" ]; then
848 if [ -f /var/lock/subsys/httpd ]; then
849 /etc/rc.d/init.d/httpd restart 1>&2
854 if [ -f /var/lock/subsys/httpd ]; then
855 /etc/rc.d/init.d/httpd restart 1>&2
857 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
861 if [ "$1" = "0" ]; then
862 if [ -f /var/lock/subsys/httpd ]; then
863 /etc/rc.d/init.d/httpd restart 1>&2
867 %post mod_charset_lite
868 if [ -f /var/lock/subsys/httpd ]; then
869 /etc/rc.d/init.d/httpd restart 1>&2
871 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
874 %preun mod_charset_lite
875 if [ "$1" = "0" ]; then
876 if [ -f /var/lock/subsys/httpd ]; then
877 /etc/rc.d/init.d/httpd restart 1>&2
882 if [ -f /var/lock/subsys/httpd ]; then
883 /etc/rc.d/init.d/httpd restart 1>&2
885 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
889 if [ "$1" = "0" ]; then
890 if [ -f /var/lock/subsys/httpd ]; then
891 /etc/rc.d/init.d/httpd restart 1>&2
895 %post mod_auth_digest
896 if [ -f /var/lock/subsys/httpd ]; then
897 /etc/rc.d/init.d/httpd restart 1>&2
899 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
902 %preun mod_auth_digest
903 if [ "$1" = "0" ]; then
904 if [ -f /var/lock/subsys/httpd ]; then
905 /etc/rc.d/init.d/httpd restart 1>&2
910 if [ -f /var/lock/subsys/httpd ]; then
911 /etc/rc.d/init.d/httpd restart 1>&2
913 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
917 if [ "$1" = "0" ]; then
918 if [ -f /var/lock/subsys/httpd ]; then
919 /etc/rc.d/init.d/httpd restart 1>&2
924 if [ -f /var/lock/subsys/httpd ]; then
925 /etc/rc.d/init.d/httpd restart 1>&2
927 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
931 if [ "$1" = "0" ]; then
932 if [ -f /var/lock/subsys/httpd ]; then
933 /etc/rc.d/init.d/httpd restart 1>&2
938 if [ -f /var/lock/subsys/httpd ]; then
939 /etc/rc.d/init.d/httpd restart 1>&2
941 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
945 if [ "$1" = "0" ]; then
946 if [ -f /var/lock/subsys/httpd ]; then
947 /etc/rc.d/init.d/httpd restart 1>&2
952 if [ -f /var/lock/subsys/httpd ]; then
953 /etc/rc.d/init.d/httpd restart 1>&2
955 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
958 %preun mod_file_cache
959 if [ "$1" = "0" ]; then
960 if [ -f /var/lock/subsys/httpd ]; then
961 /etc/rc.d/init.d/httpd restart 1>&2
966 if [ -f /var/lock/subsys/httpd ]; then
967 /etc/rc.d/init.d/httpd restart 1>&2
969 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
973 if [ "$1" = "0" ]; then
974 if [ -f /var/lock/subsys/httpd ]; then
975 /etc/rc.d/init.d/httpd restart 1>&2
980 if [ -f /var/lock/subsys/httpd ]; then
981 /etc/rc.d/init.d/httpd restart 1>&2
983 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
987 if [ "$1" = "0" ]; then
988 if [ -f /var/lock/subsys/httpd ]; then
989 /etc/rc.d/init.d/httpd restart 1>&2
994 if [ -f /var/lock/subsys/httpd ]; then
995 /etc/rc.d/init.d/httpd restart 1>&2
997 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1001 if [ "$1" = "0" ]; then
1002 if [ -f /var/lock/subsys/httpd ]; then
1003 /etc/rc.d/init.d/httpd restart 1>&2
1008 if [ -f /var/lock/subsys/httpd ]; then
1009 /etc/rc.d/init.d/httpd restart 1>&2
1011 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1015 if [ "$1" = "0" ]; then
1016 if [ -f /var/lock/subsys/httpd ]; then
1017 /etc/rc.d/init.d/httpd restart 1>&2
1022 if [ -f /var/lock/subsys/httpd ]; then
1023 /etc/rc.d/init.d/httpd restart 1>&2
1025 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1029 if [ "$1" = "0" ]; then
1030 if [ -f /var/lock/subsys/httpd ]; then
1031 /etc/rc.d/init.d/httpd restart 1>&2
1036 if [ -f /var/lock/subsys/httpd ]; then
1037 /etc/rc.d/init.d/httpd restart 1>&2
1039 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1043 if [ "$1" = "0" ]; then
1044 if [ -f /var/lock/subsys/httpd ]; then
1045 /etc/rc.d/init.d/httpd restart 1>&2
1050 if [ -f /var/lock/subsys/httpd ]; then
1051 /etc/rc.d/init.d/httpd restart 1>&2
1053 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1057 if [ "$1" = "0" ]; then
1058 if [ -f /var/lock/subsys/httpd ]; then
1059 /etc/rc.d/init.d/httpd restart 1>&2
1064 if [ -f /var/lock/subsys/httpd ]; then
1065 /etc/rc.d/init.d/httpd restart 1>&2
1067 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1070 %preun mod_usertrack
1071 if [ "$1" = "0" ]; then
1072 if [ -f /var/lock/subsys/httpd ]; then
1073 /etc/rc.d/init.d/httpd restart 1>&2
1078 if [ -f /var/lock/subsys/httpd ]; then
1079 /etc/rc.d/init.d/httpd restart 1>&2
1081 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1084 %preun mod_unique_id
1085 if [ "$1" = "0" ]; then
1086 if [ -f /var/lock/subsys/httpd ]; then
1087 /etc/rc.d/init.d/httpd restart 1>&2
1091 %post mod_vhost_alias
1092 if [ -f /var/lock/subsys/httpd ]; then
1093 /etc/rc.d/init.d/httpd restart 1>&2
1095 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1098 %preun mod_vhost_alias
1099 if [ "$1" = "0" ]; then
1100 if [ -f /var/lock/subsys/httpd ]; then
1101 /etc/rc.d/init.d/httpd restart 1>&2
1105 %post -n apr -p /sbin/ldconfig
1106 %postun -n apr -p /sbin/ldconfig
1109 %defattr(644,root,root,755)
1110 %doc ABOUT_APACHE CHANGES README
1111 %doc docs/conf/mime.types
1113 %attr(754,root,root) /etc/rc.d/init.d/httpd
1115 %attr(750,root,root) %dir %{_sysconfdir}
1116 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1117 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1118 %attr(640,root,root) %{_sysconfdir}/magic
1119 %attr(755,root,root) %dir %{_libexecdir}/build
1120 %attr(755,root,root) %{_libexecdir}/build/*.mk
1121 %attr(755,root,root) %{_libexecdir}/build/*.sh
1122 %attr(755,root,root) %{_libexecdir}/build/libtool
1124 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1125 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1128 %attr(755,root,root) %{_libexecdir}/mod_access.so
1129 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1130 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1131 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1132 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1133 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1134 %attr(755,root,root) %{_libexecdir}/mod_env.so
1135 %attr(755,root,root) %{_libexecdir}/mod_include.so
1136 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1137 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1138 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1139 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1140 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1141 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1142 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1144 # look at TODO on top
1145 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1146 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1147 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1148 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1149 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1150 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1151 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1152 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1154 %attr(755,root,root) %{_sbindir}/htdigest
1156 %attr(755,root,root) %{_sbindir}/ab
1157 %attr(755,root,root) %{_sbindir}/apachectl
1158 %attr(755,root,root) %{_sbindir}/apxs
1159 %attr(755,root,root) %{_sbindir}/checkgid
1160 %attr(755,root,root) %{_sbindir}/httpd
1161 %attr(755,root,root) %{_sbindir}/logresolve
1162 %attr(755,root,root) %{_sbindir}/rotatelogs
1163 %attr(755,root,root) %{_sbindir}/envvars*
1165 %dir %attr(770,root,http) /var/run/apache
1167 %{_mandir}/man1/htdigest.1*
1170 %attr(750,root,root) %dir /var/log/httpd
1171 %attr(750,root,root) %dir /var/log/archiv/httpd
1172 %attr(640,root,root) %ghost /var/log/httpd/*
1175 %dir %{_datadir}/manual
1176 %{_datadir}/manual/LICENSE
1177 %{_datadir}/manual/*.xml
1178 %{_datadir}/manual/*.html.en
1179 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1180 %lang(ja) %{_datadir}/manual/*.xml.ja
1181 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1182 %lang(de) %{_datadir}/manual/*.html.de
1183 %lang(fr) %{_datadir}/manual/*.html.fr
1184 %{_datadir}/manual/developer
1185 %{_datadir}/manual/faq
1186 %dir %{_datadir}/manual/howto
1187 %doc %{_datadir}/manual/howto/*.en
1188 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1189 %dir %{_datadir}/manual/images
1190 %{_datadir}/manual/images/[achips]*
1191 %{_datadir}/manual/misc
1192 %dir %{_datadir}/manual/mod
1193 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1194 %{_datadir}/manual/mod/[acd]*.xml
1195 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1196 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1197 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1198 %{_datadir}/manual/mod/index.xml
1199 %{_datadir}/manual/mod/mpm*.html.en
1200 %{_datadir}/manual/mod/mod_access.html.en
1201 %{_datadir}/manual/mod/mod_alias.html.en
1202 %{_datadir}/manual/mod/mod_asis.html.en
1203 %{_datadir}/manual/mod/mod_autoindex.html.en
1204 %{_datadir}/manual/mod/mod_cern_meta.html.en
1205 %{_datadir}/manual/mod/mod_cgi.html.en
1206 %{_datadir}/manual/mod/mod_env.html.en
1207 %{_datadir}/manual/mod/mod_include.html.en
1208 %{_datadir}/manual/mod/mod_log_config.html.en
1209 %{_datadir}/manual/mod/mod_mime*.html.en
1210 %{_datadir}/manual/mod/mod_negotiation.html.en
1211 %{_datadir}/manual/mod/mod_setenvif.html.en
1212 %{_datadir}/manual/mod/mod_speling.html.en
1213 %{_datadir}/manual/mod/mod_userdir.html.en
1214 %{_datadir}/manual/platform
1215 %{_datadir}/manual/programs
1216 %dir %{_datadir}/manual/search
1217 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1218 %{_datadir}/manual/style
1220 # Having all index.html.LANG files here is very bad idea.
1221 %attr(755,root,root) %dir %{_datadir}/html
1222 %config(noreplace,missingok) %{_datadir}/html/index.html
1223 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1224 %{_datadir}/html/*.gif
1225 %{_datadir}/html/*.png
1227 %attr(755,root,root) %{_datadir}/cgi-bin
1232 %defattr(644,root,root,755)
1233 %attr(4755,root,root) %{_sbindir}/suexec
1234 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1235 %{_datadir}/manual/mod/mod_suexec.html.en
1238 %defattr(644,root,root,755)
1239 %{_includedir}/[!a]*
1240 %{_includedir}/ap[!r]*
1241 %{_libexecdir}/*.exp
1244 %defattr(644,root,root,755)
1248 %defattr(644,root,root,755)
1249 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1250 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1251 %{_datadir}/manual/mod/mod_actions.html.en
1254 %defattr(644,root,root,755)
1255 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1256 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1257 %attr(755,root,root) %{_sbindir}/htpasswd
1258 %{_datadir}/manual/mod/mod_auth.html.en
1259 %{_mandir}/man1/htpasswd.1*
1261 %files mod_auth_anon
1262 %defattr(644,root,root,755)
1263 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1264 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1265 %{_datadir}/manual/mod/mod_auth_anon.html.en
1268 %defattr(644,root,root,755)
1269 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1270 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1271 %attr(755,root,root) %{_sbindir}/dbmmanage
1272 %attr(755,root,root) %{_sbindir}/htdbm
1273 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1274 %{_mandir}/man1/dbmmanage.1*
1276 %files mod_auth_digest
1277 %defattr(644,root,root,755)
1278 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1279 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1280 %{_datadir}/manual/mod/mod_auth_digest.html.en
1283 %defattr(644,root,root,755)
1284 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1285 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1286 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1287 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1288 %{_datadir}/manual/mod/mod_cache.html.en
1291 %defattr(644,root,root,755)
1292 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1293 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1294 %{_datadir}/manual/mod/mod_cgid.html.en
1296 %files mod_charset_lite
1297 %defattr(644,root,root,755)
1298 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1299 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1300 %{_datadir}/manual/mod/mod_charset_lite.html.en
1303 %defattr(644,root,root,755)
1304 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1305 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1306 %{_datadir}/manual/mod/mod_dav*.html.en
1309 %defattr(644,root,root,755)
1310 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1311 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1312 %{_datadir}/manual/mod/mod_deflate.html.en
1315 %defattr(644,root,root,755)
1316 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1317 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1318 %{_datadir}/manual/mod/mod_dir.html.en
1321 %defattr(644,root,root,755)
1322 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1323 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1324 %{_datadir}/manual/mod/mod_expires.html.en
1326 %files mod_file_cache
1327 %defattr(644,root,root,755)
1328 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1329 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1330 %{_datadir}/manual/mod/mod_file_cache.html.en
1333 %defattr(644,root,root,755)
1334 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1335 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1336 %{_datadir}/manual/mod/mod_headers.html.en
1339 %defattr(644,root,root,755)
1340 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1341 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1342 %{_datadir}/manual/mod/mod_imap.html.en
1345 %defattr(644,root,root,755)
1346 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1347 %attr(755,root,root) %{_libexecdir}/mod_info.so
1348 %{_datadir}/manual/mod/mod_info.html.en
1351 %defattr(644,root,root,755)
1352 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1353 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1354 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1355 %attr(770,root,http) /var/cache/apache
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1360 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1361 %{_datadir}/manual/mod/mod_rewrite.html.en
1362 %{_datadir}/manual/images/mod_rewrite*
1364 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1366 %defattr(644,root,root,755)
1367 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1368 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1369 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1370 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1371 %{_datadir}/manual/ssl
1372 %{_datadir}/manual/mod/mod_ssl.html.en
1376 %defattr(644,root,root,755)
1377 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1378 %attr(755,root,root) %{_libexecdir}/mod_status.so
1379 %{_datadir}/manual/mod/mod_status.html.en
1381 %files mod_usertrack
1382 %defattr(644,root,root,755)
1383 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1384 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1385 %{_datadir}/manual/mod/mod_usertrack.html.en
1387 %files mod_unique_id
1388 %defattr(644,root,root,755)
1389 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1390 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1391 %{_datadir}/manual/mod/mod_unique_id.html.en
1393 %files mod_vhost_alias
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1396 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1397 %{_datadir}/manual/vhosts
1398 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/libapr*.so.*
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_bindir}/apr-config
1407 %attr(755,root,root) %{_bindir}/apu-config
1409 %{_includedir}/apr*.h
1410 #%%{_libdir}/APRVARS
1412 %attr(755,root,root) %{_libdir}/libapr*.so
1413 %{_libdir}/libapr*.la
1415 #%files -n apr-static
1416 #%defattr(644,root,root,755)
1417 #%{_libdir}/libapr.a