]> git.pld-linux.org Git - packages/apache1-mod_auth_ldap.git/blob - apache1-mod_auth_ldap.spec
b4f559d7c56fd62eab715da1308794763c9fe8b2
[packages/apache1-mod_auth_ldap.git] / apache1-mod_auth_ldap.spec
1 Summary:        This is a LDAP authentication module for Apache
2 Summary(pl):    Modu³ autentyfikacyjny dla Apache
3 Summary(pt_BR): Este módulo provê autenticação LDAP para o Apache
4 Summary(es):    Este módulo proporciona autenticación LDAP para Apache
5 Name:           apache-mod_auth_ldap
6 Version:        1.6.0
7 Release:        1
8 License:        GPL
9 Group:          Networking/Daemons
10 Group(de):      Netzwerkwesen/Server
11 Group(pl):      Sieciowe/Serwery
12 Source0:        http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz
13 Patch0:         %{name}-makefile.patch
14 BuildRequires:  apache
15 BuildRequires:  apache-devel
16 BuildRequires:  openldap-devel
17 URL:            http://www.rudedog.org/auth_ldap/
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _libexecdir     %{_prefix}/lib/apache
21
22
23 %description
24 This is an authentication module for Apache that allows you to
25 authenticate HTTP clients using user entries in an LDAP directory.
26
27 %description -l pl
28 W pakiecie znajduje siê modu³ do Apache, który pozwala na autentyfikacjê
29 klientów HTTP przy u¿yciu LDAP.
30
31 %description -l pt_BR
32 Este módulo permite que você autentique clientes HTTP usando o diretório
33 LDAP.
34
35 %description -l es
36 Este módulo permite autenticar clientes HTTP usando el directorio
37 LDAP.
38
39 %prep 
40 %setup -q -n auth_ldap-%{version}
41 %patch0 -p1
42
43 %build
44 autoconf
45 %configure \
46         --with-apxs=/usr/sbin/apxs \
47         --with-ldap-sdk=openldap \
48         --without-ssl
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
56
57 gzip -9nf PROBLEMS
58
59 %post
60 %{_sbindir}/apxs -e -a -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
61
62 %preun
63 if [ "$1" = "0" ]; then
64         %{_sbindir}/apxs -e -A -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
65 fi
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc *.html *.gz
73 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
This page took 0.084169 seconds and 3 git commands to generate.