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