%define mod_name auth_kerb
%define apxs /usr/sbin/apxs
Summary: This is the Kerberos authentication module for Apache
-Summary(pl): Modu³ uwierzytelnienia Kerberos dla Apache
+Summary(pl.UTF-8): Moduł uwierzytelnienia Kerberos dla Apache
Name: apache-mod_%{mod_name}
Version: 5.0
%define pre rc6
BuildRequires: apache-devel
BuildRequires: gdbm-devel
BuildRequires: heimdal-devel
+BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
Requires: apache(modules-api) = %apache_modules_api
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This is an authentication module for Apache that allows you to
authenticate HTTP clients using user entries in an Kerberos directory.
-%description -l pl
-To jest modu³ uwierzytelnienia dla Apache pozwalaj±cy na
-uwierzytelnianie klientów HTTP z u¿yciem wpisów w katalogu Kerberosa.
+%description -l pl.UTF-8
+To jest moduł uwierzytelnienia dla Apache pozwalający na
+uwierzytelnianie klientów HTTP z użyciem wpisów w katalogu Kerberosa.
%prep
%setup -q -n mod_%{mod_name}-%{version}-%{pre}
rm -rf $RPM_BUILD_ROOT
%post
-if [ -f /var/lock/subsys/httpd ]; then
- /etc/rc.d/init.d/httpd restart 1>&2
-fi
+%service -q httpd restart
-%preun
+%postun
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/httpd ]; then
- /etc/rc.d/init.d/httpd restart 1>&2
- fi
+ %service -q httpd restart
fi
%files