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