]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.spec
- release 0.3
[packages/apache.git] / apache.spec
index 3b0a6154ef3ca36a281d95517856ebfdb2f1ea9b..93079130cfef6fc858ebec2bb4d6e7c7c350ef10 100644 (file)
@@ -1,23 +1,33 @@
-#
-# Conditional build:
-# mod_rewrite_ldap - enable ldap map supoort for mod_rewrite (alpha)
-# _without_apache_ipv6 - disable IPv6 support
-#
+# _without_ssl - don't build with SSL support
+# TODO:
+# - mod_case_filter
+# - mod_case_filter_in
+# - mod_optional_fn_{export,import}
+# - mod_optional_hook_{export,import}
+# - mod_ext_filter
+# - mod_echo
+# - config examples for mod_*
+# - switch from worker to perchild when it will be working in apache
+# - check if all modules are (de)registered in %%post/%%postun
+# - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
+# - add %%post/%%postun to suexec
+# - --with-suexec-gidmin=500 or =100 ?
+# - --with-suexec-uidmin=500 or =1000 ?
 %include       /usr/lib/rpm/macros.perl
 Summary:       The most widely used Web server on the Internet
 Summary(de):   Leading World Wide Web-Server
+Summary(es):   Servidor HTTPD para proveer servicios WWW
 Summary(fr):   Le serveur web le plus utilise sur Internet
 Summary(pl):   Serwer WWW (World Wide Web)
+Summary(pt_BR):        Servidor HTTPD para prover serviços WWW
 Summary(tr):   Lider WWW tarayýcý
 Name:          apache
-Version:       1.3.20
-Release:       2
+Version:       2.0.44
+Release:       0.3
 License:       Apache Group License
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-URL:           http://www.apache.org/
-Source0:       ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz
+URL:           http://httpd.apache.org/
+Source0:       http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
 Source1:       %{name}.init
 Source2:       %{name}.logrotate
 Source3:       %{name}-icons.tar.gz
@@ -26,55 +36,51 @@ Source6:    %{name}-httpd.conf
 Source8:       %{name}-mod_vhost_alias.conf
 Source9:       %{name}-mod_status.conf
 Source10:      %{name}-mod_proxy.conf
-Patch0:                %{name}-PLD.patch
-Patch1:                %{name}-suexec.patch
-Patch2:                %{name}-htdocs.patch
-Patch3:                %{name}-errordocs.patch
-Patch4:                %{name}-apxs.patch
-Patch5:                %{name}-mod_ssl-addon.patch
-Patch6:                %{name}-mod_ssl-eapi.patch
-Patch7:                %{name}-EAPI_MM_CORE_PATH-correction.patch
-Patch8:                %{name}-EAPI_MM=SYSTEM.patch
-Patch9:                %{name}-ipv6-PLD.patch
-Patch10:       %{name}-modules_symbols.patch
-Patch11:       %{name}-apxs_force_rm_cp.patch
-Patch12:       %{name}-db3.patch
-Patch13:       %{name}-lookup_map_ldap.patch
-Patch14:       %{name}-man.patch
-Patch15:       %{name}-fpic.patch
-Patch16:       %{name}-buff.patch
-Patch17:       %{name}-mkstemp.patch
-Patch18:       %{name}-EAPI-missing_files.patch
-Patch19:       %{name}-mod_include-segv.patch
-Patch20:       %{name}-PLD-nov6.patch
-Patch21:       %{name}-configdir_skip_backups.patch
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-BuildRequires:  db3-devel
-BuildRequires: mm-devel >= 1.1.3
-%{?mod_rewrite_ldap:BuildRequires: openldap-devel}
-Provides:      httpd
-Provides:      webserver
-Provides:      %{name}(EAPI) = %{version}
-Prereq:                /sbin/chkconfig
-Prereq:                /usr/sbin/useradd
-Prereq:                /usr/bin/getgid
-Prereq:                /bin/id
-Prereq:                sh-utils
-Prereq:                rc-scripts
-Prereq:                mm
-Prereq:                perl
+Source11:      %{name}-mod_info.conf
+Source12:      %{name}-mod_ssl.conf
+Source13:      %{name}-mod_dav.conf
+Source14:      %{name}-mod_dir.conf
+Source20:      %{name}-server.crt
+Source21:      %{name}-server.key
+Patch0:                %{name}-apxs.patch
+Patch1:                %{name}-configdir_skip_backups.patch
+Patch2:                %{name}-layout.patch
+Patch3:                %{name}-suexec.patch
+BuildRequires: db-devel
+BuildRequires: expat-devel
+BuildRequires: gdbm-devel >= 1.8.3
+%{!?_without_ssl:BuildRequires:        openssl-devel >= 0.9.7}
+%{!?_without_ssl:BuildRequires:        openssl-tools >= 0.9.7}
+BuildRequires: perl-devel >= 5.004
+BuildRequires: rpm-perlprov >= 4.0.4
+BuildRequires: zlib-devel
+PreReq:                perl
+PreReq:                rc-scripts
+Requires(pre): /usr/bin/getgid
+Requires(pre): /bin/id
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+Requires(post,preun):  /sbin/chkconfig
+Requires(post,postun): /sbin/ldconfig
+Requires(post):        fileutils
+Requires(postun):      /usr/sbin/userdel
+Requires(postun):      /usr/sbin/groupdel
 Requires:      mailcap
 Requires:      /etc/mime.types
 Requires:      psmisc >= 20.1
+Requires:      libtool
+Provides:      httpd = %{version}
+Provides:      webserver = %{version}
 Obsoletes:     apache-extra
 Obsoletes:     apache6
 Obsoletes:     apache-doc
 Obsoletes:     indexhtml
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/httpd
 %define                _includedir     %{_prefix}/include/apache
-%define                _datadir        /home/httpd
-%define                _libexecdir     %{_prefix}/lib/apache
+%define                _datadir        /home/services/httpd
+%define                _libexecdir     %{_libdir}/apache
 
 %description
 Apache is a powerful, full-featured, efficient and freely-available
@@ -85,6 +91,14 @@ Internet.
 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
 erhältlich und weit verbreitet ist.
 
+%description -l es
+El servidor web Apache es el mejor servidor gratuito disponible en el
+mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
+que browsers web vean documentos y sometan datos remotamente. Puede
+ejecutar varias funciones diferentes, incluyendo funciones de proxy y
+caché, y nos ofrece características como monitor de estado, conversión
+dinámica de tipo, y otras más.
+
 %description -l fr
 Apache est un serveur Web puissant, efficace, gratuit et complet.
 Apache est aussi le serveur Web le plus populaire sur Internet.
@@ -93,18 +107,23 @@ Apache est aussi le serveur Web le plus populaire sur Internet.
 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
 
+%description -l pt_BR
+O servidor web Apache é o melhor servidor gratuito disponível no mundo
+UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
+que browsers web vejam documentos e submetam dados remotamente. Ele
+pode executar várias funções diferentes, incluindo funções de proxy e
+cache, e oferece características como monitor de status, conversão
+dinâmica de tipo, e mais.
+
 %description -l tr
 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
 sunucusudur.
 
 %package suexec
 Summary:       Apache suexec wrapper
-Summary(pl):   Suexec wrapper do serwera www Apache
+Summary(pl):   Suexec wrapper do serwera WWW Apache
 Group:         Development/Tools
-Group(de):     Entwicklung/Werkzeuge
-Group(fr):     Development/Outils
-Group(pl):     Programowanie/Narzêdzia
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description suexec
 The suEXEC feature provides Apache users the ability to run CGI and
@@ -112,77 +131,90 @@ SSI programs under user IDs different from the user ID of the calling
 web-server. Normally, when a CGI or SSI program executes, it runs as
 the same user who is running the web server.
 
-%description -l pl suexec
+%description suexec -l pl
 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
 
 %package devel
 Summary:       Module development tools for the Apache web server
+Summary(es):   Archivos de inclusión del Apache para desarrollo de módulos
 Summary(fr):   Les outils de developpement de modules pour le serveur web Apache
-Summary(pl):   Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
+Summary(pl):   Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
+Summary(pt_BR):        Arquivos de inclusão do Apache para desenvolvimento de módulos
 Group:         Networking/Utilities
-Group(de):     Netzwerkwesen/Werkzeuge
-Group(pl):     Sieciowe/Narzêdzia
-Requires:      %{name}(EAPI) = %{version}
-Provides:      %{name}(EAPI)-devel
+Requires:      %{name} = %{version}
+Requires:      apr-devel = %{version}
 
 %description devel
 The apache-devel package contains header files for Apache.
 
-%description -l fr devel
+%description devel -l es
+Este paquete contiene los archivos de inclusión para el Apache, bien
+como el utilitario apxs para la construcción de objetos compartidos
+dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
+o desarrollar módulos adicionales para Apache.
+
+%description devel -l fr
 Le package apache-devel contient le code source pour le serveur Web
 Apache et le binaire APXS dont vous aurez besoin pour construire des
 Objets Dynamiques Partages (DSOs) pour Apache.
 
-%description -l pl devel
+%description devel -l pl
 Pliki nag³ówkowe dla serwera WWW Apache.
 
+%description devel -l pt_BR
+Este pacote contem os arquivos de inclusão para o Apache, bem como o
+utilitário apxs para a construção de objetos compartilhados dinâmicos
+(DSOs). Este pacote precisa ser instalado se você deseja compilar ou
+desenvolver módulos adicionais para o Apache.
+
+%package static
+Summary:       Static Apache web server libraries
+Summary(pl):   Statyczne biblioteki serwera WWW Apache
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+The apache-static package contains static libraries for Apache.
+
+%description static -l pl
+Styatyczne biblioteki serwera Apache.
+
 %package mod_actions
 Summary:       Apache module for run CGI whenever a file of a certain type is requested
-Summary(pl):   Modu³ dla apache do uruchamiania skryptów cgi
+Summary(pl):   Modu³ Apache'a do uruchamiania skryptów CGI
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_actions
 This package contains mod_actions module. This module lets you run CGI
 scripts whenever a file of a certain type is requested. This makes it
 much easier to execute scripts that process files.
 
-%description -l pl mod_actions
+%description mod_actions -l pl
 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
 ¿±danie pobrania pliku okre¶lonego typu.
 
 %package mod_auth
 Summary:       Apache module with user authentication using textual files
+Summary(pl):   Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_auth
 This package contains mod_auth module. It provides for user
 authentication using textual files.
 
-%description -l pl mod_auth
-Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji przy u¿yciu
-plików tekstowych.
+%description mod_auth -l pl
+Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
+u¿ytkowników na podstawie plików tekstowych.
 
 %package mod_auth_anon
 Summary:       Apache module with "anonymous" user access authentication
-Summary(pl):   Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
+Summary(pl):   Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_auth_anon
 This package contains mod_auth_anon module. It allows "anonymous" user
@@ -196,205 +228,224 @@ users. One advantage of using Auth-based user tracking is that, unlike
 magic-cookies and funny URL pre/postfixes, it is completely browser
 independent and it allows users to share URLs.
 
-%description -l pl mod_auth_anon
-Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
-anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
-postaci adresu pocztowego u¿ytkownika).
+%description mod_auth_anon -l pl
+Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
+anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
+adresu pocztowego u¿ytkownika).
 
-%package mod_auth_db
-Summary:       Apache module with user authentication which uses Berkeley DB files
-Summary(pl):   Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
+%package mod_auth_dbm
+Summary:       Apache module with user authentication which uses DBM files
+Summary(pl):   Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
-
-%description mod_auth_db
-This package contains mod_auth_db module. It provides for user
-authentication using Berkeley DB files. It is an alternative to DBM
-files for those systems which support DB and not DBM. It is only
-available in Apache 1.1 and later.
-
-%description -l pl mod_auth_db
-Ten pakiet zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
-ale jako plików danych u¿ywa Berkeley DB.
-
-%package mod_define
-Summary:       Apache module - authentication variables for arbitrary directives
-Summary(pl):   Modu³ apache do definiowania zmiennych
-Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
-
-%description mod_define
-It provides the definition variables for arbitrary directives, i.e.
-variables which can be expanded on any(!) directive line.
-
-%description -l pl mod_define
-Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
-
-%package mod_digest
-Summary:       Apache user authentication module using MD5 Digest Authentication 
-Summary(pl):   Modu³ apache do autoryzacji MD5
+Obsoletes:     %{name}-mod_auth_db
+Requires:      %{name} = %{version}
+
+%description mod_auth_dbm
+This module provides for HTTP Basic Authentication, where the
+usernames and passwords are stored in DBM type database files. It is
+an alternative to the plain text password files provided by mod_auth.
+
+%description mod_auth_dbm -l pl
+Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
+ich has³a s± trzymane w plikach bazy typu DBM.
+
+%package mod_auth_digest
+Summary:       Apache user authentication module using MD5 Digest Authentication
+Summary(pl):   Modu³ Apache'a do autoryzacji MD5
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Obsoletes:     apache-mod_digest
+Requires:      %{name} = %{version}
 
-%description mod_digest
+%description mod_auth_digest
 This package contains mod_digest module. It provides user
 authentication using MD5 Digest Authentication.
 
-%description -l pl mod_digest
+%description mod_auth_digest -l pl
 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
 Authentication.
 
+%package mod_cache
+Summary:       Content cache keyed to URIs
+Summary(pl):   Pamiêæ podrêczna wg klucza URI
+Group:         Networking/Daemons
+Requires:      %{name} = %{version}
+
+%description mod_cache
+mod_cache implements an RFC 2616 compliant HTTP content cache that can
+be used to cache either local or proxied content. Two storage
+management modules are included in the base Apache distribution:
+mod_disk_cache implements a disk based storage manager (generally used
+for proxy caching) and mod_mem_cache implements an in-memory based
+storage manager (primarily useful for caching local content).
+
+%description mod_cache -l pl
+Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
+u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
+proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
+(g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
+(u¿ywane do cacheowania proxy).
+
+%package mod_cgid
+Summary:       Execution of CGI scripts using an external CGI daemon
+Summary(pl):   Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
+Group:         Networking/Daemons
+Requires:      %{name} = %{version}
+
+%description mod_cgid
+Execution of CGI scripts using an external CGI daemon.
+
+%description mod_cgid -l pl
+Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
+
+%package mod_charset_lite
+Summary:       Specify character set translation or recoding
+Summary(pl):   Translacja lub przekodowywanie znaków
+Group:         Networking/Daemons
+Requires:      %{name} = %{version}
+
+%description mod_charset_lite
+Specify character set translation or recoding.
+
+%description mod_charset_lite -l pl
+Translacja lub przekodowywanie znaków.
+
+%package mod_dav
+Summary:       Apache module - Distributed Authoring and Versioning
+Summary(pl):   Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
+Group:         Networking/Daemons
+Requires:      %{name} = %{version}
+
+%description mod_dav
+This module provides class 1 and class 2 WebDAV ('Web-based
+Distributed Authoring and Versioning') functionality for Apache. This
+extension to the HTTP protocol allows creating, moving, copying, and
+deleting resources and collections on a remote web server.
+
+%description mod_dav -l pl
+Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
+rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
+na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
+zdalnym serwerze WWW.
+
+%package mod_deflate
+Summary:       Apache module: Compress content before it is delivered to the client
+Summary(pl):   Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
+Group:         Networking/Daemons
+Requires:      %{name} = %{version}
+
+%description mod_deflate
+Compress content before it is delivered to the client.
+
+%description mod_deflate -l pl
+Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
+
 %package mod_dir
 Summary:       Apache module for "trailing slash" redirects and serving directory index files
-Summary(pl):   Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
+Summary(pl):   Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_dir
 This package contains mod_dir which provides "trailing slash"
 redirects and serving directory index files.
 
-%description -l pl mod_dir
-Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
+%description mod_dir -l pl
+Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
+katalogu.
 
 %package mod_headers
 Summary:       Apache module allows for the customization of HTTP response headers
 Summary(pl):   Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_headers
 This package contains mod_headers module. The module allows for the
 customization of HTTP response headers. Headers can be merged,
 replaced or removed.
 
-%description -l pl mod_headers
+%description mod_headers -l pl
 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
 wysy³anych do przegl±darki.
 
-%package mod_mmap_static
-Summary:       Apache module for mmap()ing statically configured list files
-Summary(pl):   Modu³ s³u¿±cy do mmap()owania plików.
-Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
-
-%description mod_mmap_static
-This package contains mod_mmap_static module. It provides mmap()ing of
-a statically configured list of frequently requested but not changed
-files.
-
-%description -l pl mod_mmap_static
-Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
-(czêsto u¿ywanych ale nie ulegaj±cych zmianom).
-
 %package mod_imap
 Summary:       Apache module with imap-file handler
 Summary(pl):   Modu³ z obs³ug± imap-file
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_imap
 This package contains mod_imap module. It provides for .map files,
 replacing the functionality of the imagemap CGI program. Any directory
 or document type configured to use the handler imap-file.
 
-%description -l pl mod_imap
+%description mod_imap -l pl
 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
 
 %package mod_info
 Summary:       Apache module with comprehensive overview of the server configuration
-Summary(pl):   Modu³ dostarczaj±cy informacji na temat serwera.
+Summary(pl):   Modu³ udostêpniaj±cy informacje o serwerze
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_info
 This package contains mod_info module. It provides a comprehensive
 overview of the server configuration including all installed modules
 and directives in the configuration files.
 
-%description -l pl mod_info
-Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
-modu³ach itp.
+%description mod_info -l pl
+Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
+zainstalowanych modu³ach itp.
 
 %package mod_proxy
 Summary:       Apache module with Web proxy
 Summary(pl):   Modu³ dodaj±cy obs³ugê serwera proxy
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_proxy
+
 This package contains module with implementation a proxy/cache for
 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
-HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
-other proxy modules for these and other protocols.
+HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
+connect to other proxy modules for these and other protocols.
 
-%description -l pl mod_proxy
+%description mod_proxy -l pl
 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
-Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
-HTTP/1.0.
+Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
+HTTP/1.0 i HTTP/1.1.
 
 %package mod_rewrite
 Summary:       Apache module with rule-based engine for rewrite requested URLs on the fly
-Summary(pl):   Modu³ do ,,przepisywania'' adresów URL w locie
+Summary(pl):   Modu³ do "przepisywania" adresów URL w locie
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_rewrite
 This package contains It provides a rule-based rewriting engine to
 rewrite requested URLs on the fly.
 
-%description -l pl mod_rewrite
-Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
+%description mod_rewrite -l pl
+Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
+
+%package mod_ssl
+Summary:       Apache module: Strong cryptography using the Secure Sockets Layer (SSL)
+Summary(pl):   Modu³ Apache'a: Silna kryptografia z u¿yciem SSL
+Group:         Networking/Daemons
+Epoch:         1
+Requires:      %{name} = %{version}
+
+%description mod_ssl
+Strong cryptography using the Secure Sockets Layer (SSL).
+
+%description mod_ssl -l pl
+Silna kryptografia z u¿yciem SSL.
 
 %package mod_status
 Summary:       Server status report module for apache
-Summary(pl):   Modu³ dostarczaj±cy informacje statystyczne o serwerze.
+Summary(pl):   Modu³ udostêpniaj±cy informacje statystyczne z serwera
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_status
 The Status module allows a server administrator to find out how well
@@ -403,55 +454,43 @@ current server statistics in an easily readable form. If required this
 page can be made to automatically refresh (given a compatible
 browser).
 
-%description -l pl mod_status
+%description mod_status -l pl
 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
 pracy serwera apache (w postaci strony HTML).
 
 %package mod_usertrack
 Summary:       Apache module for user tracking using cookies
-Summary(pl):   Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
+Summary(pl):   Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_usertrack
 This package contains the user tracking module which did its own
 logging using CookieLog directory. This module allow multiple log
 files.
 
-%description -l pl mod_usertrack
-Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
+%description mod_usertrack -l pl
+Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
 
 %package mod_vhost_alias
 Summary:       Apache module for dynamically configured mass virtual hosting
-Summary(pl):   Modu³ dodaj±cy obs³ugê hostów wirtualnych.
+Summary(pl):   Modu³ dodaj±cy obs³ugê hostów wirtualnych
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_vhost_alias
 This package contains the mod_vhost_alias. It provides support for
 dynamically configured mass virtual hosting.
 
-%description -l pl mod_vhost_alias
+%description mod_vhost_alias -l pl
 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
 wirtualnych.
 
 %package mod_unique_id
 Summary:       Apache module which provides a magic token for each request
-Summary(pl):   Modu³ nadaj±cy ka¿demu ¿±daniu unikalny token
+Summary(pl):   Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_unique_id
 This package contains the mod_unique_id. This module provides a magic
@@ -462,177 +501,262 @@ machines. The environment variable UNIQUE_ID is set to the identifier
 for each request. Unique identifiers are useful for various reasons
 which are beyond the scope of this document.
 
-%description -l pl mod_unique_id
-Modu³ nadaje przy ka¿dym ¿±daniu token unikalny w ramach wszystkich
-¿±dañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
-maszyn. Modu³ ustawia przy ka¿dym ¿±daniu zmienn± ¶rodowiskow±
+%description mod_unique_id -l pl
+Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
+zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
+maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
 UNIQUE_ID.
 
 %package mod_expires
 Summary:       Apache module which generates Expires HTTP headers
 Summary(pl):   Modu³ generuj±cy nag³ówki HTTP Expires
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Prereq:                %{_sbindir}/apxs
-Prereq:                perl
-Requires:      %{name}(EAPI) = %{version}
+Requires:      %{name} = %{version}
 
 %description mod_expires
 This module controls the setting of the Expires HTTP header in server
-responses. The expiration date can set to be relative to either the time
-the source file was last modified, or to the time of the client access.
+responses. The expiration date can set to be relative to either the
+time the source file was last modified, or to the time of the client
+access.
 
-%description -l pl mod_expires
+%description mod_expires -l pl
 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
 ¼ród³owych lub odwo³ania klienta.
 
-%prep 
-%setup -q -n apache_%{version} -a3
+%package mod_file_cache
+Summary:       Apache module: Caches a static list of files in memory
+Summary(pl):   Modu³ cache'uj±cy statyczn± listê plików w pamiêci
+Group:         Networking/Daemons
+Obsoletes:     %{name}-mmap_static
+Requires:      %{name} = %{version}
+
+%description mod_file_cache
+Caches a static list of files in memory.
+
+%description mod_file_cache -l pl
+Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
+
+%package -n apr
+Summary:       The Apache Portable Runtime library
+Summary(pl):   Przeno¶na biblioteka Apache
+Group:         Libraries
+
+%description -n apr
+The Apache Portable Run-time libraries have been designed to provide a
+common interface to low level routines across any platform.
+
+%description -n apr -l pl
+Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
+udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
+funkcji na dowolnej platformie.
+
+%package -n apr-devel
+Summary:       The includes and linker libraries for development with APR
+Summary(pl):   Pliki nag³ówkowe, biblioteki dla konsolidatora APR
+Group:         Development/Libraries
+Requires:      apr = %{version}
+
+%description -n apr-devel
+The includes and linker libraries for development with APR.
+
+%description -n apr-devel -l pl
+Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
+
+%package -n apr-static
+Summary:       Static APR libraries
+Summary(pl):   Statyczne biblioteki APR
+Group:         Development/Libraries
+Requires:      apr-devel = %{version}
+
+%description -n apr-static
+Static APR libraries.
+
+%description -n apr-static -l pl
+Statyczne biblioteki APR.
+
+%prep
+%setup -q -n httpd-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
-%patch5 -p0
-%patch6 -p0
-%patch7 -p1
-%patch8 -p1
-%{!?_without_apache_ipv6:%patch9 -p1}
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%{?mod_rewrite_ldap:%patch13 -p1}
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-%{?_without_apache_ipv6:%patch20 -p1}
-%patch21 -p1
 
 %build
-OPTIM="%{rpmcflags}" \
-./configure \
-       --prefix=%{_prefix} \
-       --sysconfdir=%{_sysconfdir} \
-       --includedir=%{_includedir} \
-       --sbindir=%{_sbindir} \
-       --libexecdir=%{_libexecdir} \
-       --datadir=%{_datadir} \
-       --localstatedir=/var \
-       --runtimedir=/var/run \
-       --logfiledir=/var/log/httpd \
-       --with-layout=PLD \
-       --without-confadjust \
-       --enable-module=all \
-       --enable-shared=max \
-       --proxycachedir=/var/cache/apache \
-       --with-perl=%{_bindir}/perl \
+%configure \
+       --enable-layout=PLD \
+       --enable-modules=all \
+       --enable-mods-shared=all \
+       --enable-auth-anon       \
+       --enable-auth-dbm \
+       --enable-auth-digest \
+       --enable-file-cache \
+       --enable-echo \
+       --enable-cache \
+       --enable-charset-lite \
+       --enable-mem-cache \
+       --enable-disk-cache \
+       --enable-ext-filter \
+       --enable-case-filter \
+       --enable-case-filter-in \
+       --enable-deflate \
+       --with-z=%{_prefix} \
+       --enable-mime-magic \
+       --enable-cern-meta \
+       --enable-expires \
+       --enable-headers \
+       --enable-usertrack \
+       --enable-unique-id \
+       --enable-proxy \
+       --enable-proxy-connect \
+       --enable-proxy-ftp \
+       --enable-proxy-http \
+       %{!?_without_ssl:--enable-ssl} \
+       --enable-optional-hook-export \
+       --enable-optional-hook-import \
+       --enable-optional-fn-import \
+       --enable-optional-fn-export \
+       --enable-dav \
+       --enable-info \
        --enable-suexec \
-       --suexec-caller=http \
-       --suexec-uidmin=500 \
-       --suexec-gidmin=500 \
-       --suexec-docroot=%{_datadir} \
-       --disable-rule=WANTHSREGEX \
-       --enable-rule=EAPI \
-       %{!?_without_apache_ipv6:--enable-rule=INET6}
-
-%{__make} LIBS1="-lm -lcrypt -lmm -ldl"
-
-rm -f src/modules/standard/mod_auth_db.so
-%{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
-
-rm -f src/modules/standard/mod_auth_dbm.so
-%{__make} -C src/modules/standard mod_auth_dbm.so LIBS_SHLIB="-lndbm"
-
-rm -f src/modules/standard/mod_rewrite.so
-%{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-lndbm %{?mod_rewrite_ldap:-lldap -llber}"
+       --enable-cgi \
+       --enable-cgid \
+       --enable-dav-fs \
+       --enable-vhost-alias \
+       --enable-speling \
+       --enable-rewrite \
+       --enable-so \
+       --with-mpm=worker \
+       --with-suexec-bin=%{_sbindir}/suexec \
+       --with-suexec-caller=http \
+       --with-suexec-docroot=%{_datadir} \
+       --with-suexec-logfile=/var/log/httpd/suexec_log \
+       --with-suexec-uidmin=500 \
+       --with-suexec-gidmin=500 \
+       --with-suexec-umask=077
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
-       $RPM_BUILD_ROOT%{_datadir}/errordocs \
-       $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},run/apache}
-
-%{__make} install-quiet root="$RPM_BUILD_ROOT"
-
-mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
+install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
+install -d $RPM_BUILD_ROOT%{_var}/log/{httpd,archiv/httpd}
+install -d $RPM_BUILD_ROOT%{_var}/{run,cache}/apache
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT \
+       installbuilddir=%{_sysconfdir}/build \
+       prefix=%{_sysconfdir}/httpd \
+       libexecdir=%{_libdir}/%{name} \
+       iconsdir=%{_datadir}/icons \
+       errordir=%{_datadir}/error \
+       htdocsdir=%{_datadir}/html \
+       manualdir=%{_datadir}/manual \
+       cgidir=%{_datadir}/cgi-bin \
+       runtimedir=%{_var}/run \
+       logdir=%{_var}/log/httpd \
+       proxycachedir=%{_var}/cache/httpd
+
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+
+mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
+       $RPM_BUILD_ROOT%{_libexecdir}/build
+
+perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
+perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
 
-touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
-
-install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
-
-install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
-
-install %{SOURCE8}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
-install %{SOURCE9}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
-install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
+touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
+
+%if %{?_without_ssl:0}%{!?_without_ssl:1}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
+install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
+install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
+%endif
+
+CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
+
+install %{SOURCE6}  $CFG/10_httpd.conf
+install %{SOURCE8}  $CFG/20_mod_vhost_alias.conf
+install %{SOURCE9}  $CFG/25_mod_status.conf
+install %{SOURCE10} $CFG/30_mod_proxy.conf
+install %{SOURCE11} $CFG/35_mod_info.conf
+install %{SOURCE12} $CFG/40_mod_ssl.conf
+install %{SOURCE13} $CFG/45_mod_dav.conf
+install %{SOURCE14} $CFG/59_mod_dir.conf
+
+echo "LoadModule actions_module       %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
+echo "LoadModule auth_module          %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
+echo "LoadModule auth_anon_module     %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
+echo "LoadModule auth_dbm_module      %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
+echo "LoadModule auth_digest_module   %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
+echo "LoadModule cache_module         %{_libexecdir}/mod_cache.so
+LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
+LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
+echo "LoadModule cgid_module          %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
+echo "LoadModule charset_lite_module  %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
+echo "LoadModule deflate_module       %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
+echo "LoadModule expires_module       %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
+echo "LoadModule file_cache_module    %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
+echo "LoadModule headers_module       %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
+echo "LoadModule imap_module          %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
+echo "LoadModule rewrite_module       %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
+echo "LoadModule usertrack_module     %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
+echo "LoadModule unique_id_module     %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
 
 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
 
-gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %pre
-GROUP=http; GID=51; %groupadd
-USER=http; UID=51; HOMEDIR=/home/httpd; COMMENT="HTTP User"; %useradd
+if [ -n "`getgid http`" ]; then
+       if [ "`getgid http`" != "51" ]; then
+               echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
+               exit 1
+       fi
+else
+       /usr/sbin/groupadd -g 51 -r -f http
+fi
+if [ -n "`id -u http 2>/dev/null`" ]; then
+       if [ "`id -u http`" != "51" ]; then
+               echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
+               exit 1
+       fi
+else
+       /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
+fi
 
 %post
-%{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
-%{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
-%{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
-%{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
-%{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
-%{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
-%{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
-%{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
-%{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
-%{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
-%{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
-%{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
-%{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
-%{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
-%{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
-%{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
-%{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
+/sbin/ldconfig
+/sbin/chkconfig --add httpd
 umask 137
 touch /var/log/httpd/{access,error,agent,referer}_log
-NAME=httpd; DESC="apache http daemon"; %chkconfig_add
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+else
+       echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+fi
 
 %preun
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
-       %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
-       %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
-       %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
-       %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
-       %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
-       %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
-       %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
-       %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
-       %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
-       %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
-       %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
-       %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
-       %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
-       %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
-       %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
-       %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd stop 1>&2
+       fi
+       /sbin/chkconfig --del httpd
 fi
-NAME=httpd; %chkconfig_del
 
 %postun
-USER=http; %userdel
-GROUP=http; %groupdel
+/sbin/ldconfig
+if [ "$1" = "0" ]; then
+       /usr/sbin/userdel http
+       /usr/sbin/groupdel http
+fi
 
 %post mod_actions
-%{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -641,14 +765,12 @@ fi
 
 %preun mod_actions
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_auth
-%{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -657,14 +779,12 @@ fi
 
 %preun mod_auth
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_auth_anon
-%{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -673,64 +793,110 @@ fi
 
 %preun mod_auth_anon
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
-%post mod_auth_db
-%{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
-%{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
+%post mod_auth_dbm
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+else
+       echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+fi
+
+%preun mod_auth_dbm
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
+%post mod_cache
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+else
+       echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+fi
+
+%preun mod_cache
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
+%post mod_cgid
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+else
+       echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+fi
+
+%preun mod_cgid
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
+%post mod_charset_lite
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+else
+       echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+fi
+
+%preun mod_charset_lite
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
+%post mod_dav
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
        echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
 fi
 
-%preun mod_auth_db
+%preun mod_dav
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
-       %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
-%post mod_define
-%{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
+%post mod_auth_digest
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
        echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
 fi
 
-%preun mod_define
+%preun mod_auth_digest
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
-%post mod_digest
-%{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
+%post mod_deflate
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
        echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
 fi
 
-%preun mod_digest
+%preun mod_deflate
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_dir
-%{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -739,14 +905,12 @@ fi
 
 %preun mod_dir
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_expires
-%{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -755,46 +919,40 @@ fi
 
 %preun mod_expires
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
-%post mod_headers
-%{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
+%post mod_file_cache
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
        echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
 fi
 
-%preun mod_headers
+%preun mod_file_cache
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
-%post mod_mmap_static
-%{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
+%post mod_headers
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
        echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
 fi
 
-%preun mod_mmap_static
+%preun mod_headers
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_imap
-%{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -803,14 +961,12 @@ fi
 
 %preun mod_imap
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_info
-%{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -819,17 +975,12 @@ fi
 
 %preun mod_info
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_proxy
-%{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
-if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
-       echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
-fi
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -838,17 +989,12 @@ fi
 
 %preun mod_proxy
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
-       grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
-               /etc/httpd/httpd.conf.tmp
-       mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_rewrite
-%{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -857,17 +1003,26 @@ fi
 
 %preun mod_rewrite
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
-%post mod_status
-%{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
-if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
-       echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
+%post mod_ssl
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+else
+       echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
 fi
+
+%preun mod_ssl
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
+%post mod_status
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -876,17 +1031,12 @@ fi
 
 %preun mod_status
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
-       grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
-               /etc/httpd/httpd.conf.tmp
-       mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_usertrack
-%{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -895,14 +1045,12 @@ fi
 
 %preun mod_usertrack
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_unique_id
-%{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -911,17 +1059,12 @@ fi
 
 %preun mod_unique_id
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
 %post mod_vhost_alias
-%{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
-if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
-       echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
-fi
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -930,28 +1073,29 @@ fi
 
 %preun mod_vhost_alias
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
-       grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
-               /etc/httpd/httpd.conf.tmp
-       mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%post  -n apr -p /sbin/ldconfig
+%postun -n apr -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
-%doc conf/mime.types
+%doc ABOUT_APACHE CHANGES README 
+%doc docs/conf/mime.types
 
 %attr(754,root,root) /etc/rc.d/init.d/httpd
 
 %attr(750,root,root) %dir %{_sysconfdir}
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
+%attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
 %attr(640,root,root) %{_sysconfdir}/magic
+%attr(755,root,root) %dir %{_libexecdir}/build
+%attr(755,root,root) %{_libexecdir}/build/*.mk
+%attr(755,root,root) %{_libexecdir}/build/*.sh
+%attr(755,root,root) %{_libexecdir}/build/libtool
 
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
@@ -965,9 +1109,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
 %attr(755,root,root) %{_libexecdir}/mod_env.so
 %attr(755,root,root) %{_libexecdir}/mod_include.so
-%attr(755,root,root) %{_libexecdir}/mod_log_agent.so
 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
-%attr(755,root,root) %{_libexecdir}/mod_log_referer.so
 %attr(755,root,root) %{_libexecdir}/mod_mime.so
 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
@@ -975,14 +1117,26 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libexecdir}/mod_speling.so
 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
 
-%attr(755,root,root) %{_bindir}/htdigest
+# look at TODO on top
+%attr(755,root,root) %{_libexecdir}/mod_case_filter.so
+%attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
+%attr(755,root,root) %{_libexecdir}/mod_echo.so
+%attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
+%attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
+%attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
+%attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
+%attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
+
+%attr(755,root,root) %{_sbindir}/htdigest
 
 %attr(755,root,root) %{_sbindir}/ab
 %attr(755,root,root) %{_sbindir}/apachectl
 %attr(755,root,root) %{_sbindir}/apxs
+%attr(755,root,root) %{_sbindir}/checkgid
 %attr(755,root,root) %{_sbindir}/httpd
 %attr(755,root,root) %{_sbindir}/logresolve
 %attr(755,root,root) %{_sbindir}/rotatelogs
+%attr(755,root,root) %{_sbindir}/envvars*
 
 %dir %attr(770,root,http) /var/run/apache
 
@@ -995,292 +1149,248 @@ rm -rf $RPM_BUILD_ROOT
 
 %dir %{_datadir}
 %dir %{_datadir}/manual
-%dir %{_datadir}/manual/images/
-%{_datadir}/manual/images/apache_header.gif 
-%{_datadir}/manual/images/custom_errordocs.gif 
-%{_datadir}/manual/images/home.gif 
-%{_datadir}/manual/images/index.gif
-%{_datadir}/manual/images/pixel.gif 
-%{_datadir}/manual/images/sub.gif 
-%{_datadir}/manual/misc
-%dir %{_datadir}/manual/search
-%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
 %{_datadir}/manual/LICENSE
-%{_datadir}/manual/bind.html
-%{_datadir}/manual/cgi_path.html
-%lang(en) /home/httpd/manual/configuring.html.html
-%lang(en) %{_datadir}/manual/configuring.html.en
-%lang(fr) %{_datadir}/manual/configuring.html.fr
-%lang(ja) %{_datadir}/manual/configuring.html.ja.jis
-%{_datadir}/manual/content-negotiation.html
-%lang(en) %{_datadir}/manual/custom-error.html.en
-%lang(en) %{_datadir}/manual/custom-error.html.html
-%lang(ja) %{_datadir}/manual/custom-error.html.ja.jis
-%{_datadir}/manual/dns-caveats.html
-%{_datadir}/manual/dso.html
-%{_datadir}/manual/env.html
-%{_datadir}/manual/footer.html
-%lang(en) %{_datadir}/manual/handler.html.en
-%lang(en) %{_datadir}/manual/handler.html.html
-%lang(ja) %{_datadir}/manual/handler.html.ja.jis
-%{_datadir}/manual/header.html
-%lang(en) %{_datadir}/manual/index.html.en
-%lang(fr) %{_datadir}/manual/index.html.fr
-%lang(en) %{_datadir}/manual/index.html.html
-%lang(ja) %{_datadir}/manual/index.html.ja.jis
-%lang(en) %{_datadir}/manual/install.html.en
-%lang(es) %{_datadir}/manual/install.html.es
-%lang(fr) %{_datadir}/manual/install.html.fr
-%lang(en) %{_datadir}/manual/install.html.html
-%lang(ja) %{_datadir}/manual/install.html.ja.jis
-%lang(en) %{_datadir}/manual/invoking.html
-%lang(fr) %{_datadir}/manual/invoking.html.fr
-%lang(en) %{_datadir}/manual/invoking.html.html
-%{_datadir}/manual/keepalive.html
-%{_datadir}/manual/location.html
-%{_datadir}/manual/multilogs.html
-%lang(en) %{_datadir}/manual/new_features_1_3.html.en
-%lang(en) %{_datadir}/manual/new_features_1_3.html.html
-%lang(ja) %{_datadir}/manual/new_features_1_3.html.ja.jis
-%{_datadir}/manual/process-model.html
-%{_datadir}/manual/sections.html
-%lang(en) %{_datadir}/manual/server-wide.html.en
-%lang(fr) %{_datadir}/manual/server-wide.html.fr
-%lang(en) %{_datadir}/manual/server-wide.html.html
-%lang(ja) %{_datadir}/manual/server-wide.html.ja.jis
-%{_datadir}/manual/sourcereorg.html
-%lang(en) %{_datadir}/manual/stopping.html
-%lang(fr) %{_datadir}/manual/stopping.html.fr
-%lang(en) %{_datadir}/manual/stopping.html.html
-%lang(en) %{_datadir}/manual/suexec.html.en
-%lang(en) %{_datadir}/manual/suexec.html.html
-%lang(j1) %{_datadir}/manual/suexec.html.ja.jis
-%{_datadir}/manual/upgrading_to_1_3.html
+%{_datadir}/manual/*.html
+%{_datadir}/manual/*.xml
+%{_datadir}/manual/*.html.en
+%lang(ja) %{_datadir}/manual/*.html.ja.jis
+%lang(ja) %{_datadir}/manual/*.xml.ja
+%lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
+%lang(de) %{_datadir}/manual/*.html.de
+%lang(fr) %{_datadir}/manual/*.html.fr
+%{_datadir}/manual/developer
+%{_datadir}/manual/faq
 %dir %{_datadir}/manual/howto
-%lang(en) %{_datadir}/manual/howto/cgi.html.en
-%lang(en) %{_datadir}/manual/howto/cgi.html.html
-%lang(ja) %{_datadir}/manual/howto/cgi.html.ja.jis
-%{_datadir}/manual/howto/footer.html
-%{_datadir}/manual/howto/header.html
-%lang(en) %{_datadir}/manual/howto/ssi.html.en
-%lang(en) %{_datadir}/manual/howto/ssi.html.html
-%lang(ja) %{_datadir}/manual/howto/ssi.html.ja.jis
+%doc %{_datadir}/manual/howto/*.en
+%{_datadir}/manual/howto/*.html
+%lang(ja) %{_datadir}/manual/howto/*.ja.jis
+%dir %{_datadir}/manual/images
+%{_datadir}/manual/images/[achips]*
+%{_datadir}/manual/misc
 %dir %{_datadir}/manual/mod
-%{_datadir}/manual/mod/core.html
-%lang(en) %{_datadir}/manual/mod/directive-dict.html.en
-%lang(en) %{_datadir}/manual/mod/directive-dict.html.html
-%lang(ja) %{_datadir}/manual/mod/directive-dict.html.ja.jis
-%{_datadir}/manual/mod/directives.html
-%{_datadir}/manual/mod/footer.html
-%{_datadir}/manual/mod/header.html
-%lang(en) %{_datadir}/manual/mod/index-bytype.html
-%lang(fr) %{_datadir}/manual/mod/index-bytype.html.fr
-%lang(en) %{_datadir}/manual/mod/index.html
-%lang(en) %{_datadir}/manual/mod/index.html.fr
-%{_datadir}/manual/mod/mod_access.html
-%{_datadir}/manual/mod/mod_alias.html
-%{_datadir}/manual/mod/mod_asis.html
-%{_datadir}/manual/mod/mod_autoindex.html
-%{_datadir}/manual/mod/mod_cgi.html
-%lang(en) %{_datadir}/manual/mod/mod_env.html.en
-%lang(en) %{_datadir}/manual/mod/mod_env.html.html
-%lang(en) %{_datadir}/manual/mod/mod_env.html.ja.jis
-%{_datadir}/manual/mod/mod_include.html
-%{_datadir}/manual/mod/mod_log_agent.html
-%{_datadir}/manual/mod/mod_log_config.html
-%{_datadir}/manual/mod/mod_log_referer.html
-%lang(en) %{_datadir}/manual/mod/mod_mime.html.en
-%lang(en) %{_datadir}/manual/mod/mod_mime.html.html
-%lang(ja) %{_datadir}/manual/mod/mod_mime.html.ja.jis
-%{_datadir}/manual/mod/mod_mime_magic.html
-%lang(en) %{_datadir}/manual/mod/mod_negotiation.html.en
-%lang(en) %{_datadir}/manual/mod/mod_negotiation.html.html
-%lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja.jis
-%lang(en) %{_datadir}/manual/mod/mod_setenvif.html.en
-%lang(en) %{_datadir}/manual/mod/mod_setenvif.html.html
-%lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja.jis
-%{_datadir}/manual/mod/mod_speling.html
-%{_datadir}/manual/mod/mod_userdir.html
-%lang(en) %{_datadir}/manual/mod/module-dict.html.en
-%lang(en) %{_datadir}/manual/mod/module-dict.html.html
-%lang(ja) %{_datadir}/manual/mod/module-dict.html.ja.jis
-%dir %{_datadir}/manual/programs
-%{_datadir}/manual/programs/ab.html
-%{_datadir}/manual/programs/apachectl.html
-%{_datadir}/manual/programs/apxs.html
-%{_datadir}/manual/programs/dbmmanage.html
-%{_datadir}/manual/programs/footer.html
-%{_datadir}/manual/programs/header.html
-%{_datadir}/manual/programs/htdigest.html
-%{_datadir}/manual/programs/htpasswd.html
-%{_datadir}/manual/programs/httpd.html
-%lang(en) %{_datadir}/manual/programs/index.html.en
-%lang(en) %{_datadir}/manual/programs/index.html.html
-%lang(ja) %{_datadir}/manual/programs/index.html.ja.jis
-%{_datadir}/manual/programs/logresolve.html
-%{_datadir}/manual/programs/other.html
-%{_datadir}/manual/programs/rotatelogs.html
-%{_datadir}/manual/programs/suexec.html
-%dir %{_datadir}/manual/vhosts
-%{_datadir}/manual/vhosts/details.html
-%{_datadir}/manual/vhosts/examples.html
-%{_datadir}/manual/vhosts/fd-limits.html
-%{_datadir}/manual/vhosts/footer.html
-%{_datadir}/manual/vhosts/header.html
-%{_datadir}/manual/vhosts/host.html
-%lang(en) %{_datadir}/manual/vhosts/index.html.en
-%lang(en) %{_datadir}/manual/vhosts/index.html.html
-%lang(ja) %{_datadir}/manual/vhosts/index.html.ja.jis
-%{_datadir}/manual/vhosts/ip-based.html
-%{_datadir}/manual/vhosts/mass.html
-%{_datadir}/manual/vhosts/name-based.html
-%{_datadir}/manual/vhosts/vhosts-in-depth.html
-%{_datadir}/manual/vhosts/virtual-host.html
+%{_datadir}/manual/mod/[fh]*.html
+%{_datadir}/manual/mod/[cdfhipw]*.html.en
+%{_datadir}/manual/mod/[acd]*.xml
+%lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
+%lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
+%lang(ja) %{_datadir}/manual/mod/index.xml.ja
+%{_datadir}/manual/mod/index.xml
+%{_datadir}/manual/mod/mpm*.html.en
+%{_datadir}/manual/mod/mod_access.html.en
+%{_datadir}/manual/mod/mod_alias.html.en
+%{_datadir}/manual/mod/mod_asis.html.en
+%{_datadir}/manual/mod/mod_autoindex.html.en
+%{_datadir}/manual/mod/mod_cern_meta.html.en
+%{_datadir}/manual/mod/mod_cgi.html.en
+%{_datadir}/manual/mod/mod_env.html.en
+%{_datadir}/manual/mod/mod_include.html.en
+%{_datadir}/manual/mod/mod_log_config.html.en
+%{_datadir}/manual/mod/mod_mime*.html.en
+%{_datadir}/manual/mod/mod_negotiation.html.en
+%{_datadir}/manual/mod/mod_setenvif.html.en
+%{_datadir}/manual/mod/mod_speling.html.en
+%{_datadir}/manual/mod/mod_userdir.html.en
+%{_datadir}/manual/platform
+%{_datadir}/manual/programs
+%dir %{_datadir}/manual/search
+%doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
+%{_datadir}/manual/style
 
+# Having all index.html.LANG files here is very bad idea.
 %attr(755,root,root) %dir %{_datadir}/html
 %config(noreplace,missingok) %{_datadir}/html/index.html
-# note: html extensions are not the same as (g)libc locale names
-%lang(ca) %{_datadir}/html/index.html.ca
-%lang(cs) %{_datadir}/html/index.html.cz
-%lang(de) %{_datadir}/html/index.html.de
-%lang(da) %{_datadir}/html/index.html.dk
-%lang(et) %{_datadir}/html/index.html.ee
-%lang(el) %{_datadir}/html/index.html.el
-%lang(en) %{_datadir}/html/index.html.en
-%lang(es) %{_datadir}/html/index.html.es
-%lang(fr) %{_datadir}/html/index.html.fr
-%lang(he) %{_datadir}/html/index.html.he.iso8859-8
-%lang(it) %{_datadir}/html/index.html.it
-%lang(ja) %{_datadir}/html/index.html.ja.jis
-%lang(ko) %{_datadir}/html/index.html.kr.iso-kr
-%lang(de_LU) %{_datadir}/html/index.html.lu
-%lang(nl) %{_datadir}/html/index.html.nl
-%lang(no) %{_datadir}/html/index.html.no
-%lang(pl) %{_datadir}/html/index.html.po.iso-pl
-%lang(pt_PT) %{_datadir}/html/index.html.pt
-%lang(pt_BR) %{_datadir}/html/index.html.pt-br
-%lang(ru) %{_datadir}/html/index.html.ru.cp-1251
-%lang(ru) %{_datadir}/html/index.html.ru.cp866
-%lang(ru) %{_datadir}/html/index.html.ru.iso-ru
-%lang(ru) %{_datadir}/html/index.html.ru.koi8-r
-%lang(ru) %{_datadir}/html/index.html.ru.ucs2
-%lang(ru) %{_datadir}/html/index.html.ru.ucs4
-%lang(ru) %{_datadir}/html/index.html.ru.utf8
-%lang(se) %{_datadir}/html/index.html.se
-%lang(zh_TW) %{_datadir}/html/index.html.zh.Big5
-
+%config(noreplace,missingok) %{_datadir}/html/index.html.en
 %{_datadir}/html/*.gif
-%{_datadir}/errordocs
-%dir %{_datadir}/icons
-%{_datadir}/icons/*.gif
-%dir %{_datadir}/icons/small
-%{_datadir}/icons/small/*.gif
+%{_datadir}/html/*.png
+%{_datadir}/icons
 %attr(755,root,root) %{_datadir}/cgi-bin
 
+%{_datadir}/error
+
 %files suexec
 %defattr(644,root,root,755)
 %attr(4755,root,root) %{_sbindir}/suexec
+%attr(755,root,root) %{_libexecdir}/mod_suexec.so
+%{_datadir}/manual/mod/mod_suexec.html.en
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}
+%{_includedir}/[!a]*
+%{_includedir}/ap[!r]*
+%{_libexecdir}/*.exp
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
 
 %files mod_actions
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
 %attr(755,root,root) %{_libexecdir}/mod_actions.so
-%{_datadir}/manual/mod/mod_actions.html
+%{_datadir}/manual/mod/mod_actions.html.en
 
 %files mod_auth
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth.so
-%attr(755,root,root) %{_bindir}/htpasswd
-%{_datadir}/manual/mod/mod_auth.html
+%attr(755,root,root) %{_sbindir}/htpasswd
+%{_datadir}/manual/mod/mod_auth.html.en
+%{_mandir}/man1/htpasswd.1*
 
 %files mod_auth_anon
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
-%{_datadir}/manual/mod/mod_auth_anon.html
+%{_datadir}/manual/mod/mod_auth_anon.html.en
 
-%files mod_auth_db
+%files mod_auth_dbm
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libexecdir}/mod_auth_db.so
-%attr(755,root,root) %{_bindir}/dbmmanage 
-%{_datadir}/manual/mod/mod_auth_db.html
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
+%attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
+%attr(755,root,root) %{_sbindir}/dbmmanage
+%attr(755,root,root) %{_sbindir}/htdbm
+%{_datadir}/manual/mod/mod_auth_dbm.html.en
 %{_mandir}/man1/dbmmanage.1*
-%{_mandir}/man1/htpasswd.1*
 
-%files mod_define
+%files mod_auth_digest
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
+%attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
+%{_datadir}/manual/mod/mod_auth_digest.html.en
+
+%files mod_cache
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
+%attr(755,root,root) %{_libexecdir}/mod_cache.so
+%attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
+%attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
+%{_datadir}/manual/mod/mod_cache.html.en
+
+%files mod_cgid
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
+%attr(755,root,root) %{_libexecdir}/mod_cgid.so
+%{_datadir}/manual/mod/mod_cgid.html.en
+
+%files mod_charset_lite
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
+%attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
+%{_datadir}/manual/mod/mod_charset_lite.html.en
+
+%files mod_dav
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libexecdir}/mod_define.so
-%{_datadir}/manual/mod/mod_define.html
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
+%attr(755,root,root) %{_libexecdir}/mod_dav*.so
+%{_datadir}/manual/mod/mod_dav*.html.en
 
-%files mod_digest
+%files mod_deflate
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libexecdir}/mod_digest.so
-%{_datadir}/manual/mod/mod_digest.html
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
+%attr(755,root,root) %{_libexecdir}/mod_deflate.so
+%{_datadir}/manual/mod/mod_deflate.html.en
 
 %files mod_dir
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
 %attr(755,root,root) %{_libexecdir}/mod_dir.so
-%{_datadir}/manual/mod/mod_dir.html
+%{_datadir}/manual/mod/mod_dir.html.en
 
 %files mod_expires
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
 %attr(755,root,root) %{_libexecdir}/mod_expires.so
-%{_datadir}/manual/mod/mod_expires.html
+%{_datadir}/manual/mod/mod_expires.html.en
 
-%files mod_headers
+%files mod_file_cache
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libexecdir}/mod_headers.so
-%{_datadir}/manual/mod/mod_headers.html
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
+%attr(755,root,root) %{_libexecdir}/mod_file_cache.so
+%{_datadir}/manual/mod/mod_file_cache.html.en
 
-%files mod_mmap_static
+%files mod_headers
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
-%{_datadir}/manual/mod/mod_mmap_static.html
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
+%attr(755,root,root) %{_libexecdir}/mod_headers.so
+%{_datadir}/manual/mod/mod_headers.html.en
 
 %files mod_imap
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
 %attr(755,root,root) %{_libexecdir}/mod_imap.so
-%{_datadir}/manual/mod/mod_imap.html
+%{_datadir}/manual/mod/mod_imap.html.en
 
 %files mod_info
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
 %attr(755,root,root) %{_libexecdir}/mod_info.so
-%{_datadir}/manual/mod/mod_info.html
+%{_datadir}/manual/mod/mod_info.html.en
 
 %files mod_proxy
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
-%attr(755,root,root) %{_libexecdir}/libproxy.so
-%{_datadir}/manual/mod/mod_proxy.html
-%dir %attr(770,root,http) /var/cache/apache
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
+%attr(755,root,root) %{_libexecdir}/mod_proxy*.so
+%doc %{_datadir}/manual/mod/mod_proxy*.html.en
+%attr(770,root,http) /var/cache/apache
 
 %files mod_rewrite
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
-%{_datadir}/manual/mod/mod_rewrite.html
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
+%{_datadir}/manual/mod/mod_rewrite.html.en
 %{_datadir}/manual/images/mod_rewrite*
 
+%if %{!?_without_ssl:1}%{?_without_ssl:0}
+%files mod_ssl
+%defattr(644,root,root,755)
+%attr(750,root,root) %dir %{_sysconfdir}/ssl
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
+%attr(755,root,root) %{_libexecdir}/mod_ssl.so
+%{_datadir}/manual/ssl
+%{_datadir}/manual/mod/mod_ssl.html.en
+%endif
+
 %files mod_status
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
 %attr(755,root,root) %{_libexecdir}/mod_status.so
-%{_datadir}/manual/mod/mod_status.html
+%{_datadir}/manual/mod/mod_status.html.en
 
 %files mod_usertrack
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
-%{_datadir}/manual/mod/mod_cookies.html
-%{_datadir}/manual/mod/mod_usertrack.html
+%{_datadir}/manual/mod/mod_usertrack.html.en
 
 %files mod_unique_id
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
-%{_datadir}/manual/mod/mod_unique_id.html
+%{_datadir}/manual/mod/mod_unique_id.html.en
 
 %files mod_vhost_alias
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
-%{_datadir}/manual/mod/mod_vhost_alias.html
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf
+%{_datadir}/manual/mod/mod_vhost_alias.html.en
+%{_datadir}/manual/vhosts
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
+
+%files -n apr
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libapr*.so.*
+
+%files -n apr-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/apr-config
+%attr(755,root,root) %{_bindir}/apu-config
+%dir %{_includedir}
+%{_includedir}/apr*.h
+#%%{_libdir}/APRVARS
+%{_libdir}/apr*.exp
+%attr(755,root,root) %{_libdir}/libapr*.so
+%{_libdir}/libapr*.la
+
+%files -n apr-static
+%defattr(644,root,root,755)
+%{_libdir}/libapr.a
This page took 0.59351 seconds and 4 git commands to generate.