]> git.pld-linux.org Git - packages/apache-mod_auth_kerb.git/blobdiff - apache-mod_auth_kerb.spec
- tabs in preamble
[packages/apache-mod_auth_kerb.git] / apache-mod_auth_kerb.spec
index 55b80047eb03ab1506db0a79ad47be38ffbd5773..45eca949f893abfbe0b7aa711012a41c87dd588e 100644 (file)
@@ -1,7 +1,7 @@
 %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
@@ -18,6 +18,7 @@ BuildRequires:        %{apxs}
 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)
@@ -29,9 +30,9 @@ 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}
@@ -53,15 +54,11 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/20_mod_%{mod_name}.c
 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
This page took 0.113147 seconds and 4 git commands to generate.