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