Summary(it): Interprete Perl integrato per il server Web Apache
Summary(ja): Apache Web ¥µ¡¼¥Ð¡¼ÍѤÎÁȹþ¤ß Perl ¥¤¥ó¥¿¡¼¥×¥ê¥¿
Summary(nb): En Perl-fortolker for webtjeneren Apache
-Summary(pl): Interpreter perla dla serwera WWW Apache
+Summary(pl): Interpreter Perla dla serwera WWW Apache
Summary(pt): Um interpretador de Perl embebido para o servidor Web Apache
Summary(ru): ÷ÓÔÒÏÅÎÎÙÊ ÉÎÔÅÒÐÒÅÔÁÔÏÒ Perl ÄÌÑ WWW-ÓÅÒ×ÅÒÁ Apache
Summary(sk): Interpreter jazyka Perl pre webový server Apache
Summary(uk): íÏÄÕÌØ ×ÂÕÄÏ×Õ×ÁÎÎÑ ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ Perl × ÓÅÒ×ÅÒ Apache
Summary(zh_CN): ÓÃÓÚ Apache web ·þÎñ³ÌÐòµÄ Perl ½âÊͳÌÐò¡£
Name: apache-mod_perl
-Version: 1.99_16
-Release: 1
+Version: 1.99_17
+Release: 4
Epoch: 1
License: Apache
Group: Networking/Daemons
#Source0: modperl-%{version}_%{snap}.tar.bz2
Source0: http://perl.apache.org/dist/mod_perl-%{version}.tar.gz
-# Source0-md5: 94da0f0301e127e8ef8cf77f7c11b1b4
+# Source0-md5: ffb9d5c825b93d91e6c3a8885f7d5296
Source1: %{name}.conf
Patch0: %{name}-Makefile_PL.patch
+Patch1: %{name}-pm_to_blib.patch
URL: http://perl.apache.org/
BuildRequires: apache-devel >= 2.0.0
BuildRequires: apr-util-devel >= 1:1.0.0
BuildRequires: expat-devel
BuildRequires: gdbm-devel
BuildRequires: openldap-devel
+# forced by pm_to_blib.patch
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.22
# These modules aren't needed?
#BuildRequires: perl-B-Graph
#BuildRequires: perl-BSD-Resource
#BuildRequires: perl-libwww
BuildRequires: rpm-perlprov >= 3.0.3-16
%requires_eq apache
-%requires_eq perl-base
+Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
Requires(post,preun): %{apxs}
# What's this for?
Provides: perl(mod_perl_hooks)
Provides: mod_perl
Provides: perl-Apache-Test
# bugs in rpm perl dependency finder?
-Provides: perl(Apache::FunctionTable)
-Provides: perl(Apache::StructureTable)
+Provides: perl(Apache::FunctionTable)
+Provides: perl(Apache::StructureTable)
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: mod_perl
Obsoletes: mod_perl-common
-%define _noautoreqdep 'perl(Apache::.*)' 'perl(mod_perl)'
+# TODO: separate -devel with ExtUtils::Embed and friends?
+%define _noautoreq 'perl(Apache::.*)' 'perl(mod_perl)' 'perl(ModPerl::.*)' 'perl(ExtUtils::Embed)'
%define _sysconfdir %(%{apxs} -q SYSCONFDIR)
%define _pkglibdir %(%{apxs} -q LIBEXECDIR)
%description -l pl
Mod_perl jest modu³em, który wyposa¿a serwer Apache w interpreter
-perla, umo¿liwiaj±c w ten sposób bezpo¶rednie wykonywanie kodu perla
+Perla, umo¿liwiaj±c w ten sposób bezpo¶rednie wykonywanie kodu Perla
przez serwer bez potrzeby anga¿owania zewnêtrznego interpretera, co
przyspiesza procesy zwi±zane z uruchamianiem skryptów CGI.
½Å±¾»Øת¹ý³Ì¸üΪ¿ìËÙ¡£
%prep
-%setup -q -n mod_perl-%{version}
-%patch0 -b .orig -p1
+%setup -q -n mod_perl-%{version}
+%patch0 -p1 -b .orig
+%patch1 -p1 -b .orig
%build
%{__perl} Makefile.PL \
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."
+ echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
fi
%preun
%attr(755,root,root) %{perl_vendorarch}/auto/*/*/*.so
%{perl_vendorarch}/auto/Apache/typemap
-# to -devel? directory ownership problem...
+# to -devel? directory ownership problem...
%{_includedir}/apache/*.h
-%{_mandir}/man?/[^B]*
+%{_mandir}/man?/[!B]*