# - mod_echo
# - config examples for mod_*
# - check if all modules are (de)registered in %%post/%%postun
-# - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
+# - 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
-# - change _prefix to /etc/httpd, _exec_prefix to /usr, fix configs to Load modules/xyz.so
-# + provide /etc/httpd/modules symlink to /usr/lib{,64}/apache (see for example fedora apache.spec}
-# This will fix path problems with AMD64.
# - check if all modules (*.so) are exactly the same for different MPMs
#
# Conditional build:
-%bcond_without ssl # don't build with SSL support
-%bcond_without ldap # don't build with LDAP support
-%bcond_without metuxmpm # use METUX MPM
+%bcond_without ssl # build without SSL support
+%bcond_without ldap # build without LDAP support
#
%include /usr/lib/rpm/macros.perl
# this is internal macro, don't change to %%apache_modules_api
Summary(ru): óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
Summary(tr): Lider WWW tarayýcý
Name: apache
-Version: 2.0.49
-Release: 0.3
+Version: 2.0.52
+Release: 9
License: Apache Group License
Group: Networking/Daemons
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
-# Source0-md5: 275d3d37eed1b070f333d3618f7d1954
+# Source0-md5: eba528fa8613dc5bfb0615a69c11f053
+# Source0-size: 6918995
Source1: %{name}.init
Source2: %{name}.logrotate
Source3: %{name}-icons.tar.gz
# Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
+# Source3-size: 46320
Source4: %{name}.sysconfig
+Source5: %{name}.monitrc
Source6: %{name}-httpd.conf
Source8: %{name}-mod_vhost_alias.conf
Source9: %{name}-mod_status.conf
Source13: %{name}-mod_dav.conf
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
Patch0: %{name}-configdir_skip_backups.patch
Patch4: %{name}-apr.patch
# project homepage http://www.metux.de/mpm/en/?patpage=index
# http://www.sannes.org/metuxmpm/
-Patch5: httpd-2.0.47-metuxmpm-r7.diff
+Patch5: httpd-2.0.48-metuxmpm-r8.patch
Patch6: httpd-2.0.40-xfsz.patch
Patch7: httpd-2.0.45-davetag.patch
Patch8: httpd-2.0.45-encode.patch
Patch9: httpd-2.0.45-export.patch
Patch10: httpd-2.0.46-dav401dest.patch
Patch11: httpd-2.0.46-md5dig.patch
-Patch12: httpd-2.0.46-rolog.patch
-Patch13: httpd-2.0.46-shmcb.patch
-Patch14: httpd-2.0.46-sslmutex.patch
-Patch15: httpd-2.0.47-sslcleanup.patch
-Patch16: httpd-2.0.48-corelimit.patch
-Patch17: httpd-2.0.48-debuglog.patch
-Patch18: httpd-2.0.48-dynlimit.patch
-Patch19: httpd-2.0.48-fdsetsize.patch
-Patch20: httpd-2.0.48-sslpphrase.patch
-Patch21: %{name}-v6only-ENOPROTOOPT.patch
+Patch13: httpd-2.0.46-sslmutex.patch
+Patch14: httpd-2.0.47-sslcleanup.patch
+Patch15: httpd-2.0.48-corelimit.patch
+Patch16: httpd-2.0.48-debuglog.patch
+Patch17: httpd-2.0.48-dynlimit.patch
+Patch18: httpd-2.0.48-sslpphrase.patch
+Patch19: %{name}-v6only-ENOPROTOOPT.patch
+Patch20: %{name}-conffile-path.patch
+Patch21: %{name}-apxs.patch
+# http://www.telana.com/peruser.php
+Patch22: httpd-2.0.50-peruser-r3.patch
+Patch23: %{name}-apr1.patch
+Patch24: %{name}-normalize-path.patch
URL: http://httpd.apache.org/
BuildRequires: automake
-BuildRequires: apr-devel >= 1:0.9.4-1
-BuildRequires: apr-util-devel >= 1:0.9.5-0.3
+BuildRequires: apr-devel >= 1:1.0.0
+BuildRequires: apr-util-devel >= 1:1.0.0
BuildRequires: db-devel
BuildRequires: expat-devel
BuildRequires: gdbm-devel >= 1.8.3
-BuildRequires: libtool >= 1.5
+BuildRequires: libtool >= 2:1.5
%{?with_ldap:BuildRequires: openldap-devel}
%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
%{?with_ssl:BuildRequires: openssl-tools >= 0.9.7d}
-BuildRequires: perl-devel >= 5.004
-BuildRequires: rpm-perlprov >= 4.0.4
+BuildRequires: perl-devel >= 1:5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.159
BuildRequires: zlib-devel
PreReq: perl-base
PreReq: rc-scripts
Requires(post,preun): /sbin/chkconfig
Requires(post,postun): /sbin/ldconfig
Requires(post): fileutils
-Requires: apr-util >= 1:0.9.4-1
Requires: /etc/mime.types
+Requires: apr >= 1:1.0.0-2
+Requires: %{name}-apxs = %{version}-%{release}
Requires: mailcap
Requires: psmisc >= 20.1
-Provides: httpd = %{version}
-Provides: webserver = %{version}
Provides: apache(modules-api) = %{_apache_modules_api}
+Provides: group(http)
+Provides: httpd = %{version}
+Provides: user(http)
+Provides: webserver = apache
Obsoletes: apache-extra
-Obsoletes: apache-doc
Obsoletes: apache6
-Obsoletes: apache1
-Obsoletes: indexhtml
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/httpd
Summary(pl): Pliki Apache index.html*
Group: Documentation
Requires: %{name} = %{version}-%{release}
+Obsoletes: indexhtml
%description index
Apache index.html* files.
%description doc -l pl
Podrêcznik Apache'a.
+%package apxs
+Summary: APache eXtenSion tool
+Summary(pl): Narzêdzie do rozszerzania Apache'a
+Group: Development/Tools
+
+%description apxs
+APache eXtenSion tool.
+
+%description apxs -l pl
+Narzêdzie do rozszerzania Apache'a.
+
%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(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
Group: Networking/Utilities
-Requires: %{name} = %{version}-%{release}
-Requires: apr-util-devel >= 1:0.9.4
+Requires: %{name}-apxs = %{version}-%{release}
+Requires: apr-util-devel >= 1:1.0.0
Requires: libtool
Obsoletes: apache-static
Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-mod_ldap = %{version}-%{release}
%description mod_auth_ldap
Apache module with LDAP user access authentication.
Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
Authentication.
+%package mod_autoindex
+Summary: Apache module - display index of files
+Summary(pl): Modu³ apache do wy¶wietlania indeksu plików
+Group: Networking/Daemons
+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.
+
%package mod_cache
Summary: Content cache keyed to URIs
Summary(pl): Pamiêæ podrêczna wg klucza URI
Summary(pl): Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-mod_headers = %{version}-%{release}
%description mod_deflate
Compress content before it is delivered to the client.
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%{?with_metuxmpm:%patch5 -p1}
+%patch5 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
-%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch19 -p1
%patch20 -p1
%patch21 -p1
+%patch22 -p1
+%patch23 -p1
+%patch24 -p1
+
+%{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
+%{__perl} -pi -e "s@BUILD_SUBDIRS.*@BUILD_SUBDIRS =@g" srclib/Makefile.in
+%{__perl} -pi -e "s@CLEAN_SUBDIRS.*@CLEAN_SUBDIRS =@g" srclib/Makefile.in
%build
# sanity check
MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
if [ "$MODULES_API" != "%_apache_modules_api" ]; then
- echo "Set %%_apache_modules_api to $MODILES_API and rerun."
+ echo "Set %%_apache_modules_api to $MODULES_API and rerun."
exit 1
fi
./buildconf
+rm -rf srclib/apr*
# Before configure; fix location of build dir in generated apxs
%{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
support/apxs.in
+%{__perl} -pi -e "s:apr-config:apr-1-config:g" support/apxs.in
+%{__perl} -pi -e "s:apu-config:apu-1-config:g" support/apxs.in
install /usr/share/automake/config.* build/
-CPPFLAGS="-DMAX_SERVER_LIMIT=200000"
-for mpm in %{?with_metuxmpm:metuxmpm} perchild prefork worker; do
+CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
+for mpm in metuxmpm peruser perchild prefork worker; do
install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
../%configure \
--prefix=%{_sysconfdir} \
--with-program-name=httpd.${mpm} \
--with-mpm=${mpm} \
%ifarch %{ix86}
-%ifnarch i386 i485
+%ifnarch i386 i486
$( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
%endif
%endif
--with-suexec-uidmin=500 \
--with-suexec-gidmin=500 \
--with-suexec-umask=077 \
- --with-apr=%{_bindir} \
- --with-apr-util=%{_bindir}
+ --with-apr=%{_bindir}/apr-1-config \
+ --with-apr-util=%{_bindir}/apu-1-config
%{__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} perchild worker; do
+for mpm in metuxmpm peruser perchild worker; 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."
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
+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}
# prefork is default one
logdir=%{_var}/log/httpd \
proxycachedir=%{_var}/cache/httpd
-for mpm in %{?with_metuxmpm:metuxmpm} perchild worker; do
+for mpm in metuxmpm peruser perchild worker; do
install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
- ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}
+ ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
done
ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
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/*
+%{__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
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
+install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit
touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
install %{SOURCE13} $CFG/45_mod_dav.conf
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
LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
-echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
echo "LoadModule 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 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
%clean
rm -rf $RPM_BUILD_ROOT
%postun
/sbin/ldconfig
if [ "$1" = "0" ]; then
- /usr/sbin/userdel http
- /usr/sbin/groupdel http
+ %userremove http
+ %groupremove http
fi
+%triggerpostun -- %{name} <= 2.0.50-6
+echo "WARNING!!!"
+echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
+echo "If you want to have the same functionality do:"
+echo "poldek --upgrade %{name}-mod_autoindex"
+echo
+
%post mod_actions
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2
fi
fi
+%post mod_autoindex
+if [ -f /var/lock/subsys/httpd ]; then
+ /etc/rc.d/init.d/httpd restart 1>&2
+else
+ echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+fi
+
+%preun mod_autoindex
+if [ "$1" = "0" ]; then
+ if [ -f /var/lock/subsys/httpd ]; then
+ /etc/rc.d/init.d/httpd restart 1>&2
+ fi
+fi
+
%post mod_cache
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2
%attr(754,root,root) /etc/rc.d/init.d/httpd
-%attr(750,root,root) %dir %{_sysconfdir}
%attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
%attr(750,root,root) %dir %{_sysconfdir}/modules
%attr(750,root,root) %dir %{_sysconfdir}/run
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
%attr(640,root,root) %{_sysconfdir}/magic
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
-%attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
+%attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
-%dir %{_libexecdir}
%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_autoindex.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) %{_sbindir}/ab
%attr(755,root,root) %{_sbindir}/apachectl
-%attr(755,root,root) %{_sbindir}/apxs
%attr(755,root,root) %{_sbindir}/checkgid
%attr(755,root,root) %{_sbindir}/httpd
%attr(755,root,root) %{_sbindir}/httpd.*
%attr(755,root,root) %{_sbindir}/logresolve
%attr(755,root,root) %{_sbindir}/rotatelogs
-%attr(755,root,root) %{_sbindir}/envvars*
%dir %attr(770,root,http) /var/run/apache
+%dir %attr(770,root,http) /var/cache/apache
%{_mandir}/man1/htdigest.1*
-%{_mandir}/man8/*
+%{_mandir}/man8/ab.8*
+%{_mandir}/man8/apachectl.8*
+%{_mandir}/man8/httpd.8*
+%{_mandir}/man8/logresolve.8*
+%{_mandir}/man8/rotatelogs.8*
-%attr(750,root,root) %dir /var/log/httpd
-%attr(750,root,root) %dir /var/log/archiv/httpd
-%attr(640,root,root) %ghost /var/log/httpd/*
+%attr(750,root,logs) %dir /var/log/httpd
+%attr(750,root,logs) %dir /var/log/archiv/httpd
+%attr(640,root,logs) %ghost /var/log/httpd/*
%dir %{_datadir}
%attr(755,root,root) %{_datadir}/cgi-bin
%{_datadir}/error
-%dir %{_datadir}/manual
%files doc
+%defattr(644,root,root,755)
+%dir %{_datadir}/manual
%{_datadir}/manual/LICENSE
-%{_datadir}/manual/*.xml
%{_datadir}/manual/*.html.en
-%lang(ja) %{_datadir}/manual/*.html.ja.jis
-%lang(ja) %{_datadir}/manual/*.xml.ja
-%lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
%lang(de) %{_datadir}/manual/*.html.de
+%lang(es) %{_datadir}/manual/*.html.es
%lang(fr) %{_datadir}/manual/*.html.fr
-%{_datadir}/manual/developer
-%{_datadir}/manual/faq
+%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
-%doc %{_datadir}/manual/howto/*.en
-%lang(ja) %{_datadir}/manual/howto/*.ja.jis
+%{_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/[achips]*
-%{_datadir}/manual/misc
+%{_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/[cdfhipw]*.html.en
-%{_datadir}/manual/mod/[acd]*.xml
-%lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
-%lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
-%lang(ja) %{_datadir}/manual/mod/index.xml.ja
-%{_datadir}/manual/mod/index.xml
-%{_datadir}/manual/mod/mpm*.html.en
+%{_datadir}/manual/mod/[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(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*
%{_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
+%{_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
-%{_datadir}/manual/platform
-%{_datadir}/manual/programs
-%{_datadir}/manual/style
+%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
%{_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
%{_datadir}/manual/mod/mod_cgid.html.en
+%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(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
%{_datadir}/manual/mod/mod_imap.html.en
%{_datadir}/manual/mod/mod_info.html.en
+%lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
%{_datadir}/manual/mod/mod_proxy*.html.en
%{_datadir}/manual/mod/mod_rewrite.html.en
%{_datadir}/manual/images/mod_rewrite*
-%{_datadir}/manual/ssl
+%dir %{_datadir}/manual/ssl
+%{_datadir}/manual/ssl/*.gif
+%{_datadir}/manual/ssl/*.png
+%{_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(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
-%{_datadir}/manual/vhosts
+%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 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 size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
+%{_mandir}/man8/suexec.8*
%files index
%defattr(644,root,root,755)
%{_datadir}/html/*.gif
%{_datadir}/html/*.png
+%files apxs
+%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
-%attr(755,root,root) %dir %{_libexecdir}/build
-%attr(644,root,root) %{_libexecdir}/build/*.mk
+%{_libexecdir}/build/[lprs]*.mk
%attr(755,root,root) %{_libexecdir}/build/*.sh
%attr(755,root,root) %{_libexecdir}/build/libtool
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
%attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
+%files mod_autoindex
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
+%attr(755,root,root) %{_libexecdir}/mod_autoindex.so
+
%files mod_cache
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
%attr(755,root,root) %{_libexecdir}/mod_proxy*.so
-%attr(770,root,http) /var/cache/apache
%files mod_rewrite
%defattr(644,root,root,755)