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