]> git.pld-linux.org Git - packages/apache1-mod_auth_ldap.git/blob - apache1-mod_auth_ldap.spec
- next part of locale names update for glibc 2.3.3: s/no/nb/ in rpm headers
[packages/apache1-mod_auth_ldap.git] / apache1-mod_auth_ldap.spec
1 %define         apxs    /usr/sbin/apxs
2 Summary:        This is a LDAP authentication module for Apache
3 Summary(cs):    Autentizaèní modul LDAP pro WWW server Apache
4 Summary(da):    En LDAP-autenticeringsmodul for Apache
5 Summary(de):    Ein LDAP Authentifizierungsmodul für Apache
6 Summary(es):    Este módulo proporciona autenticación LDAP para Apache
7 Summary(fr):    Module d'authentification LDAP pour Apache
8 Summary(id):    Module LDAP authentication untuk Apache
9 Summary(it):    Modulo di autenticazione LDPA per Apache
10 Summary(ja):    Apache ÍѤΠLDAP Ç§¾Ú¥â¥¸¥å¡¼¥ë
11 Summary(nb):    En LDAP-autentiseringsmodul for Apache
12 Summary(pl):    Modu³ autentykacji LDAP dla Apache
13 Summary(pt):    Um módulo de autenticação de LDAP para o Apache
14 Summary(pt_BR): Este módulo provê autenticação LDAP para o Apache
15 Summary(ru):    áÕÔÅÎÔÉÆÉËÁÃÉÏÎÎÙÊ ÍÏÄÕÌØ LDAP ÄÌÑ ÓÅÒ×ÅÒÁ Apache
16 Summary(sl):    Avtentikacijski modul LDAP za Apache
17 Summary(sv):    En LDAP autentiseringsmodul för Apache
18 Summary(zh_CN): ÕâÊÇÓÃÓÚ Apache µÄ LDAP Ñé֤ģ¿é
19 Name:           apache-mod_auth_ldap
20 Version:        1.6.0
21 Release:        8
22 License:        BSD
23 Group:          Networking/Daemons
24 Source0:        http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz
25 # Source0-md5:  ff7de9027fe8852facd27be93462c5cc
26 Patch0:         %{name}-makefile.patch
27 URL:            http://www.rudedog.org/auth_ldap/
28 BuildRequires:  autoconf
29 BuildRequires:  apache(EAPI)-devel
30 BuildRequires:  openldap-devel
31 BuildRequires:  %{apxs}
32 PreReq:         apache(EAPI)
33 PreReq:         apache-mod_auth
34 Requires(post,preun):   %{apxs}
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %define         _libexecdir     %{_prefix}/lib/apache
38
39 %description
40 This is an authentication module for Apache that allows you to
41 authenticate HTTP clients using user entries in an LDAP directory.
42
43 %description -l cs
44 Balíèek obsahuje autentizaèní modul pro WWW server Apache, který
45 umo¾òuje autentizovat HTTP klienty proti polo¾kám v adresáøové slu¾bì
46 LDAP.
47
48 %description -l da
49 Denne pakke indeholder en autenticeringsmodul for webtjeneren Apache -
50 med auth_ldap installeret kan HTTP-klienter autenticeres mod
51 brugerinformation i et LDAP-katalog.
52
53 %description -l de
54 Dieses Paket enthält ein Authentifizierungs-Modul für den Apache
55 Webserver, das Ihnen ermöglicht, HTTP-Clients mit Hilfe von
56 Benutzereinträgen in einem LDAP-Verzeichniss zu authentifizieren.
57
58 %description -l es
59 Este paquete contiene un módulo de autenticación para el servidor
60 Apache web que le permite autenticar clientes HTTP usando entradas de
61 usuario en un directorio LDAP.
62
63 %description -l fr
64 Ce paquetage contient un module d'authentification pour le serveur Web
65 Apache, qui vous permet d'authentifier les clients HTTP en utilisant
66 les entrées utilisateur dans un répertoire LDAP.
67
68 %description -l id
69 Ini adalah authentication module untuk Apache yang memungkinkan anda
70 melakukan otentikasi HTTP client menggunakan user entry di dalam LADP
71 directory.
72
73 %description -l it
74 Questo pacchetto contiene un modulo di autenticazione per il Web
75 server Apache che consente di autenticare i client HTTP tramite gli
76 inserimenti utente in una directory LDPA.
77
78 %description -l ja
79 ¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï Apache Web ¥µ¡¼¥Ð¡¼¤Ç LDAP ¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥æ¡¼¥¶¡¼
80 ¥¨¥ó¥È¥ê¤ò»È¤Ã¤¿ HTTP ¥¯¥é¥¤¥¢¥ó¥È¤Îǧ¾Ú¤ò²Äǽ¤Ë¤¹¤ë¤¿¤á¤Îǧ¾Ú
81 ¥â¥¸¥å¡¼¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
82
83 %description -l nb
84 Denne pakken inneholder en autentiseringsmodul for webtjeneren Apache
85 - med auth_ldap installert kan HTTP-klienter autentiseres mot
86 brukerinformasjon i en LDAP-katalog.
87
88 %description -l pl
89 W pakiecie znajduje siê modu³ do Apache, który pozwala na autentykacjê
90 klientów HTTP przy u¿yciu LDAP.
91
92 %description -l pt
93 Este pacote contém um módulo de autenticação para o servidor Web
94 Apache que lhe permite autenticar os clientes HTTP usando registos de
95 utilizadores numa directoria LDAP.
96
97 %description -l pt_BR
98 Este módulo permite que você autentique clientes HTTP usando o
99 diretório LDAP.
100
101 %description -l ru
102 üÔÏ ÍÏÄÕÌØ ÁÕÔÅÎÔÉÆÉËÁÃÉÉ ÄÌÑ Apache, ÐÏÚ×ÏÌÑÀÝÉÊ ÉÄÅÎÔÉÆÉÃÉÒÏ×ÁÔØ
103 HTTP-ËÌÉÅÎÔÏ× ÎÁ ÏÓÎÏ×Å ÚÁÐÉÓÅÊ ÐÏÌØÚÏ×ÁÔÅÌÑ × ËÁÔÁÌÏÇÅ LDAP.
104
105 %description -l sv
106 Detta paket innehåller en autenticeringsmodul för webbservern Apache
107 som låter dig autenticera HTTP-klienter med använderposter i en
108 LDAP-katalog.
109
110 %description -l zh_CN
111 ÕâÊÇÓÃÓÚ Apache µÄÑé֤ģ¿é£¬ËüÔÊÐíÄúʹÓàLDAP Ä¿Â¼ÖеÄÓû§ÏîÑéÖ¤ HTTP
112 ¿Í»§»ú¡£
113
114 %prep
115 %setup -q -n auth_ldap-%{version}
116 %patch0 -p1
117 mv -f auth_ldap.c mod_auth_ldap.c
118
119 %build
120 %{__autoconf}
121 %configure \
122         --with-apxs=%{apxs} \
123         --with-ldap-sdk=openldap \
124         --without-ssl
125
126 %{__make}
127
128 %install
129 rm -rf $RPM_BUILD_ROOT
130
131 %{__make} install \
132         DESTDIR=$RPM_BUILD_ROOT
133
134 %clean
135 rm -rf $RPM_BUILD_ROOT
136
137 %post
138 %{apxs} -e -a -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
139 if [ -f /var/lock/subsys/httpd ]; then
140         /etc/rc.d/init.d/httpd restart 1>&2
141 fi
142
143 %preun
144 if [ "$1" = "0" ]; then
145         %{apxs} -e -A -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
146         if [ -f /var/lock/subsys/httpd ]; then
147                 /etc/rc.d/init.d/httpd restart 1>&2
148         fi
149 fi
150
151 %files
152 %defattr(644,root,root,755)
153 %doc *.html PROBLEMS
154 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
This page took 0.105984 seconds and 3 git commands to generate.