]> git.pld-linux.org Git - packages/apache1-mod_auth_ldap.git/blob - apache1-mod_auth_ldap.spec
- BuildRequires: autoconf
[packages/apache1-mod_auth_ldap.git] / apache1-mod_auth_ldap.spec
1 Summary:        This is a LDAP authentication module for Apache
2 Summary(es):    Este módulo proporciona autenticación LDAP para Apache
3 Summary(pl):    Modu³ autentykacji LDAP dla Apache
4 Summary(pt_BR): Este módulo provê autenticação LDAP para o 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 URL:            http://www.rudedog.org/auth_ldap/
15 BuildRequires:  autoconf
16 BuildRequires:  apache(EAPI)-devel
17 BuildRequires:  openldap-devel
18 Prereq:         apache(EAPI)
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _libexecdir     %{_prefix}/lib/apache
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 es
28 Este módulo permite autenticar clientes HTTP usando el directorio
29 LDAP.
30
31 %description -l pl
32 W pakiecie znajduje siê modu³ do Apache, który pozwala na
33 autentykacjê klientów HTTP przy u¿yciu LDAP.
34
35 %description -l pt_BR
36 Este módulo permite que você autentique clientes HTTP usando o
37 diretório 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 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 /usr/sbin/apxs -e -a -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
64
65 %preun
66 if [ "$1" = "0" ]; then
67         /usr/sbin/apxs -e -A -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
68 fi
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.058567 seconds and 3 git commands to generate.