]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.spec
- updated pl for -mod_ldap
[packages/apache.git] / apache.spec
index 4834872c8d3a0ad3fc00b9226ae47d233f4d68e8..9dbed80475cfad696e1da17eac4a5233c3b859d2 100644 (file)
 # TODO:
-# - distcache.spec
-# - 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_*
-# - 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 ?
 # - subpackages for MPMs
-# - check if all modules (*.so) are exactly the same for different MPMs
-# - install stage fails with distcc (make -jN)
-# - /var/run/apache is also owned by apache1.spec, so rename it to /var/run/httpd spec here (NOTE: if you fix this also adjust apache-mod_fastcgi.spec)
-#
-#
-#  /home/services/httpd/manual/convenience.map
-#  /home/services/httpd/manual/faq/all_in_one.html.ja.euc-jp
-#  /home/services/httpd/manual/faq/error.html.ja.euc-jp
-#  /home/services/httpd/manual/faq/index.html.ja.euc-jp
-#  /home/services/httpd/manual/faq/support.html.ja.euc-jp
-#  /home/services/httpd/manual/howto/htaccess.html.pt-br
-#  /home/services/httpd/manual/images/mod_filter_new.gif
-#  /home/services/httpd/manual/images/mod_filter_new.png
-#  /home/services/httpd/manual/images/mod_filter_old.gif
-#  /home/services/httpd/manual/index.html.pt-br
-#  /home/services/httpd/manual/mod/beos.html.de
-#  /home/services/httpd/manual/mod/beos.html.en
-#  /home/services/httpd/manual/mod/beos.html.es
-#  /home/services/httpd/manual/mod/beos.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/event.html.en
-#  /home/services/httpd/manual/mod/mod_actions.html.de
-#  /home/services/httpd/manual/mod/mod_auth_basic.html.en
-#  /home/services/httpd/manual/mod/mod_auth_basic.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_auth_basic.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_auth_digest.html.en
-#  /home/services/httpd/manual/mod/mod_authn_alias.html.en
-#  /home/services/httpd/manual/mod/mod_authn_anon.html.en
-#  /home/services/httpd/manual/mod/mod_authn_anon.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authn_anon.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authn_dbd.html.en
-#  /home/services/httpd/manual/mod/mod_authn_dbm.html.en
-#  /home/services/httpd/manual/mod/mod_authn_dbm.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authn_dbm.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authn_default.html.en
-#  /home/services/httpd/manual/mod/mod_authn_default.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authn_default.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authn_file.html.en
-#  /home/services/httpd/manual/mod/mod_authn_file.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authn_file.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authnz_ldap.html.en
-#  /home/services/httpd/manual/mod/mod_authz_dbm.html.en
-#  /home/services/httpd/manual/mod/mod_authz_dbm.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authz_default.html.en
-#  /home/services/httpd/manual/mod/mod_authz_default.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authz_default.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authz_groupfile.html.en
-#  /home/services/httpd/manual/mod/mod_authz_groupfile.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authz_groupfile.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authz_host.html.en
-#  /home/services/httpd/manual/mod/mod_authz_host.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authz_host.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authz_owner.html.en
-#  /home/services/httpd/manual/mod/mod_authz_owner.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authz_owner.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_authz_user.html.en
-#  /home/services/httpd/manual/mod/mod_authz_user.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_authz_user.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_cache.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_dbd.html.en
-#  /home/services/httpd/manual/mod/mod_disk_cache.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_dumpio.html.en
-#  /home/services/httpd/manual/mod/mod_dumpio.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_example.html.en
-#  /home/services/httpd/manual/mod/mod_example.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_ext_filter.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_filter.html.en
-#  /home/services/httpd/manual/mod/mod_headers.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_ident.html.en
-#  /home/services/httpd/manual/mod/mod_ident.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_imagemap.html.en
-#  /home/services/httpd/manual/mod/mod_imagemap.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_isapi.html.en
-#  /home/services/httpd/manual/mod/mod_isapi.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_log_forensic.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_logio.html.en
-#  /home/services/httpd/manual/mod/mod_logio.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_logio.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mod_mem_cache.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_nw_ssl.html.en
-#  /home/services/httpd/manual/mod/mod_proxy.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_proxy_ajp.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_proxy_balancer.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_version.html.en
-#  /home/services/httpd/manual/mod/mod_version.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mod_version.html.ko.euc-kr
-#  /home/services/httpd/manual/mod/mpm_netware.html.en
-#  /home/services/httpd/manual/mod/mpm_winnt.html.de
-#  /home/services/httpd/manual/mod/mpm_winnt.html.en
-#  /home/services/httpd/manual/mod/mpm_winnt.html.ja.euc-jp
-#  /home/services/httpd/manual/mod/mpmt_os2.html.en
-#  /home/services/httpd/manual/new_features_2_0.html.pt-br
-#  /home/services/httpd/manual/new_features_2_2.html.pt-br
-#  /home/services/httpd/manual/platform/ebcdic.html.en
-#  /home/services/httpd/manual/platform/ebcdic.html.ko.euc-kr
-#  /home/services/httpd/manual/platform/index.html.en
-#  /home/services/httpd/manual/platform/index.html.ko.euc-kr
-#  /home/services/httpd/manual/platform/netware.html.en
-#  /home/services/httpd/manual/platform/netware.html.ko.euc-kr
-#  /home/services/httpd/manual/platform/perf-hp.html.en
-#  /home/services/httpd/manual/platform/perf-hp.html.ko.euc-kr
-#  /home/services/httpd/manual/platform/win_compiling.html.en
-#  /home/services/httpd/manual/platform/win_compiling.html.ko.euc-kr
-#  /home/services/httpd/manual/platform/windows.html.en
-#  /home/services/httpd/manual/platform/windows.html.ko.euc-kr
-#  /home/services/httpd/manual/style/build.properties
-#  /home/services/httpd/manual/style/common.dtd
-#  /home/services/httpd/manual/style/faq.dtd
-#  /home/services/httpd/manual/style/lang.dtd
-#  /home/services/httpd/manual/style/latex/atbeginend.sty
-#  /home/services/httpd/manual/style/latex/common.xsl
-#  /home/services/httpd/manual/style/latex/directiveindex.xsl
-#  /home/services/httpd/manual/style/latex/faq.xsl
-#  /home/services/httpd/manual/style/latex/html.xsl
-#  /home/services/httpd/manual/style/latex/latex.xsl
-#  /home/services/httpd/manual/style/latex/manualpage.xsl
-#  /home/services/httpd/manual/style/latex/moduleindex.xsl
-#  /home/services/httpd/manual/style/latex/quickreference.xsl
-#  /home/services/httpd/manual/style/latex/synopsis.xsl
-#  /home/services/httpd/manual/style/manual.de.xsl
-#  /home/services/httpd/manual/style/manual.en.xsl
-#  /home/services/httpd/manual/style/manual.es.xsl
-#  /home/services/httpd/manual/style/manual.fr.xsl
-#  /home/services/httpd/manual/style/manual.ja.xsl
-#  /home/services/httpd/manual/style/manual.ko.xsl
-#  /home/services/httpd/manual/style/manual.pt-br.xsl
-#  /home/services/httpd/manual/style/manual.ru.xsl
-#  /home/services/httpd/manual/style/manualpage.dtd
-#  /home/services/httpd/manual/style/modulesynopsis.dtd
-#  /home/services/httpd/manual/style/sitemap.dtd
-#  /home/services/httpd/manual/style/version.ent
-#  /home/services/httpd/manual/style/xsl/common.xsl
-#  /home/services/httpd/manual/style/xsl/convmap.xsl
-#  /home/services/httpd/manual/style/xsl/directiveindex.xsl
-#  /home/services/httpd/manual/style/xsl/faq.xsl
-#  /home/services/httpd/manual/style/xsl/hhc.xsl
-#  /home/services/httpd/manual/style/xsl/hhp.xsl
-#  /home/services/httpd/manual/style/xsl/indexpage.xsl
-#  /home/services/httpd/manual/style/xsl/language.xsl
-#  /home/services/httpd/manual/style/xsl/maf.xsl
-#  /home/services/httpd/manual/style/xsl/manualpage.xsl
-#  /home/services/httpd/manual/style/xsl/moduleindex.xsl
-#  /home/services/httpd/manual/style/xsl/nroff.xsl
-#  /home/services/httpd/manual/style/xsl/quickreference.xsl
-#  /home/services/httpd/manual/style/xsl/sitemap.xsl
-#  /home/services/httpd/manual/style/xsl/synopsis.xsl
-#  /home/services/httpd/manual/style/xsl/typemap.xsl
-#  /home/services/httpd/manual/style/xsl/util/modtrans.xsl
-#  /home/services/httpd/manual/upgrading.html.pt-br
-#  /home/services/httpd/manual/vhosts/details.html.fr
-#  /home/services/httpd/manual/vhosts/examples.html.fr
-#  /home/services/httpd/manual/vhosts/fd-limits.html.fr
-#  /home/services/httpd/manual/vhosts/index.html.fr
-#  /home/services/httpd/manual/vhosts/ip-based.html.fr
-#  /home/services/httpd/manual/vhosts/name-based.html.fr
-#  /usr/lib64/apache/build/config.nice
-#  /usr/lib64/apache/mod_auth_basic.so
-#  /usr/lib64/apache/mod_authn_alias.so
-#  /usr/lib64/apache/mod_authn_anon.so
-#  /usr/lib64/apache/mod_authn_dbd.so
-#  /usr/lib64/apache/mod_authn_dbm.so
-#  /usr/lib64/apache/mod_authn_default.so
-#  /usr/lib64/apache/mod_authn_file.so
-#  /usr/lib64/apache/mod_authnz_ldap.so
-#  /usr/lib64/apache/mod_authz_dbm.so
-#  /usr/lib64/apache/mod_authz_default.so
-#  /usr/lib64/apache/mod_authz_groupfile.so
-#  /usr/lib64/apache/mod_authz_host.so
-#  /usr/lib64/apache/mod_authz_owner.so
-#  /usr/lib64/apache/mod_authz_user.so
-#  /usr/lib64/apache/mod_bucketeer.so
-#  /usr/lib64/apache/mod_dbd.so
-#  /usr/lib64/apache/mod_dumpio.so
-#  /usr/lib64/apache/mod_filter.so
-#  /usr/lib64/apache/mod_ident.so
-#  /usr/lib64/apache/mod_imagemap.so
-#  /usr/lib64/apache/mod_logio.so
-#  /usr/lib64/apache/mod_version.so
+# - !!!check if all modules (*.so) are exactly the same for different MPMs
+# - check those autn modules inner deps
+# - for external packages: don't use any apache module name in dep as they
+#   differ for apache 1.3/2.0/2.2!? any better ideas? rpm Suggests: tags?
+# - for mod_auth_* modules require each auth module to require virtual authn so at least *_default is chosen?
+# - same for mod_authz
+# - mod_auth_digest and mod_auth_basic R: apache(authn) ?
+# - drop mod_case_filter* or find summary and description for them
+# - build modules only once (not with each mpm)
 
-#
 # Conditional build:
 %bcond_without ssl             # build without SSL support
 %bcond_without ldap            # build without LDAP support
-%bcond_without metuxmpm
-%bcond_without peruser
-%bcond_with     distcache
+%bcond_without metuxmpm        # metux MPM
+%bcond_without peruser         # peruser MPM
+%bcond_without event           # event MPM
+%bcond_with    distcache       # distcache support
+%bcond_with    bucketeer       # debug one
 #
 %include       /usr/lib/rpm/macros.perl
 # this is internal macro, don't change to %%apache_modules_api
 %define                _apache_modules_api 20051115
 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(ru):   óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
-Summary(tr):   Lider WWW tarayýcý
+Summary(de.UTF-8):     Leading World Wide Web-Server
+Summary(es.UTF-8):     Servidor HTTPD para proveer servicios WWW
+Summary(fr.UTF-8):     Le serveur web le plus utilise sur Internet
+Summary(pl.UTF-8):     Serwer WWW (World Wide Web)
+Summary(pt_BR.UTF-8):  Servidor HTTPD para prover serviços WWW
+Summary(ru.UTF-8):     Самый популярный веб-сервер
+Summary(tr.UTF-8):     Lider WWW tarayıcı
 Name:          apache
-Version:       2.2.0
-Release:       0.1
-License:       Apache Group License
+Version:       2.2.8
+Release:       4
+License:       Apache
 Group:         Networking/Daemons
 Source0:       http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
-# Source0-md5: 760aecf26a071e15141170636af43456
+# Source0-md5: 39a755eb0f584c279336387b321e3dfc
 Source1:       %{name}.init
 Source2:       %{name}.logrotate
-Source3:       %{name}-icons.tar.gz
-# Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
-Source4:       %{name}.sysconfig
-Source5:       %{name}.monitrc
+Source3:       %{name}.sysconfig
+Source4:       %{name}-server.crt
+Source5:       %{name}-server.key
 Source6:       %{name}-httpd.conf
+Source7:       %{name}-common.conf
 Source8:       %{name}-mod_vhost_alias.conf
 Source9:       %{name}-mod_status.conf
 Source10:      %{name}-mod_proxy.conf
@@ -234,18 +56,30 @@ Source14:  %{name}-mod_dir.conf
 Source15:      %{name}-mod_suexec.conf
 Source16:      %{name}-mod_deflate.conf
 Source17:      %{name}-mod_autoindex.conf
-Source20:      %{name}-server.crt
-Source21:      %{name}-server.key
+Source18:      %{name}-multilang-errordoc.conf
+Source19:      %{name}-manual.conf
+Source20:      %{name}-mod_userdir.conf
+Source21:      %{name}-mpm.conf
+Source22:      %{name}-languages.conf
+Source23:      %{name}-mod_mime.conf
+Source24:      %{name}-mod_authz_host.conf
+Source25:      %{name}-mod_cgid.conf
+Source26:      %{name}-mod_log_config.conf
+Source27:      %{name}-mod_mime_magic.conf
+Source28:      %{name}-mod_cache.conf
 Patch0:                %{name}-configdir_skip_backups.patch
 Patch1:                %{name}-layout.patch
 Patch2:                %{name}-suexec.patch
+Patch3:                %{name}-branding.patch
 Patch4:                %{name}-apr.patch
 # project homepage http://www.metux.de/mpm/en/?patpage=index
 # http://www.sannes.org/metuxmpm/
 Patch5:                httpd-2.0.48-metuxmpm-r8.patch
 # what about this? it isn't applied...
 Patch6:                httpd-2.0.40-xfsz.patch
+Patch7:                %{name}-syslibs.patch
 Patch8:                httpd-2.0.45-encode.patch
+Patch9:                %{name}-paths.patch
 Patch10:       httpd-2.0.46-dav401dest.patch
 Patch12:       httpd-2.0.46-sslmutex.patch
 Patch14:       httpd-2.0.48-corelimit.patch
@@ -256,63 +90,44 @@ Patch20:   %{name}-apxs.patch
 # http://www.telana.com/peruser.php
 Patch21:       httpd-2.0.52-peruser-0.1.6.patch
 Patch22:       %{name}-libtool.patch
+Patch23:       %{name}-revert-bug-40463.patch
 URL:           http://httpd.apache.org/
+BuildRequires: apr-devel >= 1:1.2
+BuildRequires: apr-util-devel >= 1:1.2
+BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: apr-devel >= 1:1.0.0
-BuildRequires: apr-util-devel >= 1:1.0.0
 BuildRequires: db-devel
-%{?with_distcache:BuildRequires:       distcache-libs-devel or distcache-devel}
+%{?with_distcache:BuildRequires:       distcache-devel}
 BuildRequires: expat-devel
 BuildRequires: gdbm-devel >= 1.8.3
 BuildRequires: libtool >= 2:1.5
-%{?with_ldap:BuildRequires:    openldap-devel}
+%{?with_ldap:BuildRequires:    openldap-devel >= 2.4.6}
 %{?with_ssl:BuildRequires:     openssl-devel >= 0.9.7d}
 %{?with_ssl:BuildRequires:     openssl-tools >= 0.9.7d}
 BuildRequires: pcre-devel
-BuildRequires: perl-devel >= 1:5.6
 BuildRequires: rpm-build >= 4.4.0
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: rpmbuild(macros) >= 1.228
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
-Requires:      perl-base
-Requires:      rc-scripts >= 0.4.0.15
-Requires(pre): /bin/id
-Requires(pre): /usr/bin/getgid
-Requires(pre): /usr/sbin/groupadd
-Requires(pre): /usr/sbin/useradd
-Requires(postun):      /usr/sbin/userdel
-Requires(postun):      /usr/sbin/groupdel
-Requires(post,preun):  /sbin/chkconfig
-Requires(post):        fileutils
-Requires:      /sbin/chkconfig
-Requires:      /etc/mime.types
-Requires:      apr >= 1:1.0.0-2
-Requires:      mailcap
-Requires:      psmisc >= 20.1
-Provides:      apache(modules-api) = %{_apache_modules_api}
-#Provides:     apache(mod_access)
-Provides:      apache(mod_alias)
-Provides:      apache(mod_asis)
-Provides:      apache(mod_autoindex)
-Provides:      apache(mod_cern_meta)
-Provides:      apache(mod_cgi)
-Provides:      apache(mod_env)
-Provides:      apache(mod_include)
-Provides:      apache(mod_log_config)
-Provides:      apache(mod_mime)
-Provides:      apache(mod_mime_magic)
-Provides:      apache(mod_negotiation)
-Provides:      apache(mod_setenvif)
-Provides:      apache(mod_speling)
-Provides:      apache(mod_userdir)
-Provides:      group(http)
-Provides:      httpd = %{version}
-Provides:      user(http)
-Provides:      webserver = apache
-Obsoletes:     apache-extra
-Obsoletes:     apache6
-# for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
-Conflicts:     rpm < 4.4.2-0.2
+# packages that were in apache-2.0.rpm, for compatibility
+Requires:      %{name}-errordocs = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
+Requires:      %{name}-mod_asis = %{version}-%{release}
+Requires:      %{name}-mod_auth = %{version}-%{release}
+Requires:      %{name}-mod_cern_meta = %{version}-%{release}
+Requires:      %{name}-mod_cgi = %{version}-%{release}
+Requires:      %{name}-mod_env = %{version}-%{release}
+Requires:      %{name}-mod_include = %{version}-%{release}
+Requires:      %{name}-mod_log_config = %{version}-%{release}
+Requires:      %{name}-mod_mime = %{version}-%{release}
+Requires:      %{name}-mod_mime_magic = %{version}-%{release}
+Requires:      %{name}-mod_negotiation = %{version}-%{release}
+Requires:      %{name}-mod_setenvif = %{version}-%{release}
+Requires:      %{name}-mod_speling = %{version}-%{release}
+Requires:      %{name}-mod_userdir = %{version}-%{release}
+Requires:      %{name}-mod_version = %{version}-%{release}
+Requires:      %{name}-tools = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/httpd
@@ -326,47 +141,93 @@ Apache is a powerful, full-featured, efficient and freely-available
 Web server. Apache is also the most popular Web server on the
 Internet.
 
-%description -l de
-Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
-erhältlich und weit verbreitet ist.
+%description -l de.UTF-8
+Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
+erhältlich und weit verbreitet ist.
 
-%description -l es
+%description -l es.UTF-8
 El servidor web Apache es el mejor servidor gratuito disponible en el
 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
 que navegadores 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.
+caché, y nos ofrece características como monitor de estado, conversión
+dinámica de tipo, y otras más.
 
-%description -l fr
+%description -l fr.UTF-8
 Apache est un serveur Web puissant, efficace, gratuit et complet.
 Apache est aussi le serveur Web le plus populaire sur Internet.
 
-%description -l pl
-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 pl.UTF-8
+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
+%description -l pt_BR.UTF-8
+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.
+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 ru
-Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
-ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
+%description -l ru.UTF-8
+Apache - мощный, функциональный, высокопроизводительный и свободно
+распространяемый веб-сервер.
 
-%description -l tr
-Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
+%description -l tr.UTF-8
+Apache serbest dağıtılan ve çok kullanılan yetenekli bir web
 sunucusudur.
 
+%package base
+Summary:       The Number One HTTP Server On The Internet
+Summary(pl.UTF-8):     Wiodący w Internecie serwer HTTP
+Group:         Networking/Daemons
+Requires(post):        fileutils
+Requires(post,preun):  /sbin/chkconfig
+Requires(postun):      /usr/sbin/groupdel
+Requires(postun):      /usr/sbin/userdel
+Requires(pre): /bin/id
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+Requires:      /etc/mime.types
+Requires:      /sbin/chkconfig
+Requires:      apr >= 1:1.2
+Requires:      mailcap
+Requires:      psmisc >= 20.1
+Requires:      rc-scripts >= 0.4.0.15
+Requires:      webapps
+Provides:      apache(modules-api) = %{_apache_modules_api}
+Provides:      group(http)
+Provides:      user(http)
+Provides:      webserver = apache
+Obsoletes:     apache-extra
+Obsoletes:     apache6
+# packaged by mistake. really sample code
+Obsoletes:     apache-mod_optional_fn_export
+Obsoletes:     apache-mod_optional_fn_import
+Obsoletes:     apache-mod_optional_fn_import
+Obsoletes:     apache-mod_optional_hook_import
+Conflicts:     apache < 2.2.0
+Conflicts:     logrotate < 3.7-4
+# for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
+Conflicts:     rpm < 4.4.2-0.2
+
+%description base
+Apache is a powerful, full-featured, efficient and freely-available
+Web server. Apache is also the most popular Web server on the
+Internet.
+
+%description base -l pl.UTF-8
+Apache jest potężnym, w pełni funkcjonalnym, wydajnym i wolnodostępnym
+serwerem WWW (World Wide Web). Jest także najbardziej popularnym
+serwerem WWW w Internecie.
+
 %package suexec
 Summary:       Apache suexec wrapper
-Summary(pl):   Wrapper suexec do serwera WWW Apache
+Summary(pl.UTF-8):     Wrapper suexec do serwera WWW Apache
 Group:         Networking/Daemons
-Requires:      %{name} = %{version}-%{release}
+URL:           http://httpd.apache.org/docs/2.2/suexec.html
+Requires:      %{name}-base = %{version}-%{release}
 
 %description suexec
 The suEXEC feature provides Apache users the ability to run CGI and
@@ -374,250 +235,571 @@ 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 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.
+%description suexec -l pl.UTF-8
+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 tools
+Summary:       Apache tools
+Summary(pl.UTF-8):     Narzędzia Apache'a
+Group:         Development/Tools
+
+%description tools
+Apache tools.
+
+%description tools -l pl.UTF-8
+Narzędzia Apache'a.
 
 %package index
 Summary:       Apache index.html* files
-Summary(pl):   Pliki Apache index.html*
+Summary(pl.UTF-8):     Pliki Apache index.html*
 Group:         Documentation
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-base = %{version}-%{release}
 Obsoletes:     indexhtml
 
 %description index
 Apache index.html* files.
 
-%description index -l pl
+%description index -l pl.UTF-8
 Pliki index.html* Apache'a.
 
 %package doc
 Summary:       Apache manual
-Summary(pl):   Podrêcznik Apache'a
+Summary(pl.UTF-8):     Podręcznik Apache'a
 Group:         Documentation
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
+Requires:      %{name}-mod_dir = %{version}-%{release}
+Requires:      %{name}-mod_negotiation = %{version}-%{release}
+Requires:      %{name}-mod_setenvif = %{version}-%{release}
 
 %description doc
 Apache manual.
 
-%description doc -l pl
-Podrêcznik Apache'a.
+%description doc -l pl.UTF-8
+Podręcznik Apache'a.
 
-%package apxs
-Summary:       APache eXtenSion tool
-Summary(pl):   Narzêdzie do rozszerzania Apache'a
-Group:         Development/Tools
+%package errordocs
+Summary:       Multi-language error messages for Apache
+Summary(pl.UTF-8):     Wielojęzyczne komunikaty błędów dla Apache'a
+Group:         Applications/WWW
+URL:           http://httpd.apache.org/docs-project/
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
+Requires:      %{name}-mod_authz_host = %{version}-%{release}
+Requires:      %{name}-mod_include = %{version}-%{release}
+Requires:      %{name}-mod_negotiation = %{version}-%{release}
 
-%description apxs
-APache eXtenSion tool.
+%description errordocs
+Multi-language error messages.
 
-%description apxs -l pl
-Narzêdzie do rozszerzania Apache'a.
+%description errordocs -l pl.UTF-8
+Dokumenty opisujące błędy HTTP dla Apache'a w wielu językach.
 
 %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 tworzenia modu³ów rozszerzeñ do serwera WWW Apache
-Summary(pt_BR):        Arquivos de inclusão do Apache para desenvolvimento de módulos
-Summary(ru):   óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
+Summary(es.UTF-8):     Archivos de inclusión del Apache para desarrollo de módulos
+Summary(fr.UTF-8):     Les outils de developpement de modules pour le serveur web Apache
+Summary(pl.UTF-8):     Pliki nagłówkowe do tworzenia modułów rozszerzeń do serwera WWW Apache
+Summary(pt_BR.UTF-8):  Arquivos de inclusão do Apache para desenvolvimento de módulos
+Summary(ru.UTF-8):     Средства разработки модулей для веб-сервера Apache
 Group:         Networking/Utilities
-Requires:      %{name}-apxs = %{version}-%{release}
-Requires:      apr-util-devel >= 1:1.0.0
+Requires:      apr-util-devel >= 1:1.2
 Requires:      libtool
+Obsoletes:     apache-apxs
 Obsoletes:     apache-static
 
 %description devel
 The apache-devel package contains header files for Apache.
 
-%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 es.UTF-8
+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
+%description devel -l fr.UTF-8
 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 devel -l pl
-Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i inne zasoby niezbędne przy budowaniu modułów DSO
 (Dynamic Shared Objects) dla Apache'a.
 
-%description devel -l ru
-óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
+%description devel -l ru.UTF-8
+Средства разработки модулей для веб-сервера 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.
+%description devel -l pt_BR.UTF-8
+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 mod_actions
-Summary:       Apache module for run CGI whenever a file of a certain type is requested
-Summary(pl):   Modu³ Apache'a do uruchamiania skryptów CGI
+Summary:       Apache module for executing CGI scripts based on media type or request method
+Summary(pl.UTF-8):     Moduł Apache'a do uruchamiania skryptów CGI w oparciu o rodzaj danych lub żądania
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_actions.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_actions) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %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.
+This module has two directives. The Action directive lets you run CGI
+scripts whenever a file of a certain MIME content type is requested.
+The Script directive lets you run CGI scripts whenever a particular
+method is used in a request. This makes it much easier to execute
+scripts that process files.
+
+%description mod_actions -l pl.UTF-8
+Ten moduł ma dwie dyrektywy. Dyrektywa Action pozwala uruchamiać
+skrypty CGI przy żądaniu pliku o danym typie zawartości MIME.
+Dyrektywa Script pozwala uruchamiać skrypty CGI przy danej metodzie
+żądania. Znacznie ułatwia to wykonywanie skryptów przetwarzających
+pliki.
+
+%package mod_alias
+Summary:       Mapping different parts of the host filesystem in the document tree and for URL redirection
+Summary(pl.UTF-8):     Odwzorowywanie różnych części systemu plików w drzewie dokumentów i przekierowywanie URL-i
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_alias.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_alias) = %{version}-%{release}
+Provides:      webserver(alias)
+
+%description mod_alias
+The directives contained in this module allow for manipulation and
+control of URLs as requests arrive at the server. The Alias and
+ScriptAlias directives are used to map between URLs and filesystem
+paths. This allows for content which is not directly under the
+DocumentRoot served as part of the web document tree. The ScriptAlias
+directive has the additional effect of marking the target directory as
+containing only CGI scripts.
+
+The Redirect directives are used to instruct clients to make a new
+request with a different URL. They are often used when a resource has
+moved to a new location.
+
+mod_alias is designed to handle simple URL manipulation tasks. For
+more complicated tasks such as manipulating the query string, use the
+tools provided by mod_rewrite.
+
+%description mod_alias -l pl.UTF-8
+Dyrektywy zawarte w tym module umożliwiają manipulacje i sterowanie
+URL-ami kiedy żądania są dostarczane do serwera. Dyrektywy Alias i
+ScriptAlias są używane do odwzorowywania między URL-ami i ścieżkami w
+systemie plików. Umożliwia to serwowanie treści nie będącej
+bezpośrednio wewnątrz DocumentRoota jako część drzewa dokumentów WWW.
+Dyrektywa ScriptAlias ma dodatkowy efekt oznaczania katalogu
+docelowego jako zawierającego wyłącznie skrypty CGI.
+
+Dyrektywy Redirect służą do instruowania klientów, aby wykonali nowe
+żądanie z innym URL-em. Są używane zwykle w przypadku, gdy zasoby
+zostały przeniesione w inne miejsce.
+
+mod_alias został zaprojektowany do obsługi prostych manipulacji na
+URL-ach. Bardziej skomplikowane zadania, takie jak modyfikowanie
+łańcucha zapytania można wykonać przy użyciu mod_rewrite.
+
+%package mod_asis
+Summary:       Sends files that contain their own HTTP headers
+Summary(pl.UTF-8):     Wysyłanie plików zawierających własne nagłówki HTTP
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_asis.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_asis) = %{version}-%{release}
+
+%description mod_asis
+This module provides the handler send-as-is which causes Apache to
+send the document without adding most of the usual HTTP headers.
 
-%description mod_actions -l pl
-Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
-¿±danie pobrania pliku okre¶lonego typu.
+This can be used to send any kind of data from the server, including
+redirects and other special HTTP responses, without requiring a
+cgi-script or an nph script.
+
+For historical reasons, this module will also process any file with
+the mime type httpd/send-as-is.
+
+%description mod_asis -l pl.UTF-8
+Ten moduł udostępnia procesurę obsługi send-as-is powodującą, że
+Apache wysyła dokument bez dodawania większości zwykle używanych
+nagłówków HTTP.
+
+Może to być używane do wysyłania dowolnego rodzaju danych z serwera,
+włącznie z przekierowaniami i innymi specjalnymi odpowiedziami HTTP
+bez wymagania skryptu CGI lub nph.
+
+%package mod_auth
+Summary:       Virtual package which which provides backward compatibility with apache 2.0
+Summary(pl.UTF-8):     Pakiet wirtualny zapewniający kompatybilność wsteczną z apache 2.0
+Group:         Networking/Daemons
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_auth_basic = %{version}-%{release}
+Requires:      %{name}-mod_authn_file = %{version}-%{release}
+Requires:      %{name}-mod_authz_groupfile = %{version}-%{release}
+Requires:      %{name}-mod_authz_user = %{version}-%{release}
+Provides:      apache(mod_auth) = %{version}-%{release}
+Provides:      webserver(auth)
+
+%description mod_auth
+Virtual package which requires apache-mod_authn_file,
+apache-mod_authz_user and apache-mod_authz_groupfile for backward
+compatibility with apache 2.0.
+
+%description mod_auth -l pl.UTF-8
+Pakiet wirtualny wymagający apache-mod_authn_file,
+apache-mod_authz_user i apache-mod_authz_groupfile dla kompatybilności
+wstecznej z apache 2.0.
 
 %package mod_auth_basic
-Summary:       Apache module that allows basic authentication
+Summary:       Apache module that allows Basic authentication
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający korzystawnie z uwierzytelnienia Basic
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_auth_basic) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_auth_basic
-This module allows the use of HTTP Basic Authentication to restrict access by looking up users in the given providers.
+This module allows the use of HTTP Basic Authentication to restrict
+access by looking up users in the given providers.
+
+HTTP Digest Authentication is provided by mod_auth_digest. This module
+should usually be combined with at least one authentication module
+such as mod_authn_file and one authorization module such as
+mod_authz_user.
+
+%description mod_auth_basic -l pl.UTF-8
+Ten moduł pozwala używać uwierzytelnienia HTTP Basic do ograniczania
+dostępu poprzez wyszukiwanie użytkowników we wskazanych miejscach
+
+%package mod_auth_dbm
+Summary:       Virtual package which which provides backward compatibility with apache 2.0
+Summary(pl.UTF-8):     Pakiet wirtualny zapewniający kompatybilność wsteczną z apache 2.0
+Group:         Networking/Daemons
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-dbmtools = %{version}-%{release}
+Requires:      %{name}-mod_authn_dbm = %{version}-%{release}
+Requires:      %{name}-mod_authz_dbm = %{version}-%{release}
+Provides:      apache(mod_auth_dbm) = %{version}-%{release}
+
+%description mod_auth_dbm
+Virtual package which requires apache-mod_authn_dbm and
+apache-mod_authz_dbm for backward compatibility with apache 2.0.
+
+%description mod_auth_dbm -l pl.UTF-8
+Pakiet wirtualny wymagający apache-mod_authn_dbm i
+apache-mod_authz_dbm dla kompatybilności wstecznej z apache 2.0.
+
+%package mod_auth_digest
+Summary:       User authentication using MD5 Digest Authentication
+Summary(pl.UTF-8):     Uwierzytelnianie użytkowników przy użyciu MD5 Digest
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_auth_digest) = %{version}-%{release}
+
+%description mod_auth_digest
+This module implements HTTP Digest Authentication. However, it has not
+been extensively tested and is therefore marked experimental.
+
+%description mod_auth_digest -l pl.UTF-8
+Ten moduł implementuje uwierzytelnienie HTTP Digest. Nie został on
+jednak zbyt obszernie przetestowany, więc jest oznaczony jako
+eksperymentalny.
 
 %package mod_authn_alias
 Summary:       Apache module that provides the ability to create extended authentication
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający tworzenie rozszerzonego uwierzytelniania
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_alias.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_alias) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authn_alias
-This module allows extended authentication providers to be created within the configuration file and assigned an alias name.
+This module allows extended authentication providers to be created
+within the configuration file and assigned an alias name.
+
+%description mod_authn_alias -l pl.UTF-8
+Ten moduł umożliwia tworzenie rozszerzonych sposobów uwierzytelniania
+w pliku konfiguracyjnym i nadawanie im aliasów.
 
 %package mod_authn_anon
 Summary:       Apache module that allows "anonymous" user access to authenticated areas
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający dostęp anonimowych użytkowników do stref uwierzytelnianych
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_anon.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_anon) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+# compat
+Provides:      apache(mod_auth_anon) = %{version}-%{release}
+Provides:      apache-mod_auth_anon = %{version}-%{release}
+Obsoletes:     apache-mod_auth_anon < 2.2.0-0.5
 
 %description mod_authn_anon
-This module provides authentication front-ends such as mod_auth_basic to authenticate users similar to anonymous-ftp sites, i.e. have a 'magic' user id 'anonymous' and the email address as a password. These email addresses can be logged.
+This module provides authentication front-ends such as mod_auth_basic
+to authenticate users similar to anonymous-ftp sites, i.e. have a
+'magic' user id 'anonymous' and the email address as a password. These
+email addresses can be logged.
+
+%description mod_authn_anon -l pl.UTF-8
+Ten moduł udmożliwia frontendom uwierzytelniającym takim jak
+mod_auth_basic uwierzytelnianie użytkowników podobnie do serwisów
+anonimowego ftp, tzn. przez udostępnianie "magicznego" identyfikatora
+"anonymous" i adresu pocztowego jako hasła. Te adresy pocztowe mogą
+być logowane.
 
 %package mod_authn_dbd
 Summary:       Apache module that allows user authentication using an SQL
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający uwierzytelnianie użytkowników przy użyciu tabel SQL
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_dbd = %{version}-%{release}
 Provides:      apache(mod_authn_dbd) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authn_dbd
-This module provides authentication front-ends such as mod_auth_digest and mod_auth_basic to authenticate users by looking up users in SQL tables.
+This module provides authentication front-ends such as mod_auth_digest
+and mod_auth_basic to authenticate users by looking up users in SQL
+tables.
+
+%description mod_authn_dbd -l pl.UTF-8
+Ten moduł udostępnia frontendom uwierzytelniającym takim jak
+mod_auth_digest i mod_auth_basic uwierzytelnianie użytkowników poprzez
+wyszukiwanie w tabelach SQL.
 
 %package mod_authn_dbm
 Summary:       Apache module that allows user authentication using DBM files
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający uwierzytelnianie użytkowników przy użyciu plików DBM
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_dbm.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_dbm) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authn_dbm
-This module provides authentication front-ends such as mod_auth_digest and mod_auth_basic to authenticate users by looking up users in dbm password files.
+This module provides authentication front-ends such as mod_auth_digest
+and mod_auth_basic to authenticate users by looking up users in DBM
+password files.
+
+%description mod_authn_dbm -l pl.UTF-8
+Ten moduł udostępnia frontendom uwierzytelniającym takim jak
+mod_auth_digest i mod_auth_basic uwierzytelnianie użytkowników poprzez
+wyszukiwanie w tabelach haseł DBM.
 
 %package mod_authn_default
 Summary:       Apache module that rejects any credentials supplied by the user
+Summary(pl.UTF-8):     Moduł Apache'a odrzucający wszystkie dane podane przez użytkownika
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_default.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_default) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authn_default
-This module is designed to be the fallback module, if you don't have configured an authentication module like mod_auth_basic. It simply rejects any credentials supplied by the user.
+This module is designed to be the fallback module, if you don't have
+configured an authentication module like mod_auth_basic. It simply
+rejects any credentials supplied by the user.
+
+%description mod_authn_default -l pl.UTF-8
+Ten moduł został pomyślany jako domyślny moduł uwierzytelniający,
+jeśli nie skonfigurowano modułu uwierzytelniającego takiego jak
+mod_auth_basic. Moduł ten po prostu odrzuca wszelkie dane przekazane
+przez użytkownika.
 
 %package mod_authn_file
 Summary:       Apache module that allows user authentication using text files
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający uwierzytelnianie użytkowników poprzez pliki tekstowe
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_file.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_file) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authn_file
-This module provides authentication front-ends such as mod_auth_digest and mod_auth_basic to authenticate users by looking up users in plain text password files.
+This module provides authentication front-ends such as mod_auth_digest
+and mod_auth_basic to authenticate users by looking up users in plain
+text password files.
+
+%description mod_authn_file -l pl.UTF-8
+Ten moduł udostępnia frontendom uwierzytelniającym takim jak
+mod_auth_digest i mod_auth_basic uwierzytelnianie użytkowników poprzez
+wyszukiwanie w plikach tekstowych z hasłami.
 
 %package mod_authnz_ldap
 Summary:       Apache module that allows an LDAP directory to be used to store the database for HTTP Basic authentication
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający przechowywanie danych dla uwierzytelnienia HTTP Basic w bazie LDAP
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_ldap = %{version}-%{release}
 Provides:      apache(mod_authnz_ldap) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+# compat
+Provides:      apache(mod_auth_ldap) = %{version}-%{release}
+Provides:      apache-mod_auth_ldap = %{version}-%{release}
+Obsoletes:     apache-mod_auth_ldap < 2.2.0-0.5
 
 %description mod_authnz_ldap
-This module provides authentication front-ends such as mod_auth_basic to authenticate users through an ldap directory.
+This module provides authentication front-ends such as mod_auth_basic
+to authenticate users through an LDAP directory.
+
+%description mod_authnz_ldap -l pl.UTF-8
+Ten moduł udostępnia frontendom uwierzytelniającym takim jak
+mod_auth_basic uwierzytelnianie użytkowników poprzez katalog LDAP.
 
 %package mod_authz_dbm
 Summary:       Apache module that allows group authorization using DBM files
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający uwierzytelnianie grup z użyciem plików DBM
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authz_dbm.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_dbm) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authz_dbm
-This module provides authorization capabilities so that authenticated users can be allowed or denied access to portions of the web site by group membership.
+This module provides authorization capabilities so that authenticated
+users can be allowed or denied access to portions of the web site by
+group membership stored in DBM file.
+
+%description mod_authz_dbm -l pl.UTF-8
+Ten moduł daje możliwość udostępniania bądź blokowania części serwisu
+WWW dla uwierzytelnionych użytkowników na podstawie ich przynależności
+do grupy zapisywanej w pliku DBM.
 
 %package mod_authz_default
 Summary:       Apache module that rejects any authorization request
+Summary(pl.UTF-8):     Moduł Apache'a odrzucający wszystkie żądania autoryzacji
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authz_default.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_default) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authz_default
-This module is designed to be the fallback module, if you don't have configured an authorization module like mod_authz_user or mod_authz_groupfile. It simply rejects any authorization request.
+This module is designed to be the fallback module, if you don't have
+configured an authorization module like mod_authz_user or
+mod_authz_groupfile. It simply rejects any authorization request.
+
+%description mod_authz_default -l pl.UTF-8
+Ten moduł został pomyślany jako domyślny moduł autoryzujący jeśli nie
+skonfigurowano modułu autoryzującego takiego jak mod_authz_user czy
+mod_authz_groupfile. Moduł ten po prostu odrzuca wszelkie żądania
+autoryzacji.
 
 %package mod_authz_groupfile
 Summary:       Apache module that allows group authorization using plaintext files
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający autoryzację grup przy użyciu plików tekstowych
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authz_groupfile.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_groupfile) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authz_groupfile
-This module provides authorization capabilities so that authenticated users can be allowed or denied access to portions of the web site by group membership.
+This module provides authorization capabilities so that authenticated
+users can be allowed or denied access to portions of the web site by
+group membership stored in plain text file.
+
+%description mod_authz_groupfile -l pl.UTF-8
+Ten moduł daje możliwość udostępniania bądź blokowania części serwisu
+WWW dla uwierzytelnionych użytkowników na podstawie ich przynależności
+do grupy zapisywanej w pliku tekstowym.
 
 %package mod_authz_host
 Summary:       Apache module that allows group authorizations based on host (name or IP address)
-group authorization using plaintext files
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający autoryzację grup w oparcu o host (nazwę lub IP)
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_host) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+# for apache < 2.2.0
+Provides:      apache(mod_access) = %{version}-%{release}
+Provides:      webserver(access)
 
 %description mod_authz_host
-The directives provided by mod_authz_host are used in <Directory>, <Files>, and <Location> sections as well as .htaccess files to control access to particular parts of the server. Access can be controlled based on the client hostname, IP address, or other characteristics of the client request, as captured in environment variables.
+The directives provided by mod_authz_host are used in <Directory>,
+<Files>, and <Location> sections as well as .htaccess files to control
+access to particular parts of the server. Access can be controlled
+based on the client hostname, IP address, or other characteristics of
+the client request, as captured in environment variables.
+
+%description mod_authz_host -l pl.UTF-8
+Dyrektyw udostępnianych przez mod_authz_host można używać w sekcjach
+<Directory>, <Files> i <Location>, a także plikach .htaccess w celu
+sterowania dostępem do poszczególnych części serwera. Dostępem można
+sterować na podstawie nazwy hosta klienta, adresu IP lub innej
+charakterystyki żądania klienta dostępnej w zmiennych środowiskowych.
 
 %package mod_authz_owner
 Summary:       Apache module that allows authorization based on file ownership
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający autoryzacje w oparciu o własność plików
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_authz_owner.html
+Requires:      %{name}-base = %{version}-%{release}
+#Requires:     any-auth-module
 Provides:      apache(mod_authz_owner) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authz_owner
-This module authorizes access to files by comparing the userid used for HTTP authentication (the web userid) with the file-system owner or group of the requested file. The supplied username and password must be already properly verified by an authentication module, such as mod_auth_basic or mod_auth_digest.
+This module authorizes access to files by comparing the userid used
+for HTTP authentication (the web userid) with the file-system owner or
+group of the requested file. The supplied username and password must
+be already properly verified by an authentication module, such as
+mod_auth_basic or mod_auth_digest.
+
+%description mod_authz_owner -l pl.UTF-8
+Ten moduł autoryzuje dostęp do plików poprzez porównanie
+identyfikatora użytkownika użytego przy uwierzytelnianiu HTTP (web
+userid) z właścicielem lub grupą żądanego pliku w systemie plików.
+Podana nazwa użytkownika i hasło muszą być wcześniej zweryfikowane
+przez moduł uwierzytelniania, taki jak mod_auth_basic lub
+mod_auth_digest.
 
 %package mod_authz_user
 Summary:       Apache module that allows user authorization
+Summary(pl.UTF-8):     Moduł Apache'a umożliwiający autoryzację użytkowników
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_authz_user.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_user) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_authz_user
-This module provides authorization capabilities so that authenticated users can be allowed or denied access to portions of the web site.
+This module provides authorization capabilities so that authenticated
+users can be allowed or denied access to portions of the web site.
+
+%description mod_authz_user -l pl.UTF-8
+Ten moduł daje możliwość udostępniania bądź blokowania części serwisu
+WWW dla uwierzytelnionych użytkowników.
 
 %package mod_autoindex
 Summary:       Apache module - display index of files
-Summary(pl):   Modu³ apache do wy¶wietlania indeksu plików
+Summary(pl.UTF-8):     Moduł apache do wyświetlania indeksu plików
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_autoindex.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
 Provides:      apache(mod_autoindex) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_autoindex
 This package contains mod_autoindex module. It provides generation
 index of files.
 
-%description mod_autoindex -l pl
-Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
+%description mod_autoindex -l pl.UTF-8
+Ten pakiet dostarcza moduł autoindex, który generuje indeks plików.
+
+%package mod_bucketeer
+Summary:       buckets manipulation filter
+Summary(pl.UTF-8):     Dzielenie kubełków po znalezieniu znaku sterującego
+Group:         Networking/Daemons
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_bucketeer) = %{version}-%{release}
+
+%description mod_bucketeer
+Split buckets whenever we find a control-char.
+
+%description mod_bucketeer -l pl.UTF-8
+Dzielenie kubełków po znalezieniu znaku sterującego.
 
 %package mod_cache
 Summary:       Content cache keyed to URIs
-Summary(pl):   Pamiêæ podrêczna wg klucza URI
+Summary(pl.UTF-8):     Pamięć podręczna wg klucza URI
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_cache.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_cache) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_cache
 mod_cache implements an RFC 2616 compliant HTTP content cache that can
@@ -627,45 +809,150 @@ 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 cache'owaniu lokalnej zawarto¶ci) oraz na
-dysku (u¿ywane do cache'owania proxy).
+%description mod_cache -l pl.UTF-8
+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 cache'owaniu lokalnej zawartości) oraz na
+dysku (używane do cache'owania proxy).
+
+%package mod_case_filter
+Summary:       TODO
+Group:         Networking/Daemons
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_case_filter) = %{version}-%{release}
+
+%description mod_case_filter
+
+%package mod_case_filter_in
+Summary:       TODO
+Group:         Networking/Daemons
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_case_filter_in) = %{version}-%{release}
+
+%description mod_case_filter_in
+
+%package mod_cern_meta
+Summary:       CERN httpd metafile semantics
+Summary(pl.UTF-8):     Obsługa semantyki metaplików CERN httpd
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_cern_meta.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_cern_meta) = %{version}-%{release}
+
+%description mod_cern_meta
+Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP
+headers that can be output in addition to the normal range of headers
+for each file accessed. They appear rather like the Apache .asis
+files, and are able to provide a crude way of influencing the Expires:
+header, as well as providing other curiosities. There are many ways to
+manage meta information, this one was chosen because there is already
+a large number of CERN users who can exploit this module.
+
+%description mod_cern_meta -l pl.UTF-8
+Moduł emulujący semantykę metaplików CERN HTTPD. Metapliki to nagłówki
+HTTP, które mogą być wysyłane oprócz normalnego zestawu nagłówków dla
+każdego przetwarzanego pliku. Zachowują się bardziej jak pliki .asis
+Apache'a i mogą dawać brutalny sposób wpływania na nagłówek Expires:,
+a także dostarczać inne ciekawostki. Jest wiele sposobów zarządzania
+metainformacjami, ta została wybrana ponieważ istnieje już wielu
+użytkowników CERN wykorzystujących ten moduł.
+
+%package mod_cgi
+Summary:       Execution of CGI scripts
+Summary(pl.UTF-8):     Uruchamianie skryptów CGI
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_cgi.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
+Provides:      apache(mod_cgi) = %{version}-%{release}
+Provides:      webserver(cgi)
+
+%description mod_cgi
+Any file that has the mime type application/x-httpd-cgi or handler
+cgi-script (Apache 1.1 or later) will be treated as a CGI script, and
+run by the server, with its output being returned to the client. Files
+acquire this type either by having a name containing an extension
+defined by the AddType directive, or by being in a ScriptAlias
+directory.
+
+When using a multi-threaded MPM under unix, the module mod_cgid should
+be used in place of this module. At the user level, the two modules
+are essentially identical.
+
+%description mod_cgi -l pl.UTF-8
+Ten moduł powoduje, że dowolny plik o typie MIME
+application/x-httpd-cgi albo procedurze obsługi cgi-script (w Apache'u
+1.1 lub nowszym) będzie traktowany jako skrypt CGI i uruchamiany przez
+serwer, a jego wyjście będzie zwracane klientowi. Pliki uzyskują ten
+typ przez posiadanie nazwy zawierającej rozszerzenie określone
+dyrektywą AddType lub będąc w katalogu ScriptAlias.
+
+Przy używaniu wielowątkowych MPM pod uniksem zamiast tego modułu
+należy używać modułu mod_cgid. Z poziomu użytkownika oba te moduły
+zachowują się identycznie.
 
 %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
+Summary(pl.UTF-8):     Uruchamianie zewnętrznych skryptów CGI za pomocą daemona CGI
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_cgid.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
 Provides:      apache(mod_cgid) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+Provides:      webserver(cgi)
 
 %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.
+Except for the optimizations and the additional ScriptSock directive,
+mod_cgid behaves similarly to mod_cgi.
+
+This module should be used instead of mod_cgi whenever a
+multi-threaded MPM is selected.
+
+%description mod_cgid -l pl.UTF-8
+Uruchamianie skryptów CGI za pomocą zewnętrznego demona CGI.
+
+Z wyjątkiem optymalizacji i dodatkowej dyrektywy ScriptSock, mod_cgid
+zachowuje się podobnie do mod_cgi.
+
+Tego modułu należy używać zamiast mod_cgi zawsze, jeśli wybrano
+wielowątkowy MPM.
 
 %package mod_charset_lite
 Summary:       Specify character set translation or recoding
-Summary(pl):   Translacja lub przekodowywanie znaków
+Summary(pl.UTF-8):     Translacja lub przekodowywanie znaków
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_charset_lite.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_charset_lite) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_charset_lite
 Specify character set translation or recoding.
 
-%description mod_charset_lite -l pl
-Translacja lub przekodowywanie znaków.
+This module provides a small subset of configuration mechanisms
+implemented by Russian Apache and its associated mod_charset.
+
+This is an experimental module and should be used with care.
+
+%description mod_charset_lite -l pl.UTF-8
+Translacja lub przekodowywanie znaków.
+
+Ten moduł udostępnia niewielki podzbiór mechanizmów konfiguracyjnych
+zaimplementowanych przez Russian Apache i powiązany z nim mod_charset.
+
+Jest to moduł eksperymentalny i należy używać go z uwagą.
 
 %package mod_dav
 Summary:       Apache module - Distributed Authoring and Versioning
-Summary(pl):   Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
+Summary(pl.UTF-8):     Moduł Apache'a - rozproszone autorstwo i wersjonowanie
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_dav.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      apache-mod_authn_file
+Requires:      apache-mod_setenvif
 Provides:      apache(mod_dav) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_dav
 This module provides class 1 and class 2 WebDAV ('Web-based
@@ -673,107 +960,492 @@ 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
+%description mod_dav -l pl.UTF-8
+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
+na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
 zdalnym serwerze WWW.
 
+%package mod_dbd
+Summary:       Manages SQL database connections
+Summary(pl.UTF-8):     Zarządzanie połączeniami z bazą danych SQL
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_dbd.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_dbd) = %{version}-%{release}
+
+%description mod_dbd
+mod_dbd manages SQL database connections using apr_dbd. It provides
+database connections on request to modules requiring SQL database
+functions, and takes care of managing databases with optimal
+efficiency and scalability for both threaded and non-threaded MPMs.
+
+%description mod_dbd -l pl.UTF-8
+mod_dbd zarządza połączeniami z bazą danych SQL przy użyciu apr_dbd.
+Udostępnia połączenia z bazą danych na żądanie modułów wymagających
+funkcji bazy danych SQL, a następnie dba o zarządzanie bazami danych z
+optymalną wydajnością i skalowalnością zarówno dla wątkowych jak i
+niewątkowych MPM.
+
 %package mod_deflate
 Summary:       Apache module: Compress content before it is delivered to the client
-Summary(pl):   Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
+Summary(pl.UTF-8):     Moduł Apache'a kompresujący dane przed przesłaniem ich do klienta
 Group:         Networking/Daemons
-Provides:      apache(mod_deflate) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_deflate.html
+Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_headers = %{version}-%{release}
+Provides:      apache(mod_deflate) = %{version}-%{release}
 
 %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.
+%description mod_deflate -l pl.UTF-8
+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³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
+Summary(pl.UTF-8):     Moduł Apache'a oferujący przekierowania i udostępnianie informacji o zawartości katalogu
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_dir.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_dir) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+Provides:      webserver(indexfile)
 
 %description mod_dir
 This package contains mod_dir which provides "trailing slash"
 redirects and serving directory index files.
 
-%description mod_dir -l pl
-Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
+%description mod_dir -l pl.UTF-8
+Moduł oferujący przekierowania i udostępnianie informacji o zawartości
 katalogu.
 
+%package mod_dumpio
+Summary:       Dumps all I/O to error log as desired
+Summary(pl.UTF-8):     Zrzucanie całości wejścia/wyjścia do logu błędów
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_dumpio.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_dumpio) = %{version}-%{release}
+
+%description mod_dumpio
+mod_dumpio allows for the logging of all input received by Apache
+and/or all output sent by Apache to be logged (dumped) to the
+error.log file.
+
+The data logging is done right after SSL decoding (for input) and
+right before SSL encoding (for output). As can be expected, this can
+produce extreme volumes of data, and should only be used when
+debugging problems.
+
+%description mod_dumpio -l pl.UTF-8
+mod_dumpio umożliwia logowanie całego wejścia otrzymanego przez
+Apache'a i/lub całęgo wyjścia wysyłanego przez Apache'a do pliku
+error.log.
+
+Logowanie danych następuja zaraz po zdekodowaniu SSL (dla wejścia) i
+zaraz przed kodowaniem SSL (dla wyjścia). Jak można się spodziewać, ta
+opcja może tworzyć ogromne ilości danych i powinna być używana tylko
+przy diagnostyce problemów.
+
+%package mod_echo
+Summary:       A simple echo server to illustrate protocol modules
+Summary(pl.UTF-8):     Prosty serwer ocho ilustrujący moduły protokołów
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_echo.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_echo) = %{version}-%{release}
+
+%description mod_echo
+This module provides an example protocol module to illustrate the
+concept. It provides a simple echo server. Telnet to it and type
+stuff, and it will echo it.
+
+%description mod_echo -l pl.UTF-8
+Ten moduł udostępnia przykładowy moduł protokołu ilustrujący ideę.
+Udostępnia prosty serwer echo. Można się na niego zatelnetować i
+napisać cokolwiek, a on odpowie tym samym.
+
+%package mod_env
+Summary:       Modifies the environment which is passed to CGI scripts and SSI pages
+Summary(pl.UTF-8):     Modyfikowanie środowiska przekazywanego skryptom CGI i stronom SSI
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_env.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_env) = %{version}-%{release}
+
+%description mod_env
+This module allows for control of the environment that will be
+provided to CGI scripts and SSI pages. Environment variables may be
+passed from the shell which invoked the httpd process. Alternatively,
+environment variables may be set or unset within the configuration
+process.
+
+%description mod_env -l pl.UTF-8
+Ten moduł pozwala na kontrolę środowiska udostępnianego skryptom CGI i
+stronom SSI. Zmienne środowiskowe mogą być przekazywane z powłoki w
+czasie uruchamiania procesu httpd, albo - alternatywnie - ustawiane i
+usuwane w procesie konfiguracji.
+
+%package mod_expires
+Summary:       Apache module which generates Expires HTTP headers
+Summary(pl.UTF-8):     Moduł Apache'a generujący nagłówki HTTP Expires
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_expires.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_expires) = %{version}-%{release}
+
+%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.
+
+%description mod_expires -l pl.UTF-8
+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.
+
+%package mod_ext_filter
+Summary:       Pass the response body through an external program before delivery to the client
+Summary(pl.UTF-8):     Przekazywanie ciała odpowiedzi do zewnętrznego programu przed przekazaniem klientowi
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_ext_filter.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_ext_filter) = %{version}-%{release}
+
+%description mod_ext_filter
+mod_ext_filter presents a simple and familiar programming model for
+filters. With this module, a program which reads from stdin and writes
+to stdout (i.e., a Unix-style filter command) can be a filter for
+Apache.
+
+This filtering mechanism is much slower than using a filter which is
+specially written for the Apache API and runs inside of the Apache
+server process, but it does have the following benefits:
+- the programming model is much simpler
+- any programming/scripting language can be used, provided that it
+  allows the program to read from standard input and write to standard
+  output
+- existing programs can be used unmodified as Apache filters
+
+Even when the performance characteristics are not suitable for
+production use, mod_ext_filter can be used as a prototype environment
+for filters.
+
+%description mod_ext_filter -l pl.UTF-8
+mod_ext_filter przedstawia prosty i przyjazny model programowania dla
+filtrów. Przy użyciu tego modułu program czytający ze standardowego
+wejścia i piszący na standardowe wyjście (czyli uniksowe polecenie
+filtrujące) może być filtrem dla Apache'a.
+
+Ten mechanizm filtrujący jest znacznie wolniejszy niż użycie filtru
+napisanego specjalnie dla API Apache'a i działającego wewnątrz procesu
+Apache'a, ale ma następujące zalety:
+- znacznie prostszy model programowania
+- możliwość użycia dowolnego języka programowania/skryptowego, jeśli
+  tylko umożliwia czytanie ze standardowego wejścia i pisanie na
+  standardowe wyjście
+- możliwość użycia istniejących programów bez modyfikacji jako filtrów
+  Apache'a.
+
+Nawet kiedy charakterystyka wydajności nie jest odpowiednia dla użytku
+produkcyjnego, mod_ext_filter można używać w środowisku prototypowym
+dla filtrów.
+
+%package mod_file_cache
+Summary:       Apache module: caches a static list of files in memory
+Summary(pl.UTF-8):     Moduł Apache'a cache'ujący statyczną listę plików w pamięci
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_file_cache.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_file_cache) = %{version}-%{release}
+Obsoletes:     apache-mmap_static
+
+%description mod_file_cache
+Caches a static list of files in memory.
+
+This module is an extension of and borrows heavily from the
+mod_mmap_static module in Apache 1.3.
+
+%description mod_file_cache -l pl.UTF-8
+Moduł cache'ujący statyczną listę plików w pamięci.
+
+%package mod_filter
+Summary:       Context-sensitive smart filter configuration module
+Summary(pl.UTF-8):     Moduł inteligentnej, zależnej od kontekstu konfiguracji filtrów
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_filter.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_filter) = %{version}-%{release}
+
+%description mod_filter
+This module enables smart, context-sensitive configuration of output
+content filters. For example, apache can be configured to process
+different content-types through different filters, even when the
+content-type is not known in advance (e.g. in a proxy).
+
+%description mod_filter -l pl.UTF-8
+Ten moduł umożliwia inteligentne, zależne od kontekstu konfigurowanie
+wyjściowych filtrów treści. Na przykład, Apache'a można skonfigurować
+do przetwarzania różnych content-type poprzez różne filtry, nawet
+jeśli content-type nie jest znany z góry (np. w wypadku proxy).
+
 %package mod_headers
 Summary:       Apache module allows for the customization of HTTP response headers
-Summary(pl):   Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
+Summary(pl.UTF-8):     Moduł Apache'a pozwalający na modyfikację nagłówków HTTP
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_headers.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_headers) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %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 mod_headers -l pl
-Modu³ pozwalaj±cy na ³±czenie, usuwanie oraz zamianê nag³ówków HTTP
-wysy³anych do przegl±darki.
+%description mod_headers -l pl.UTF-8
+Moduł pozwalający na łączenie, usuwanie oraz zamianę nagłówków HTTP
+wysyłanych do przeglądarki.
 
-%package mod_imap
-Summary:       Apache module with imap-file handler
-Summary(pl):   Modu³ Apache'a z obs³ug± imap-file
+%package mod_ident
+Summary:       RFC 1413 ident lookups
+Summary(pl.UTF-8):     Sprawdzanie identyfikacji RFC 1413
 Group:         Networking/Daemons
-Provides:      apache(mod_imap) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_ident.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_ident) = %{version}-%{release}
+
+%description mod_ident
+This module queries an RFC 1413 compatible daemon on a remote host to
+look up the owner of a connection.
 
-%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 mod_ident -l pl.UTF-8
+Ten moduł odpytuje demona zgodnego z RFC 1413 na zdalnym hoście w celu
+sprawdzenia właściciela połączenia.
 
-%description mod_imap -l pl
-Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
+%package mod_imagemap
+Summary:       Server-side imagemap processing
+Summary(pl.UTF-8):     Przetwarzanie map obrazów po stronie serwera
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_imagemap.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_imagemap) = %{version}-%{release}
+Provides:      apache-mod_imap
+Obsoletes:     apache-mod_imap
+
+%description mod_imagemap
+This module processes .map files, thereby replacing the functionality
+of the imagemap CGI program. Any directory or document type configured
+to use the handler imap-file (using either AddHandler or SetHandler)
+will be processed by this module.
+
+%description mod_imagemap -l pl.UTF-8
+Ten moduł przetwarza pliki .map zastępując funkcjonalność programu CGI
+imagemap. Dowolny katalog lub rodzaj dokumentu skonfigurowany do
+używania procedury obsługi imap-file (poprzez AddHandler lub
+SetHandler) będzie przetwarzany przez ten moduł.
+
+%package mod_include
+Summary:       Server-parsed html documents (Server Side Includes)
+Summary(pl.UTF-8):     Dokumenty przetwarzane przez serwer (Server Side Includes)
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_include.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_include) = %{version}-%{release}
+
+%description mod_include
+This module provides a filter which will process files before they are
+sent to the client. The processing is controlled by specially
+formatted SGML comments, referred to as elements. These elements allow
+conditional text, the inclusion of other files or programs, as well as
+the setting and printing of environment variables.
+
+%description mod_include -l pl.UTF-8
+Ten moduł dostarcza procedurę obsługi przetwarzającą pliki przed
+wysłaniem ich do klienta. Przetwarzanie jest sterowane specjalnie
+sformatowanymi komentarzami SGML, nazywanymi elementami. Elementy te
+pozwalają na tekst warunkowy, dołączanie innych plików lub programów,
+a także ustawianie i wypisywanie zmiennych środowiskowych.
 
 %package mod_info
 Summary:       Apache module with comprehensive overview of the server configuration
-Summary(pl):   Modu³ Apache'a udostêpniaj±cy informacje o serwerze
+Summary(pl.UTF-8):     Moduł Apache'a udostępniający informacje o serwerze
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_info.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_authz_host = %{version}-%{release}
 Provides:      apache(mod_info) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %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 mod_info -l pl
-Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
-zainstalowanych modu³ach itp.
+%description mod_info -l pl.UTF-8
+Moduł udostępniający informacje o konfiguracji serwera,
+zainstalowanych modułach itp.
 
 %package mod_ldap
-Summary:       Apache module to use LDAP connections
-Summary(pl):   Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
+Summary:       Apache module for LDAP connection pooling and result caching services for other LDAP modules
+Summary(pl.UTF-8):     Moduł Apache'a zarządzający połączeniami z serwerami LDAP
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_ldap.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_ldap) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_ldap
-Apache module to use LDAP connections.
+This module was created to improve the performance of websites relying
+on backend connections to LDAP servers. In addition to the functions
+provided by the standard LDAP libraries, this module adds an LDAP
+connection pool and an LDAP shared memory cache.
+
+%description mod_ldap -l pl.UTF-8
+Moduł Apache'a poprawiający wydajność serwisów polegających na
+połączeniach z serwerami LDAP. Oprócz funkcjo udostępnianych przez
+standardowe biblioteki LDAP ten moduł dodaje zarządzanie pulą połączeń
+i współdzieloną pamięć podręczną zapytań.
+
+%package mod_log_config
+Summary:       Logging of the requests made to the server
+Summary(pl.UTF-8):     Logowanie żądań zgłaszanych do serwera
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_log_config) = %{version}-%{release}
+Provides:      webserver(log)
+
+%description mod_log_config
+This module provides for flexible logging of client requests. Logs are
+written in a customizable format, and may be written directly to a
+file, or to an external program. Conditional logging is provided so
+that individual requests may be included or excluded from the logs
+based on characteristics of the request.
+
+%description mod_log_config -l pl.UTF-8
+Ten moduł umożliwia elastyczne logowanie żądań klientów. Logi są
+zapisywane w konfigurowalnym formacie i mogą być zapisywane
+bezpośrednio do pliku lub przekazywane do zewnętrznego programu.
+Dostępne jest logowanie warunkowe polegające na włączeniu lub
+wyłączeniu poszczególnych żądań z logowania na podstawie
+charakterystyki żądania.
+
+%package mod_log_forensic
+Summary:       Forensic Logging of the requests made to the server
+Summary(pl.UTF-8):     Logowanie żadań zgłaszanych do serwera w celu późniejszej analizy
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_log_forensic.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_log_forensic) = %{version}-%{release}
+
+%description mod_log_forensic
+This module provides for forensic logging of client requests. Logging
+is done before and after processing a request, so the forensic log
+contains two log lines for each request.
+
+%description mod_log_forensic -l pl.UTF-8
+Ten moduł pozwala na logowanie żądań w celu późniejszej analizy.
+Logowanie jest wykonywane przed i po przetworzeniu żądania, więc log
+zawiera dwie linie dla każdego żądania.
+
+%package mod_logio
+Summary:       Logging of input and output bytes per request
+Summary(pl.UTF-8):     Logowanie liczby bajtów wejścia i wyjścia dla zapytań
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_logio.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_log_config = %{version}-%{release}
+Provides:      apache(mod_logio) = %{version}-%{release}
+
+%description mod_logio
+This module provides the logging of input and output number of bytes
+received/sent per request. The numbers reflect the actual bytes as
+received on the network, which then takes into account the headers and
+bodies of requests and responses. The counting is done before SSL/TLS
+on input and after SSL/TLS on output, so the numbers will correctly
+reflect any changes made by encryption.
+
+%description mod_logio -l pl.UTF-8
+Ten moduł zapewnia logowanie liczby bajtów wejścia i wyjścia
+odbieranych/wysyłanych przy każdym zapytaniu. Liczby odzwierciedlają
+rzeczywiste bajty przesyłane przez sieć, z wliczonymi nagłówkami i
+ciałami żądań i odpowiedzi. Zliczanie jest wykonywane przed SSL/TLS na
+wejściu i po SSL/TLS na wyjściu, więc liczby będą właściwie
+odzwierciedlały wszystkie zmiany dokonywane przez szyfrowanie.
+
+%package mod_mime
+Summary:       Associates the requested filename's extensions with the file's behavior and content
+Summary(pl.UTF-8):     Wiązanie określonych rozszerzeń plików z zachowaniem i zawartością
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_mime.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_mime) = %{version}-%{release}
+
+%description mod_mime
+This module is used to associate various bits of "meta information"
+with files by their filename extensions. This information relates the
+filename of the document to it's mime-type, language, character set
+and encoding. This information is sent to the browser, and
+participates in content negotiation, so the user's preferences are
+respected when choosing one of several possible files to serve. See
+mod_negotiation for more information about content negotiation.
+
+%description mod_mime -l pl.UTF-8
+Ten moduł służy do wiązania określonych części "metainformacji" z
+plikami w zależności od rozszerzeń nazw plików. Informacje te łączą
+nazwy plików dokumentów z ich typem MIME, językiem, zestawem znaków i
+kodowaniem. Informacje te są wysyłane przeglądarce i mają wpływ na
+negocjację treści, tak że preferencje użytkownika są respektowane przy
+wybieraniu jednego z kilku dostępnych do zaserwowania. Więcej
+informacji o negocjacji treści jest w dokumentacji do mod_negotiation.
+
+%package mod_mime_magic
+Summary:       Determines the MIME type of a file by looking at a few bytes of its contents
+Summary(pl.UTF-8):     Określanie typu MIME pliku poprzez sprawdzanie kilku bajtów jego zawartości
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_mime_magic.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      file
+Provides:      apache(mod_mime_magic) = %{version}-%{release}
+
+%description mod_mime_magic
+This module determines the MIME type of files in the same way the Unix
+file(1) command works: it looks at the first few bytes of the file. It
+is intended as a "second line of defense" for cases that mod_mime
+can't resolve.
+
+%description mod_mime_magic -l pl.UTF-8
+Ten moduł określa typ MIME plików w ten sam sposób, co uniksowe
+polecenie file(1): patrzy na kilka początkowych bajtów pliku. Ma
+służyć jako "druga linia obrony" dla przypadków, których nie może
+rozwiązać mod_mime.
+
+%package mod_negotiation
+Summary:       Provides for content negotiation
+Summary(pl.UTF-8):     Moduł do negocjacji treści
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_negotiation.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_mime = %{version}-%{release}
+Provides:      apache(mod_negotiation) = %{version}-%{release}
 
-%description mod_ldap -l pl
-Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
+%description mod_negotiation
+Content negotiation, or more accurately content selection, is the
+selection of the document that best matches the clients capabilities,
+from one of several available documents.
+
+%description mod_negotiation -l pl.UTF-8
+Negocjacja treści, lub bardziej precyzyjnie - wybór treści, to wybór
+dokumentu najbardziej odpowiadającego możliwościom klientów spośród
+kilku możliwych dokumentów.
 
 %package mod_proxy
 Summary:       Apache module with Web proxy
-Summary(pl):   Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
+Summary(pl.UTF-8):     Moduł Apache'a dodający obsługę serwera proxy
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_authz_host = %{version}-%{release}
 Provides:      apache(mod_proxy) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_proxy
 This package contains module with implementation a proxy/cache for
@@ -781,54 +1453,108 @@ Apache. It implements proxying capability for FTP, CONNECT (for SSL),
 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 mod_proxy -l pl
-Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
-Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
+%description mod_proxy -l pl.UTF-8
+Moduł zawiera implementację serwera proxy/cache dla Apache.
+Implementacja 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³ Apache'a do "przepisywania" adresów URL w locie
+Summary(pl.UTF-8):     Moduł Apache'a do "przepisywania" adresów URL w locie
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_rewrite) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_rewrite
 This package contains It provides a rule-based rewriting engine to
 rewrite requested URLs on the fly.
 
-%description mod_rewrite -l pl
-Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
+%description mod_rewrite -l pl.UTF-8
+Moduł oferujący możliwość "przepisywania" adresów URL w locie.
+
+%package mod_setenvif
+Summary:       Allows the setting of environment variables based on characteristics of the request
+Summary(pl.UTF-8):     Ustawianie zmiennych środowiskowych w oparciu o charakterystykę żądania
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_setenvif) = %{version}-%{release}
+
+%description mod_setenvif
+The mod_setenvif module allows you to set environment variables
+according to whether different aspects of the request match regular
+expressions you specify. These environment variables can be used by
+other parts of the server to make decisions about actions to be taken.
+
+%description mod_setenvif -l pl.UTF-8
+Moduł mod_setenvif pozwala na ustawianie zmiennych środowiskowych w
+zależności od różnych aspektów żądania pasujących do podanych wyrażeń
+regularnych. Te zmienne środowiskowe mogą być używane przez inne
+części serwera do podejmowania decyzji o podejmowanych akcjach.
+
+%package mod_speling
+Summary:       Attempts to correct mistaken URLs by ignoring capitalization and by allowing up to one misspelling
+Summary(pl.UTF-8):     Próba poprawiania błędnych URL-i poprzez ignorowanie wielkości liter i zezwalanie na jedną literówkę
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_speling.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_speling) = %{version}-%{release}
+
+%description mod_speling
+Requests to documents sometimes cannot be served by the core apache
+server because the request was misspelled or miscapitalized. This
+module addresses this problem by trying to find a matching document,
+even after all other modules gave up. It does its work by comparing
+each document name in the requested directory against the requested
+document name without regard to case, and allowing up to one
+misspelling (character insertion / omission / transposition or wrong
+character). A list is built with all document names which were matched
+using this strategy.
+
+%description mod_speling -l pl.UTF-8
+Czasami żądania dokumentów nie mogą być wykonane przez sam serwer
+Apache, ponieważ żądanie zostało napisane z błędem w znakach lub
+wielkości liter. Ten moduł próbuje rozwiązać ten problem próbując
+znaleźć pasujący dokument, nawet jeśli inne moduły się poddały. Działa
+on poprzez porównywanie nazwy każdego dokumentu w żądanym katalogu z
+żądaną nazwą dokumentu bez zwracania uwagi na wielkość liter i
+pozwalając na jeden błąd (dodany, pominięty, przestawiony lub zły
+znak). Tworzona jest lista dla wszystkich nazw dokumentów pasujących
+dla tej strategii.
 
 %package mod_ssl
 Summary:       SSL/TLS module for the Apache HTTP server
-Summary(pl):   Modu³ SSL/TSL dla serwera Apache
-Summary(ru):   íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
-Group:         Networking/Daemons
+Summary(pl.UTF-8):     Moduł SSL/TSL dla serwera Apache
+Summary(ru.UTF-8):     Модуль SSL/TLS для веб-сервера Apache
 Epoch:         1
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_ssl.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_ssl) = 1:%{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_ssl
 The mod_ssl module provides strong cryptography for the Apache Web
 server via the Secure Sockets Layer (SSL) and Transport Layer Security
 (TLS) protocols.
 
-%description mod_ssl -l pl
-Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
-Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
+%description mod_ssl -l pl.UTF-8
+Moduł mod_ssl udostępnia wsparcie do silnej kryptografii dla serwera
+Apache poprzez protokoły SSL/TSL (Secure Sockets Layer/Transport Layer
 Security).
 
-%description mod_ssl -l ru
-íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
-ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
+%description mod_ssl -l ru.UTF-8
+Модуль mod_ssl обеспечивает поддержку в веб-сервере Apache надежного
+шифрования средствами Secure Sockets Layer (SSL) и Transport Layer
 
 %package mod_status
 Summary:       Server status report module for Apache
-Summary(pl):   Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
+Summary(pl.UTF-8):     Moduł udostępniający informacje statystyczne z serwera Apache
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_status.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_authz_host = %{version}-%{release}
 Provides:      apache(mod_status) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_status
 The Status module allows a server administrator to find out how well
@@ -837,46 +1563,33 @@ current server statistics in an easily readable form. If required this
 page can be made to automatically refresh (given a compatible
 browser).
 
-%description mod_status -l pl
-Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
+%description mod_status -l pl.UTF-8
+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³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
+%package mod_substitute
+Summary:       Substitute module for Apache
+Summary(pl.UTF-8):     Moduł pozwalający na znajdywanie i zastępowanie wyjścia dla serwera Apache
 Group:         Networking/Daemons
-Provides:      apache(mod_usertrack) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_substitute.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_substitute) = %{version}-%{release}
 
-%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 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³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
-Group:         Networking/Daemons
-Provides:      apache(mod_vhost_alias) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
-
-%description mod_vhost_alias
-This package contains the mod_vhost_alias. It provides support for
-dynamically configured mass virtual hosting.
+%description mod_substitute
+The Substitute module provides a mechanism to perform both regular
+expression and fixed string substitutions on response bodies.
 
-%description mod_vhost_alias -l pl
-Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
-wirtualnych.
+%description mod_substitute -l pl.UTF-8
+Moduł pozwala na zastępowanie ciągów znaków w wyjściu również na
+podstawie wyrażenia regularnego.
 
 %package mod_unique_id
 Summary:       Apache module which provides a magic token for each request
-Summary(pl):   Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
+Summary(pl.UTF-8):     Moduł Apache'a nadający każdemu zapytaniu unikalny token
 Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_unique_id.html
+Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_unique_id) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
 
 %description mod_unique_id
 This package contains the mod_unique_id. This module provides a magic
@@ -887,47 +1600,87 @@ 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 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±
+%description mod_unique_id -l pl.UTF-8
+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³ Apache'a generuj±cy nag³ówki HTTP Expires
+%package mod_userdir
+Summary:       User-specific directories
+Summary(pl.UTF-8):     Katalogi specyficzne dla użytkowników
 Group:         Networking/Daemons
-Provides:      apache(mod_expires) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_userdir.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_authz_host = %{version}-%{release}
+Provides:      apache(mod_userdir) = %{version}-%{release}
 
-%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.
+%description mod_userdir
+This module allows user-specific directories to be accessed using the
+http://example.com/~user/ syntax.
 
-%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.
+%description mod_userdir -l pl.UTF-8
+Ten moduł pozwala na dostęp do katalogów specyficznych dla
+użytkowników przy użyciu składni http://example.com/~user/ .
 
-%package mod_file_cache
-Summary:       Apache module: caches a static list of files in memory
-Summary(pl):   Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
+%package mod_usertrack
+Summary:       Apache module for user tracking using cookies
+Summary(pl.UTF-8):     Moduł Apache'a służący do śledzenia "ciasteczek"
 Group:         Networking/Daemons
-Obsoletes:     apache-mmap_static
-Provides:      apache(mod_file_cache) = %{version}-%{release}
-Requires:      %{name} = %{version}-%{release}
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_usertrack.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_usertrack) = %{version}-%{release}
 
-%description mod_file_cache
-Caches a static list of files in memory.
+%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 mod_usertrack -l pl.UTF-8
+Ten pakiet zawiera moduł śledzący użytkowników zapisujący własny log
+przy użyciu katalogu CookieLog. Pozwala na użycie wielu plików logów.
+
+%package mod_version
+Summary:       Version dependent configuration
+Summary(pl.UTF-8):     Konfiguracja zależna od wersji
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_version.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_version) = %{version}-%{release}
+
+%description mod_version
+This module is designed for the use in test suites and large networks
+which have to deal with different httpd versions and different
+configurations. It provides a new container -- <IfVersion>, which
+allows a flexible version checking including numeric comparisons and
+regular expressions.
+
+%description mod_version -l pl.UTF-8
+Ten moduł jest przeznaczony do używania w zestawach testów i dużych
+sieciach, gdzie trzeba inaczej obsługiwać różne wersje httpd i różne
+konfiguracje. Udostępnia nowy kontener: <IfVersion>, umożliwiający
+elastyczne sprawdzanie wersji włącznie z porównaniami liczbowymi i
+wyrażeniami regularnymi.
+
+%package mod_vhost_alias
+Summary:       Apache module for dynamically configured mass virtual hosting
+Summary(pl.UTF-8):     Moduł Apache'a dodający obsługę hostów wirtualnych
+Group:         Networking/Daemons
+URL:           http://httpd.apache.org/docs/2.2/mod/mod_vhost_alias.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_vhost_alias) = %{version}-%{release}
+
+%description mod_vhost_alias
+This package contains the mod_vhost_alias. It provides support for
+dynamically configured mass virtual hosting.
 
-%description mod_file_cache -l pl
-Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
+%description mod_vhost_alias -l pl.UTF-8
+Moduł umożliwia na dynamiczne konfigurowanie masowej ilości serwerów
+wirtualnych.
 
 %package -n htpasswd-%{name}
 Summary:       Apache 2 htpasswd utility: manage user files for basic authentication
-Summary(pl):   Narzêdzie htpasswd z Apache'a 2 do zarz±dzania plikami uwierzytelnienia basic
+Summary(pl.UTF-8):     Narzędzie htpasswd z Apache'a 2 do zarządzania plikami uwierzytelnienia basic
 Group:         Networking/Utilities
 Provides:      htpasswd
 Obsoletes:     htpasswd
@@ -938,34 +1691,49 @@ usernames and password for basic authentication of HTTP users. This
 package contains htpasswd from Apache 2; this version supports
 plaintext passwords and CRYPT (default), MD5 and SHA1 encryptions.
 
-%description -n htpasswd-%{name} -l pl
-htpasswd s³u¿y do tworzenia i uaktualniania plików tekstowych
-s³u¿±cych do przechowywania nazw u¿ytkowników i hase³ do podstawowego
-uwierzytelnienia u¿ytkowników HTTP. Ten pakiet zawiera htpasswd z
-Apache'a 2; ta wersja obs³uguje has³a zapisane czystym tekstem oraz
-zakodowane algorytmami CRYPT (domy¶lnym), MD5 i SHA1.
+%description -n htpasswd-%{name} -l pl.UTF-8
+htpasswd służy do tworzenia i uaktualniania plików tekstowych
+służących do przechowywania nazw użytkowników i haseł do podstawowego
+uwierzytelnienia użytkowników HTTP. Ten pakiet zawiera htpasswd z
+Apache'a 2; ta wersja obsługuje hasła zapisane czystym tekstem oraz
+zakodowane algorytmami CRYPT (domyślnym), MD5 i SHA1.
+
+%package dbmtools
+Summary:       Apache 2 tools for manipulating DBM files
+Summary(pl.UTF-8):     Narzędzia Apache'a 2 do obróbki plików DBM
+Group:         Networking/Utilities
+Requires:      %{name}-base = %{version}-%{release}
+
+%description dbmtools
+Apache 2 tools for manipulating DBM files.
+
+%description dbmtools -l pl.UTF-8
+Narzędzia Apache'a 2 do obróbki plików DBM.
 
 %package cgi_test
 Summary:       cgi test/demo programs
-Summary(pl):   Programy testowe/przyk³adowe cgi
+Summary(pl.UTF-8):     Programy testowe/przykładowe cgi
 Group:         Networking/Utilities
-Requires:      %{name} = %{version}-%{release}
-Requires:      FHS >= 2.3-12
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      filesystem >= 3.0-11
 
 %description cgi_test
 Two cgi test/demo programs: test-cgi and print-env.
 
-%description cgi_test -l pl
-Dwa programy testowe/przyk³adowe cgi: test-cgi and print-env.
+%description cgi_test -l pl.UTF-8
+Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
 
 %prep
 %setup -q -n httpd-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch7 -p1
 %patch8 -p1
+%patch9 -p1
 %patch10 -p1
 %patch12 -p1
 %patch14 -p1
@@ -975,19 +1743,10 @@ Dwa programy testowe/przyk
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
 
 # using system apr, apr-util and pcre
 rm -rf srclib/{apr,apr-util,pcre}
-# nothing left in srclib, remove it
-sed -i -e '/^SUBDIRS/s/srclib//' Makefile.in
-
-# fixup perl path
-sed -i -e '1s@/usr/local/bin/perl@%{__perl}@' docs/cgi-examples/printenv
-
-# fix location of build dir in generated apxs
-sed -i -e '
-s:@exp_installbuilddir@:%{_libdir}/apache/build:g
-' support/apxs.in
 
 # sanity check
 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
@@ -996,6 +1755,9 @@ if [ "$MODULES_API" != "%_apache_modules_api" ]; then
        exit 1
 fi
 
+# fix libdir (at least in PLD layout; no need to care about other ones)
+sed -i -e 's,/lib$,/%{_lib},' config.layout
+
 %build
 cp /usr/share/apr/build/apr_common.m4 build
 cp /usr/share/libtool/ltmain.sh build
@@ -1014,14 +1776,12 @@ touch ssl_expr_scan.c
 cd ../..
 
 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
-for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} prefork worker; do
+for mpm in prefork worker %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} %{?with_event:event}; do
 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
 ../%configure \
-       --prefix=%{_sysconfdir} \
-       --exec-prefix=%{_libexecdir} \
-       --with-installbuilddir=%{_libdir}/apache/build \
-       --disable-v4-mapped \
        --enable-layout=PLD \
+       --disable-v4-mapped \
+       $( [ "${mpm}" = "prefork" -o "${mpm}" = "worker" -o "${mpm}" = "event" ] && echo "--enable-exception-hook" ) \
        --enable-modules=all \
        --enable-mods-shared=all \
        --enable-auth-anon \
@@ -1037,7 +1797,7 @@ install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
        --enable-disk-cache \
        --enable-mem-cache \
        --enable-dbd \
-       --enable-bucketeer \
+       %{?with_bucketeer:--enable-bucketeer} \
        --enable-dumpio \
        --enable-echo \
        --enable-charset-lite \
@@ -1063,10 +1823,6 @@ install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
        --enable-proxy-ajp \
        --enable-proxy-balancer \
        %{?with_ssl:--enable-ssl %{?with_distcache:--enable-distcache}} \
-       --enable-optional-hook-export \
-       --enable-optional-hook-import \
-       --enable-optional-fn-import \
-       --enable-optional-fn-export \
        --enable-http \
        --enable-dav \
        --enable-info \
@@ -1100,13 +1856,11 @@ install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
 
 %{__make}
 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
-
-find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
-
 cd ..
+
 done
 
-for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} worker; do
+for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} worker %{?with_event:event}; do
        if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
                echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
                echo "Build failed."
@@ -1116,66 +1870,50 @@ done
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
-       $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache,lock/mod_dav} \
+install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
+       $RPM_BUILD_ROOT%{_var}/{log/{httpd,archive/httpd},{run,cache}/httpd,lock/mod_dav} \
        $RPM_BUILD_ROOT%{_sysconfdir}/{webapps.d,conf.d} \
        $RPM_BUILD_ROOT%{_datadir}/cgi-bin
 
 # prefork is default one
 %{__make} -C buildmpm-prefork 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=%{_cgibindir} \
-       runtimedir=%{_var}/run \
-       logdir=%{_var}/log/httpd \
-       proxycachedir=%{_var}/cache/httpd
-
-for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} worker; do
+       DESTDIR=$RPM_BUILD_ROOT
+
+# install other mpm-s
+for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} worker %{?with_event:event}; do
        install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
-       ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
 done
 
 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
-
-ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
-ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
-ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
-
-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/*
-%{__perl} -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
-%{__perl} -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
-%{__perl} -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
-ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
-ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
+ln -s %{_libexecdir} $RPM_BUILD_ROOT%{_sysconfdir}/modules
+ln -s %{_localstatedir}/run/httpd $RPM_BUILD_ROOT%{_sysconfdir}/run
+ln -s %{_var}/log/httpd $RPM_BUILD_ROOT%{_sysconfdir}/logs
+ln -s conf.d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 
 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/httpd
-install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit/httpd.monitrc
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/httpd
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/httpd
 
 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
 
 %if %{with ssl}
 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
+install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
+install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
 %endif
 
-CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
+install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+
+CFG="$RPM_BUILD_ROOT%{_sysconfdir}/conf.d/"
 
-install %{SOURCE6} $CFG/10_httpd.conf
+install %{SOURCE7} $CFG/10_common.conf
+
+install %{SOURCE23} $CFG/01_mod_mime.conf
+install %{SOURCE24} $CFG/01_mod_authz_host.conf
+install %{SOURCE25} $CFG/01_mod_cgid.conf
+install %{SOURCE26} $CFG/01_mod_log_config.conf
+install %{SOURCE27} $CFG/01_mod_mime_magic.conf
+install %{SOURCE28} $CFG/01_mod_cache.conf
 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
 install %{SOURCE9} $CFG/25_mod_status.conf
 install %{SOURCE10} $CFG/30_mod_proxy.conf
@@ -1186,71 +1924,139 @@ install %{SOURCE14} $CFG/59_mod_dir.conf
 install %{SOURCE15} $CFG/13_mod_suexec.conf
 install %{SOURCE16} $CFG/58_mod_deflate.conf
 install %{SOURCE17} $CFG/57_mod_autoindex.conf
-
-echo "LoadModule ldap_module   %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.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 auth_ldap_module      %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.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
-# let's remove trash (yes, *.html without lang suffix also contain trash)
-find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
-       -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
-       | xargs rm -f
+install %{SOURCE18} $CFG/30_errordocs.conf
+install %{SOURCE19} $CFG/30_manual.conf
+install %{SOURCE20} $CFG/16_mod_userdir.conf
+install %{SOURCE21} $CFG/10_mpm.conf
+install %{SOURCE22} $CFG/20_languages.conf
+
+echo "LoadModule alias_module modules/mod_alias.so" > $CFG/00_mod_alias.conf
+echo "LoadModule authn_file_module     modules/mod_authn_file.so" > $CFG/00_mod_authn_file.conf
+echo "LoadModule authn_dbm_module      modules/mod_authn_dbm.so" > $CFG/00_mod_authn_dbm.conf
+echo "LoadModule authn_anon_module     modules/mod_authn_anon.so" > $CFG/00_mod_authn_anon.conf
+echo "LoadModule authn_dbd_module      modules/mod_authn_dbd.so" > $CFG/00_mod_authn_dbd.conf
+echo "LoadModule authn_default_module  modules/mod_authn_default.so" > $CFG/00_mod_authn_default.conf
+echo "LoadModule authn_alias_module    modules/mod_authn_alias.so" > $CFG/00_mod_authn_alias.conf
+echo "LoadModule authz_groupfile_module        modules/mod_authz_groupfile.so" > $CFG/00_mod_authz_groupfile.conf
+echo "LoadModule authz_user_module     modules/mod_authz_user.so" > $CFG/00_mod_authz_user.conf
+echo "LoadModule authz_dbm_module      modules/mod_authz_dbm.so" > $CFG/00_mod_authz_dbm.conf
+echo "LoadModule authz_owner_module    modules/mod_authz_owner.so" > $CFG/00_mod_authz_owner.conf
+echo "LoadModule authnz_ldap_module    modules/mod_authnz_ldap.so" > $CFG/00_mod_authnz_ldap.conf
+echo "LoadModule authz_default_module  modules/mod_authz_default.so" > $CFG/00_mod_authz_default.conf
+echo "LoadModule auth_basic_module     modules/mod_auth_basic.so" > $CFG/00_mod_auth_basic.conf
+echo "LoadModule dbd_module    modules/mod_dbd.so" > $CFG/00_mod_dbd.conf
+%if %{with bucketeer}
+echo "LoadModule bucketeer_module      modules/mod_bucketeer.so" > $CFG/00_mod_bucketeer.conf
+%endif
+echo "LoadModule dumpio_module modules/mod_dumpio.so" > $CFG/00_mod_dumpio.conf
+echo "LoadModule echo_module   modules/mod_echo.so" > $CFG/00_mod_echo.conf
+echo "LoadModule case_filter_module    modules/mod_case_filter.so" > $CFG/00_mod_case_filter.conf
+echo "LoadModule case_filter_in_module modules/mod_case_filter_in.so" > $CFG/00_mod_case_filter_in.conf
+echo "LoadModule ext_filter_module     modules/mod_ext_filter.so" > $CFG/00_mod_ext_filter.conf
+echo "LoadModule include_module        modules/mod_include.so" > $CFG/00_mod_include.conf
+echo "LoadModule filter_module modules/mod_filter.so" > $CFG/00_mod_filter.conf
+echo "LoadModule log_forensic_module   modules/mod_log_forensic.so" > $CFG/00_mod_log_forensic.conf
+echo "LoadModule logio_module  modules/mod_logio.so" > $CFG/00_mod_logio.conf
+echo "LoadModule env_module    modules/mod_env.so" > $CFG/00_mod_env.conf
+echo "LoadModule cern_meta_module      modules/mod_cern_meta.so" > $CFG/00_mod_cern_meta.conf
+echo "LoadModule ident_module  modules/mod_ident.so" > $CFG/00_mod_ident.conf
+echo "LoadModule setenvif_module       modules/mod_setenvif.so" > $CFG/00_mod_setenvif.conf
+echo "LoadModule version_module        modules/mod_version.so" > $CFG/00_mod_version.conf
+echo "LoadModule asis_module   modules/mod_asis.so" > $CFG/00_mod_asis.conf
+echo "LoadModule cgi_module    modules/mod_cgi.so" > $CFG/00_mod_cgi.conf
+echo "LoadModule negotiation_module    modules/mod_negotiation.so" > $CFG/00_mod_negotiation.conf
+echo "LoadModule imagemap_module       modules/mod_imagemap.so" > $CFG/00_mod_imagemap.conf
+echo "LoadModule speling_module        modules/mod_speling.so" > $CFG/00_mod_speling.conf
+echo "LoadModule ldap_module   modules/mod_ldap.so" > $CFG/00_mod_ldap.conf
+echo "LoadModule actions_module        modules/mod_actions.so" > $CFG/00_mod_actions.conf
+echo "LoadModule auth_digest_module    modules/mod_auth_digest.so" > $CFG/00_mod_auth_digest.conf
+echo "LoadModule charset_lite_module   modules/mod_charset_lite.so" > $CFG/00_mod_charset_lite.conf
+echo "LoadModule expires_module        modules/mod_expires.so" > $CFG/00_mod_expires.conf
+echo "LoadModule file_cache_module     modules/mod_file_cache.so" > $CFG/00_mod_file_cache.conf
+echo "LoadModule headers_module        modules/mod_headers.so" > $CFG/00_mod_headers.conf
+echo "LoadModule rewrite_module        modules/mod_rewrite.so" > $CFG/00_mod_rewrite.conf
+echo "LoadModule usertrack_module      modules/mod_usertrack.so" > $CFG/00_mod_usertrack.conf
+echo "LoadModule unique_id_module      modules/mod_unique_id.so" > $CFG/00_mod_unique_id.conf
+echo "LoadModule substitute_module     modules/mod_subsitute.so" > $CFG/00_mod_substitute.conf
+
+# anything in style dir not ending with .css is trash
+rm -rf $RPM_BUILD_ROOT%{_datadir}/manual/style/{lang,latex,xsl}
+find $RPM_BUILD_ROOT%{_datadir}/manual/style -type f ! -name '*.css' -print0 | xargs -0r rm -f
+
+# find manual files
+> manual.files
+cur=$(pwd)
+cd $RPM_BUILD_ROOT
+find ./%{_datadir}/manual -type d -printf "%%%%dir %{_datadir}/manual/%%P\n" >> "$cur/manual.files"
+find ./%{_datadir}/manual -type f -printf "%{_datadir}/manual/%%P\n" | sed -e '
+s/^.*\.\(de\|es\|fr\|ja\|ko\|ru\)\(\..*\)\?/%%lang(\1) &/
+s/^.*\.\(pt-br\)/%%lang(pt_BR) &/
+' >> "$cur/manual.files"
+cd $cur
 
 # htpasswd goes to %{_bindir}
-mv $RPM_BUILD_ROOT%{_sbindir}/htpasswd $RPM_BUILD_ROOT%{_bindir}/
-ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}/
+mv $RPM_BUILD_ROOT%{_sbindir}/htpasswd $RPM_BUILD_ROOT%{_bindir}
+ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}
 
 # cgi_test: create config file with ScriptAlias
-cat << EOF > $CFG/09_cgi_test.conf
+cat << 'EOF' > $CFG/09_cgi_test.conf
 ScriptAlias /cgi-bin/printenv %{_cgibindir}/printenv
 ScriptAlias /cgi-bin/test-cgi %{_cgibindir}/test-cgi
 EOF
 
+# no value
+rm $RPM_BUILD_ROOT%{_libexecdir}/build/config.nice
+rm $RPM_BUILD_ROOT%{_libexecdir}/*.exp
+rm $RPM_BUILD_ROOT%{_sysconfdir}/mime.types
+rm $RPM_BUILD_ROOT%{_sysconfdir}/httpd.prefork.conf
+rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/{extra,original}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pre
+%pre base
 %groupadd -g 51 http
 %useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http
 
-%post
+%pretrans base
+# change httpd.conf from dir to symlink
+if [ ! -L /etc/httpd/httpd.conf ]; then
+       if [ -d /etc/httpd/httpd.conf ]; then
+               if [ -d /etc/httpd/conf.d ]; then
+                       mv /etc/httpd/httpd.conf/* /etc/httpd/conf.d
+                       rmdir /etc/httpd/httpd.conf 2>/dev/null || mv -v /etc/httpd/httpd.conf{,.rpmsave}
+               else
+                       mv /etc/httpd/httpd.conf /etc/httpd/conf.d
+               fi
+
+               # new module packages issue error as first installed over 2.0 installation
+               mv -f /var/lock/subsys/httpd{,.disabled} 2>/dev/null
+       fi
+
+       # always have httpd.conf symlink (until all packages from Ac use new dir)
+       install -d /etc/httpd
+       ln -s conf.d /etc/httpd/httpd.conf
+fi
+exit 0
+
+%post base
 /sbin/chkconfig --add httpd
 umask 137
 touch /var/log/httpd/{access,error,agent,referer}_log
 
-%preun
+%preun base
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/httpd ]; then
-               /etc/rc.d/init.d/httpd stop 1>&2
-       fi
-       # see http://thread.gmane.org/gmane.linux.pld.devel.english/712
-       [ ! -x /sbin/chkconfig ] || /sbin/chkconfig --del httpd
+       %service httpd stop
+       /sbin/chkconfig --del httpd
 fi
 
-%postun
+%postun base
 if [ "$1" = "0" ]; then
        %userremove http
        %groupremove http
 fi
 
-%triggerpostun -- %{name} <= 2.0.50-6
+%triggerpostun base -- %{name} < 2.0.50-6.9
 %banner %{name}-2.0.50-6 << EOF
 WARNING!!!
 Since apache-2.0.50-6 autoindex module has been separated to package
@@ -1258,7 +2064,7 @@ Since apache-2.0.50-6 autoindex module has been separated to package
 poldek -Uv %{name}-mod_autoindex
 EOF
 
-%triggerpostun -- %{name} < 2.0.54-4
+%triggerpostun base -- %{name} < 2.0.54-4
 %banner %{name}-2.0.54-2 << EOF
 WARNING!!!
 CGI demo/test programs - printenv and test-cgi, have been released
@@ -1273,24 +2079,80 @@ if [ -f /etc/sysconfig/apache.rpmsave ]; then
        mv -f /etc/sysconfig/{apache.rpmsave,httpd}
 fi
 
-%triggerpostun -- %{name} < 2.0.55-3.1
-if ! grep -q 'Include webapps.d/' /etc/httpd/httpd.conf/10_httpd.conf; then
-# make sure webapps.d is included
-cp -f /etc/httpd/httpd.conf/10_httpd.conf{,.rpmsave}
-# this file is ugly, so just append new lines
-cat <<EOF >> /etc/httpd/httpd.conf/10_httpd.conf
-# Include webapps config
-Include webapps.d/*.conf
+%triggerpostun base -- %{name} < 2.0.55-3.1
+# check for config first as in 2.2 it's .rpmsave
+if [ -f /etc/httpd/httpd.conf/10_httpd.conf ]; then
+       if ! grep -q 'Include webapps.d/' /etc/httpd/httpd.conf/10_httpd.conf; then
+               # make sure webapps.d is included
+               cp -f /etc/httpd/httpd.conf/10_httpd.conf{,.rpmsave}
+               # this file is ugly, so just append new lines
+               cat <<-EOF >> /etc/httpd/httpd.conf/10_httpd.conf
+               # Include webapps config
+               Include webapps.d/*.conf
 EOF
+       fi
 fi
 
-# rename monitrc to be service name like other files
-if [ -f /etc/monit/apache.monitrc.rpmsave ]; then
-       mv -f /etc/monit/httpd.monitrc{,.rpmnew}
-       mv -f /etc/monit/{apache.monitrc.rpmsave,httpd.monitrc}
+%triggerpostun base -- %{name} < 2.2.0
+# change HTTPD_CONF to point to new location. *only* if it's the
+# default config setting
+cp -f /etc/sysconfig/httpd{,.rpmorig}
+sed -i -e '/^HTTPD_CONF="\/etc\/httpd\/httpd.conf"/s,.*,HTTPD_CONF="/etc/httpd/apache.conf",' /etc/sysconfig/httpd
+
+if [ -f /etc/httpd/conf.d/10_httpd.conf.rpmsave ]; then
+       sed -e '
+       # as separate modules
+       /^LoadModule access_module/s,^,#,
+       /^LoadModule alias_module/s,^,#,
+       /^LoadModule asis_module/s,^,#,
+       /^LoadModule cern_meta_module/s,^,#,
+       /^LoadModule cgi_module/s,^,#,
+       /^LoadModule env_module/s,^,#,
+       /^LoadModule include_module/s,^,#,
+       /^LoadModule log_config_module/s,^,#,
+       /^LoadModule mime_magic_module/s,^,#,
+       /^LoadModule mime_module/s,^,#,
+       /^LoadModule negotiation_module/s,^,#,
+       /^LoadModule setenvif_module/s,^,#,
+       /^LoadModule speling_module/s,^,#,
+       /^LoadModule userdir_module/s,^,#,
+
+       # in 30_errordocs.conf
+       /<IfModule mod_include.c>/,/<\/IfModule>/s,^,#,
+
+       # in 57_mod_autoindex.conf
+       /^Alias \/icons\//s,^,#,
+
+       # in apache.conf
+       /^ScriptAlias \/cgi-bin\//s,^,#,
+       /^Listen 80/s,^,#,
+
+       # avoid loops
+       /Include conf.d\/\*.conf/s,^,#,
+       /Include webapps.d\/\*.conf/s,^,#,
+
+       ' < /etc/httpd/conf.d/10_httpd.conf.rpmsave > /etc/httpd/conf.d/10_httpd.conf
 fi
 
-%posttrans
+%banner -e %{name} <<'EOF'
+NB! Apache main config has been changed to /etc/httpd/apache.conf
+
+There has been changed a lot, so many things could be broken.
+Please report bugs to <http://bugs.pld-linux.org/>.
+
+EOF
+
+%triggerpostun mod_ssl -- %{name}-mod_ssl < 1:2.2.0-3.1
+cp -f /etc/httpd/conf.d/40_mod_ssl.conf{,.rpmsave}
+sed -i -e '
+       s,/var/run/apache,/var/run/httpd,g
+       s,/var/cache/apache,/var/cache/httpd,g
+' /etc/httpd/conf.d/40_mod_ssl.conf
+
+%posttrans base
+# restore lock which we disabled in pretrans
+mv -f /var/lock/subsys/httpd{.disabled,} 2>/dev/null
+
 # minimizing apache restarts logics. we restart webserver:
 #
 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
@@ -1315,149 +2177,78 @@ if [ "$1" = "0" ]; then \
        %service -q httpd restart \
 fi
 
-%post mod_actions
-%module_post
-
-%postun mod_actions
+# it's sooo annoying to write them
+%define        module_scripts() \
+%post %1 \
+%module_post \
+\
+%postun %1 \
 %module_postun
 
-%post mod_auth
-%module_post
-
-%postun mod_auth
-%module_postun
-
-%post mod_auth_anon
-%module_post
-
-%postun mod_auth_anon
-%module_postun
-
-%post mod_auth_dbm
-%module_post
-
-%postun mod_auth_dbm
-%module_postun
-
-%post mod_autoindex
-%module_post
-
-%postun mod_autoindex
-%module_postun
-
-%post mod_cache
-%module_post
-
-%postun mod_cache
-%module_postun
-
-%post mod_cgid
-%module_post
-
-%postun mod_cgid
-%module_postun
-
-%post mod_charset_lite
-%module_post
-
-%postun mod_charset_lite
-%module_postun
-
-%post mod_dav
-%module_post
-
-%postun mod_dav
-%module_postun
-
-%post mod_auth_digest
-%module_post
-
-%postun mod_auth_digest
-%module_postun
-
-%post mod_deflate
-%module_post
-
-%postun mod_deflate
-%module_postun
-
-%post mod_dir
-%module_post
-
-%postun mod_dir
-%module_postun
-
-%post mod_expires
-%module_post
-
-%postun mod_expires
-%module_postun
-
-%post mod_file_cache
-%module_post
-
-%postun mod_file_cache
-%module_postun
-
-%post mod_headers
-%module_post
-
-%postun mod_headers
-%module_postun
-
-%post mod_imap
-%module_post
-
-%postun mod_imap
-%module_postun
-
-%post mod_info
-%module_post
-
-%postun mod_info
-%module_postun
-
-%post mod_proxy
-%module_post
-
-%postun mod_proxy
-%module_postun
-
-%post mod_rewrite
-%module_post
-
-%postun mod_rewrite
-%module_postun
-
-%post mod_ssl
-%module_post
-
-%postun mod_ssl
-%module_postun
-
-%post mod_status
-%module_post
-
-%postun mod_status
-%module_postun
-
-%post mod_usertrack
-%module_post
-
-%postun mod_usertrack
-%module_postun
-
-%post mod_unique_id
-%module_post
-
-%postun mod_unique_id
-%module_postun
-
-%post mod_vhost_alias
-%module_post
-
-%postun mod_vhost_alias
-%module_postun
+%module_scripts mod_actions
+%module_scripts mod_alias
+%module_scripts mod_asis
+%module_scripts mod_auth_basic
+%module_scripts mod_auth_dbm
+%module_scripts mod_auth_digest
+%module_scripts mod_authn_alias
+%module_scripts mod_authn_anon
+%module_scripts mod_authn_dbd
+%module_scripts mod_authn_dbm
+%module_scripts mod_authn_default
+%module_scripts mod_authn_file
+%module_scripts mod_authnz_ldap
+%module_scripts mod_authz_dbm
+%module_scripts mod_authz_default
+%module_scripts mod_authz_groupfile
+%module_scripts mod_authz_host
+%module_scripts mod_authz_owner
+%module_scripts mod_authz_user
+%module_scripts mod_autoindex
+%module_scripts mod_bucketeer
+%module_scripts mod_cache
+%module_scripts mod_case_filter
+%module_scripts mod_case_filter_in
+%module_scripts mod_cern_meta
+%module_scripts mod_cgi
+%module_scripts mod_cgid
+%module_scripts mod_charset_lite
+%module_scripts mod_dav
+%module_scripts mod_dbd
+%module_scripts mod_deflate
+%module_scripts mod_dir
+%module_scripts mod_dumpio
+%module_scripts mod_echo
+%module_scripts mod_env
+%module_scripts mod_expires
+%module_scripts mod_ext_filter
+%module_scripts mod_file_cache
+%module_scripts mod_filter
+%module_scripts mod_headers
+%module_scripts mod_ident
+%module_scripts mod_imagemap
+%module_scripts mod_include
+%module_scripts mod_info
+%module_scripts mod_ldap
+%module_scripts mod_log_config
+%module_scripts mod_log_forensic
+%module_scripts mod_logio
+%module_scripts mod_mime
+%module_scripts mod_mime_magic
+%module_scripts mod_negotiation
+%module_scripts mod_proxy
+%module_scripts mod_rewrite
+%module_scripts mod_setenvif
+%module_scripts mod_speling
+%module_scripts mod_ssl
+%module_scripts mod_status
+%module_scripts mod_substitute
+%module_scripts mod_unique_id
+%module_scripts mod_userdir
+%module_scripts mod_usertrack
+%module_scripts mod_version
+%module_scripts mod_vhost_alias
+%module_scripts suexec
 
 %post cgi_test
 if [ "$1" = "1" ]; then
@@ -1469,72 +2260,51 @@ if [ "$1" = "0" ]; then
        %service -q httpd reload
 fi
 
+%post errordocs
+if [ "$1" = "1" ]; then
+       %service -q httpd reload
+fi
+
+%postun errordocs
+if [ "$1" = "0" ]; then
+       %service -q httpd reload
+fi
+
 %files
 %defattr(644,root,root,755)
+
+%files base
+%defattr(644,root,root,755)
 %doc ABOUT_APACHE CHANGES README
 %doc docs/conf/mime.types
-
 %attr(754,root,root) /etc/rc.d/init.d/httpd
-
-# TODO: switch to conf.d, instead of confusing *dir* httpd.conf
-%attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
+%attr(751,root,root) %dir %{_sysconfdir}
+%{_sysconfdir}/modules
+%{_sysconfdir}/run
+%{_sysconfdir}/logs
+%ghost %{_sysconfdir}/httpd.conf
+%attr(750,root,root) %dir %{_sysconfdir}/conf.d
 %attr(750,root,root) %dir %{_sysconfdir}/webapps.d
-%attr(750,root,root) %dir %{_sysconfdir}/modules
-%attr(750,root,root) %dir %{_sysconfdir}/run
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_common.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mpm.conf
 %attr(640,root,root) %{_sysconfdir}/magic
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/httpd
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/*.monitrc
-
-#%attr(755,root,root) %{_libexecdir}/mod_access.so
-%attr(755,root,root) %{_libexecdir}/mod_alias.so
-%attr(755,root,root) %{_libexecdir}/mod_asis.so
-%attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
-%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_config.so
-%attr(755,root,root) %{_libexecdir}/mod_log_forensic.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
-%attr(755,root,root) %{_libexecdir}/mod_setenvif.so
-%attr(755,root,root) %{_libexecdir}/mod_speling.so
-%attr(755,root,root) %{_libexecdir}/mod_userdir.so
-
-# 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
+%dir %{_libexecdir}
 
-%attr(755,root,root) %{_sbindir}/ab
-%attr(755,root,root) %{_sbindir}/apachectl
 %attr(755,root,root) %{_sbindir}/checkgid
 %attr(755,root,root) %{_sbindir}/httpd
 %attr(755,root,root) %{_sbindir}/httpd.*
-%attr(755,root,root) %{_sbindir}/logresolve
-%attr(755,root,root) %{_sbindir}/rotatelogs
 
-%dir %attr(770,root,http) /var/run/apache
-%dir %attr(770,root,http) /var/cache/apache
+%dir %attr(770,root,http) /var/run/httpd
+%dir %attr(770,root,http) /var/cache/httpd
 
-%{_mandir}/man1/htdigest.1*
-%{_mandir}/man8/ab.8*
-%{_mandir}/man8/apachectl.8*
 %{_mandir}/man8/httpd.8*
-%{_mandir}/man8/logresolve.8*
-%{_mandir}/man8/rotatelogs.8*
 
-%attr(2750,root,logs) %dir /var/log/httpd
-%attr(2750,root,logs) %dir /var/log/archiv/httpd
+%attr(2751,root,logs) %dir /var/log/httpd
+%attr(2750,root,logs) %dir /var/log/archive/httpd
 %attr(640,root,logs) %ghost /var/log/httpd/*
 
 %dir %{_datadir}
 %dir %{_datadir}/cgi-bin
 %dir %{_datadir}/html
 %{_datadir}/icons
-%{_datadir}/error
 
-%files doc
-%defattr(644,root,root,755)
-%dir %{_datadir}/manual
-%{_datadir}/manual/LICENSE
-%{_datadir}/manual/*.html.en
-%lang(de) %{_datadir}/manual/*.html.de
-%lang(es) %{_datadir}/manual/*.html.es
-%lang(fr) %{_datadir}/manual/*.html.fr
-%lang(ja) %{_datadir}/manual/*.html.ja*
-%lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
-%lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
-%dir %{_datadir}/manual/developer
-%{_datadir}/manual/developer/*.html.en
-%lang(ja) %{_datadir}/manual/developer/*.html.ja*
-%dir %{_datadir}/manual/faq
-%{_datadir}/manual/faq/*.html.en
-%lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
-%dir %{_datadir}/manual/howto
-%{_datadir}/manual/howto/*.html.en
-%lang(ja) %{_datadir}/manual/howto/*.html.ja*
-%lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
-%dir %{_datadir}/manual/images
-%{_datadir}/manual/images/[!m]*
-%dir %{_datadir}/manual/misc
-%{_datadir}/manual/misc/*.html.en
-%lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
-%dir %{_datadir}/manual/mod
-%{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
-%lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
-%lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
-%lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
-%lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
-#%lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
-%{_datadir}/manual/mod/module-dict.html.en
-%lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
-%lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
-%{_datadir}/manual/mod/mpm_common.html.en
-%lang(de) %{_datadir}/manual/mod/mpm_common.html.de
-#%lang(es) %{_datadir}/manual/mod/mpm_common.html.es
-%lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
-#%{_datadir}/manual/mod/mod_access.html.en
-#%lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
-%{_datadir}/manual/mod/mod_alias.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_alias.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_asis.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_autoindex.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_cern_meta.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_cgi.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_echo.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_env.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_ext_filter.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_include.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
-%{_datadir}/manual/mod/mod_log_config.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_log_config.html.ja.euc-jp
-%lang(ko) %{_datadir}/manual/mod/mod_log_config.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_log_forensic.html.en
-%{_datadir}/manual/mod/mod_mime*.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
-%{_datadir}/manual/mod/mod_negotiation.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
-%{_datadir}/manual/mod/mod_setenvif.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_speling.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_userdir.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
-%dir %{_datadir}/manual/programs
-%{_datadir}/manual/programs/*.html.en
-%lang(es) %{_datadir}/manual/programs/*.html.es
-%lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
-#%lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
-%dir %{_datadir}/manual/style
-%{_datadir}/manual/style/css
-
-%{_datadir}/manual/mod/mod_suexec.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_actions.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
-#%{_datadir}/manual/mod/mod_auth.html.en
-#%lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
-#%{_datadir}/manual/mod/mod_auth_anon.html.en
-#%{_datadir}/manual/mod/mod_auth_ldap.html.en
-%{_datadir}/manual/mod/mod_ldap.html.en
-#%{_datadir}/manual/mod/mod_auth_dbm.html.en
-#%{_datadir}/manual/mod/mod_auth_digest.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_auth_digest.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_cache.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_disk_cache.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_mem_cache.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_mem_cache.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_cgid.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_cgid.html.ja.euc-jp
-%lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_charset_lite.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_dav*.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_deflate.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_dir.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_expires.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_expires.html.ja.euc-jp
-%lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_file_cache.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_headers.html.en
-%lang(ko) %{_datadir}/manual/mod/mod_headers.html.ko.euc-kr
-#%{_datadir}/manual/mod/mod_imap.html.en
-#%lang(ko) %{_datadir}/manual/mod/mod_imap.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_info.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_info.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_proxy*.html.en
-%{_datadir}/manual/mod/mod_rewrite.html.en
-%{_datadir}/manual/mod/mod_so.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_so.html.ja.euc-jp
-%lang(ko) %{_datadir}/manual/mod/mod_so.html.ko.euc-kr
-%{_datadir}/manual/images/mod_rewrite*
-%dir %{_datadir}/manual/rewrite
-%{_datadir}/manual/rewrite/index.html.en
-%{_datadir}/manual/rewrite/rewrite_guide.html.en
-%{_datadir}/manual/rewrite/rewrite_guide_advanced.html.en
-%{_datadir}/manual/rewrite/rewrite_intro.html.en
-%{_datadir}/manual/rewrite/rewrite_tech.html.en
-%dir %{_datadir}/manual/ssl
-%{_datadir}/manual/ssl/*.html.en
-%lang(ja) %{_datadir}/manual/ssl/*.html.ja*
-%{_datadir}/manual/mod/mod_ssl.html.en
-%{_datadir}/manual/mod/mod_status.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_status.html.ja.euc-jp
-%lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_usertrack.html.en
-%{_datadir}/manual/mod/mod_unique_id.html.en
-%lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
-%lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
-%{_datadir}/manual/mod/mod_vhost_alias.html.en
-%dir %{_datadir}/manual/vhosts
-%{_datadir}/manual/vhosts/*.html.en
-%lang(de) %{_datadir}/manual/vhosts/*.html.de
-#%lang(es) %{_datadir}/manual/vhosts/*.html.es
-%lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
-%lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
-#%lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
+%files doc -f manual.files
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_manual.conf
+
+%files errordocs
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_errordocs.conf
+%{_datadir}/error
 
 %files suexec
 %defattr(644,root,root,755)
 %attr(4755,root,root) %{_sbindir}/suexec
 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_suexec.conf
 %{_mandir}/man8/suexec.8*
 
 %files index
 %{_datadir}/html/*.gif
 %{_datadir}/html/*.png
 
-%files apxs
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/ab
+%attr(755,root,root) %{_sbindir}/apachectl
+%attr(755,root,root) %{_sbindir}/htdigest
+%attr(755,root,root) %{_sbindir}/logresolve
+%attr(755,root,root) %{_sbindir}/rotatelogs
+%{_mandir}/man8/ab.8*
+%{_mandir}/man8/apachectl.8*
+%{_mandir}/man1/htdigest.1*
+%{_mandir}/man8/logresolve.8*
+%{_mandir}/man8/rotatelogs.8*
+
+%files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/apxs
 %attr(755,root,root) %{_sbindir}/envvars*
-%attr(751,root,root) %dir %{_sysconfdir}
 %dir %{_libexecdir}
 %dir %{_libexecdir}/build
-%{_libexecdir}/build/config_vars.mk
-%{_mandir}/man8/apxs.8*
-
-%files devel
-%defattr(644,root,root,755)
-%{_includedir}
-%{_libexecdir}/*.exp
-%attr(750,root,root) %dir %{_sysconfdir}/build
 %{_libexecdir}/build/[lprs]*.mk
+%{_libexecdir}/build/config_vars.mk
 %attr(755,root,root) %{_libexecdir}/build/*.sh
-%attr(755,root,root) %{_libexecdir}/build/libtool
+%{_includedir}
+%{_mandir}/man8/apxs.8*
 
 %files mod_actions
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_actions.conf
 %attr(755,root,root) %{_libexecdir}/mod_actions.so
 
-%files mod_auth
+%files mod_alias
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
-#%attr(755,root,root) %{_libexecdir}/mod_auth.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_alias.conf
+%attr(755,root,root) %{_libexecdir}/mod_alias.so
 
-%files mod_auth_anon
+%files mod_asis
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
-#%attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_asis.conf
+%attr(755,root,root) %{_libexecdir}/mod_asis.so
 
-%if %{with ldap}
-%files mod_auth_ldap
+%files mod_auth
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
-#%attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
-%endif
 
-%if %{with ldap}
-%files mod_ldap
+%files mod_auth_basic
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
-%attr(755,root,root) %{_libexecdir}/mod_ldap.so
-%endif
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_auth_basic.conf
+%attr(755,root,root) %{_libexecdir}/mod_auth_basic.so
 
 %files mod_auth_dbm
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_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
-%{_mandir}/man1/dbmmanage.1*
-%{_mandir}/man1/htdbm.1*
 
 %files mod_auth_digest
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_auth_digest.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
 
+%files mod_authn_alias
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_alias.conf
+%attr(755,root,root) %{_libexecdir}/mod_authn_alias.so
+
+%files mod_authn_anon
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_anon.conf
+%attr(755,root,root) %{_libexecdir}/mod_authn_anon.so
+
+%files mod_authn_dbd
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_dbd.conf
+%attr(755,root,root) %{_libexecdir}/mod_authn_dbd.so
+
+%files mod_authn_dbm
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_dbm.conf
+%attr(755,root,root) %{_libexecdir}/mod_authn_dbm.so
+
+%files mod_authn_default
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_default.conf
+%attr(755,root,root) %{_libexecdir}/mod_authn_default.so
+
+%files mod_authn_file
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_file.conf
+%attr(755,root,root) %{_libexecdir}/mod_authn_file.so
+
+%if %{with ldap}
+%files mod_authnz_ldap
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authnz_ldap.conf
+%attr(755,root,root) %{_libexecdir}/mod_authnz_ldap.so
+%endif
+
+%files mod_authz_dbm
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_dbm.conf
+%attr(755,root,root) %{_libexecdir}/mod_authz_dbm.so
+
+%files mod_authz_default
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_default.conf
+%attr(755,root,root) %{_libexecdir}/mod_authz_default.so
+
+%files mod_authz_groupfile
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_groupfile.conf
+%attr(755,root,root) %{_libexecdir}/mod_authz_groupfile.so
+
+%files mod_authz_host
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_host.conf
+%attr(755,root,root) %{_libexecdir}/mod_authz_host.so
+
+%files mod_authz_owner
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_owner.conf
+%attr(755,root,root) %{_libexecdir}/mod_authz_owner.so
+
+%files mod_authz_user
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_user.conf
+%attr(755,root,root) %{_libexecdir}/mod_authz_user.so
+
 %files mod_autoindex
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_autoindex.conf
 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
 
+%if %{with bucketeer}
+%files mod_bucketeer
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_bucketeer.conf
+%attr(755,root,root) %{_libexecdir}/mod_bucketeer.so
+%endif
+
 %files mod_cache
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_cache.conf
 %attr(755,root,root) %{_sbindir}/htcacheclean
 %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
 %{_mandir}/man8/htcacheclean.8*
 
+%files mod_case_filter
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_case_filter.conf
+%attr(755,root,root) %{_libexecdir}/mod_case_filter.so
+
+%files mod_case_filter_in
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_case_filter_in.conf
+%attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
+
+%files mod_cern_meta
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_cern_meta.conf
+%attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
+
+%files mod_cgi
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_cgi.conf
+%attr(755,root,root) %{_libexecdir}/mod_cgi.so
+
 %files mod_cgid
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_cgid.conf
 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
 
 %files mod_charset_lite
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_charset_lite.conf
 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
 
 %files mod_dav
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_dav.conf
 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
 %dir %attr(770,root,http) /var/lock/mod_dav
 
+%files mod_dbd
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_dbd.conf
+%attr(755,root,root) %{_libexecdir}/mod_dbd.so
+
 %files mod_deflate
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_deflate.conf
 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
 
 %files mod_dir
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_dir.conf
 %attr(755,root,root) %{_libexecdir}/mod_dir.so
 
+%files mod_dumpio
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_dumpio.conf
+%attr(755,root,root) %{_libexecdir}/mod_dumpio.so
+
+%files mod_echo
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_echo.conf
+%attr(755,root,root) %{_libexecdir}/mod_echo.so
+
+%files mod_env
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_env.conf
+%attr(755,root,root) %{_libexecdir}/mod_env.so
+
 %files mod_expires
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_expires.conf
 %attr(755,root,root) %{_libexecdir}/mod_expires.so
 
+%files mod_ext_filter
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_ext_filter.conf
+%attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
+
 %files mod_file_cache
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_file_cache.conf
 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
 
+%files mod_filter
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_filter.conf
+%attr(755,root,root) %{_libexecdir}/mod_filter.so
+
 %files mod_headers
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_headers.conf
 %attr(755,root,root) %{_libexecdir}/mod_headers.so
 
-%files mod_imap
+%files mod_ident
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_ident.conf
+%attr(755,root,root) %{_libexecdir}/mod_ident.so
+
+%files mod_imagemap
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_imagemap.conf
+%attr(755,root,root) %{_libexecdir}/mod_imagemap.so
+
+%files mod_include
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
-#%attr(755,root,root) %{_libexecdir}/mod_imap.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_include.conf
+%attr(755,root,root) %{_libexecdir}/mod_include.so
 
 %files mod_info
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_info.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_info.conf
 %attr(755,root,root) %{_libexecdir}/mod_info.so
 
+%if %{with ldap}
+%files mod_ldap
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_ldap.conf
+%attr(755,root,root) %{_libexecdir}/mod_ldap.so
+%endif
+
+%files mod_log_config
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_log_config.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_log_config.conf
+
+%files mod_log_forensic
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_log_forensic.conf
+%attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
+
+%files mod_logio
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_logio.conf
+%attr(755,root,root) %{_libexecdir}/mod_logio.so
+
+%files mod_mime
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_mime.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_mime.conf
+
+%files mod_mime_magic
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_mime_magic.conf
+%attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
+
+%files mod_negotiation
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_negotiation.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_languages.conf
+%attr(755,root,root) %{_libexecdir}/mod_negotiation.so
+
 %files mod_proxy
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_proxy.conf
 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
 
 %files mod_rewrite
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/httxt2dbm
 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_rewrite.conf
+
+%files mod_setenvif
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_setenvif.conf
+%attr(755,root,root) %{_libexecdir}/mod_setenvif.so
+
+%files mod_speling
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_speling.conf
+%attr(755,root,root) %{_libexecdir}/mod_speling.so
 
 %if %{with ssl}
 %files mod_ssl
 %defattr(644,root,root,755)
 %attr(750,root,root) %dir %{_sysconfdir}/ssl
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/server.*
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_ssl.conf
 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
 %endif
 
 %files mod_status
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_status.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_status.conf
 %attr(755,root,root) %{_libexecdir}/mod_status.so
 
-%files mod_usertrack
+%files mod_substitute
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
-%attr(755,root,root) %{_libexecdir}/mod_usertrack.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_substitute.conf
+%attr(755,root,root) %{_libexecdir}/mod_substitute.so
 
 %files mod_unique_id
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_unique_id.conf
 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
 
+%files mod_userdir
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_userdir.conf
+%attr(755,root,root) %{_libexecdir}/mod_userdir.so
+
+%files mod_usertrack
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_usertrack.conf
+%attr(755,root,root) %{_libexecdir}/mod_usertrack.so
+
+%files mod_version
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_version.conf
+%attr(755,root,root) %{_libexecdir}/mod_version.so
+
 %files mod_vhost_alias
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_vhost_alias.conf
 
 %files -n htpasswd-%{name}
 %defattr(644,root,root,755)
@@ -1899,8 +2699,15 @@ fi
 %attr(755,root,root) %{_sbindir}/htpasswd
 %{_mandir}/man1/htpasswd.1*
 
+%files dbmtools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/dbmmanage
+%attr(755,root,root) %{_sbindir}/htdbm
+%{_mandir}/man1/dbmmanage.1*
+%{_mandir}/man1/htdbm.1*
+
 %files cgi_test
 %defattr(644,root,root,755)
 %dir %{_cgibindir}
 %attr(755,root,root) %{_cgibindir}/*
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/09_cgi_test.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_cgi_test.conf
This page took 0.233488 seconds and 4 git commands to generate.