]> git.pld-linux.org Git - packages/apache-mod_auth_any.git/blobdiff - apache-mod_auth_any.spec
- fix config dir
[packages/apache-mod_auth_any.git] / apache-mod_auth_any.spec
index 0a3698a5a054f2e425e49d4ab711ac47cb7eefac..193a8e313ccba5c680c3a2dd1a13f1707d61264f 100644 (file)
@@ -1,22 +1,22 @@
 %define        mod_name        auth_any
 %define apxs           /usr/sbin/apxs
 Summary:       Basic authentication for the Apache Web server using arbitrary shell commands
-Summary(cs.UTF-8):   Základní autentizace pro WWW server Apache pomocí shellových příkazů
-Summary(da.UTF-8):   En autenticeringsmodul for webtjeneren Apache hvor man kan bruge vilkårlige skal-kommandoer
-Summary(de.UTF-8):   Authentifizierung für den Apache Web-Server, der arbiträre Shell-Befehle verwendet
-Summary(fr.UTF-8):   Authentification de base pour le serveur Web Apache utilisant des commandes shell arbitraires
-Summary(it.UTF-8):   Autenticazione di base per il server Web Apache mediante comandi arbitrari della shell
-Summary(nb.UTF-8):   En autentiseringsmodul for webtjeneren Apache der en kan bruke skall-kommandoer
-Summary(pl.UTF-8):   Podstawowy moduł uwierzytelnienia dla Apache, używający poleceń powłoki
-Summary(pt.UTF-8):   Um módulo de autenticação de LDAP para o servidor Web Apache
-Summary(sl.UTF-8):   Osnovna avtentikacija za spletni strežnik Apache, z uporabo poljubnih lupinskih ukazov
-Summary(sv.UTF-8):   Grundläggande autentisering för webbservern Apache med valfria skalkommandon
+Summary(cs.UTF-8):     Základní autentizace pro WWW server Apache pomocí shellových příkazů
+Summary(da.UTF-8):     En autenticeringsmodul for webtjeneren Apache hvor man kan bruge vilkårlige skal-kommandoer
+Summary(de.UTF-8):     Authentifizierung für den Apache Web-Server, der arbiträre Shell-Befehle verwendet
+Summary(fr.UTF-8):     Authentification de base pour le serveur Web Apache utilisant des commandes shell arbitraires
+Summary(it.UTF-8):     Autenticazione di base per il server Web Apache mediante comandi arbitrari della shell
+Summary(nb.UTF-8):     En autentiseringsmodul for webtjeneren Apache der en kan bruke skall-kommandoer
+Summary(pl.UTF-8):     Podstawowy moduł uwierzytelnienia dla Apache, używający poleceń powłoki
+Summary(pt.UTF-8):     Um módulo de autenticação de LDAP para o servidor Web Apache
+Summary(sl.UTF-8):     Osnovna avtentikacija za spletni strežnik Apache, z uporabo poljubnih lupinskih ukazov
+Summary(sv.UTF-8):     Grundläggande autentisering för webbservern Apache med valfria skalkommandon
 Name:          apache-mod_%{mod_name}
 Version:       1.6
 Release:       0.rc1.1
 Epoch:         1
 License:       BSD
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Source0:       http://www.itlab.musc.edu/webNIS/dist/mod_%{mod_name}-%{version}-rc1.tar.gz
 # Source0-md5: 76a105e42fb82947c2c4243975a1b7f9
 Patch0:                %{name}-conf.patch
@@ -28,7 +28,7 @@ Requires:     apache(modules-api) = %apache_modules_api
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
-%define                _sysconfdir     %(%{apxs} -q SYSCONFDIR 2>/dev/null)
+%define                _sysconfdir     %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
 
 %description
 This module allows you to use any command line program (such as
@@ -78,15 +78,16 @@ godtyckligt angivet kommando.
 %patch0 -p1
 
 %build
-%{__make} APXS2=/usr/sbin/apxs
+%{__make} \
+       APXS2=/usr/sbin/apxs
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}}
 
-install src/.libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+install -p src/.libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 echo 'LoadModule %{mod_name}_module modules/mod_%{mod_name}.so' > \
-       $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/90_mod_%{mod_name}.conf
+       $RPM_BUILD_ROOT%{_sysconfdir}/90_mod_%{mod_name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -102,5 +103,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc docs/* TODO
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*.so
This page took 0.069206 seconds and 4 git commands to generate.