]> git.pld-linux.org Git - packages/apache1-mod_auth_ldap.git/blob - apache1-mod_auth_ldap.spec
c0e72e94bf4a9373e2001cf749f21f0b197a78f6
[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³ autentyfikacyjny 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:  apache(EAPI)-devel
16 BuildRequires:  openldap-devel
17 Prereq:         apache(EAPI)
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _libexecdir     %{_prefix}/lib/apache
21
22 %description
23 This is an authentication module for Apache that allows you to
24 authenticate HTTP clients using user entries in an LDAP directory.
25
26 %description -l es
27 Este módulo permite autenticar clientes HTTP usando el directorio
28 LDAP.
29
30 %description -l pl
31 W pakiecie znajduje siê modu³ do Apache, który pozwala na
32 autentyfikacjê klientów HTTP przy u¿yciu LDAP.
33
34 %description -l pt_BR
35 Este módulo permite que você autentique clientes HTTP usando o
36 diretório LDAP.
37
38 %prep 
39 %setup -q -n auth_ldap-%{version}
40 %patch0 -p1
41
42 %build
43 autoconf
44 %configure \
45         --with-apxs=/usr/sbin/apxs \
46         --with-ldap-sdk=openldap \
47         --without-ssl
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install DESTDIR=$RPM_BUILD_ROOT
55
56 gzip -9nf PROBLEMS
57
58 %post
59 /usr/sbin/apxs -e -a -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
60
61 %preun
62 if [ "$1" = "0" ]; then
63         /usr/sbin/apxs -e -A -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
64 fi
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc *.html *.gz
72 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
This page took 0.054017 seconds and 2 git commands to generate.