]> git.pld-linux.org Git - packages/apache1-mod_auth_ldap.git/blobdiff - apache1-mod_auth_ldap.spec
- BR s@%{apxs}@apache1-apxs@g
[packages/apache1-mod_auth_ldap.git] / apache1-mod_auth_ldap.spec
index 28446b3f27ce8b5a973efcf016851ba610cb3876..09a4d37839e923cacc02f3eab8df58949061e5f7 100644 (file)
@@ -1,39 +1,40 @@
 %define        mod_name        auth_ldap
 %define apxs   /usr/sbin/apxs1
 Summary:       This is a LDAP authentication module for Apache
 %define        mod_name        auth_ldap
 %define apxs   /usr/sbin/apxs1
 Summary:       This is a LDAP authentication module for Apache
-Summary(cs):   Autentizaèní modul LDAP pro WWW server Apache
-Summary(da):   En LDAP-autenticeringsmodul for Apache
-Summary(de):   Ein LDAP Authentifizierungsmodul für Apache
-Summary(es):   Este módulo proporciona autenticación LDAP para Apache
-Summary(fr):   Module d'authentification LDAP pour Apache
-Summary(id):   Module LDAP authentication untuk Apache
-Summary(it):   Modulo di autenticazione LDPA per Apache
-Summary(ja):   Apache ÍѤΠLDAP Ç§¾Ú¥â¥¸¥å¡¼¥ë
-Summary(nb):   En LDAP-autentiseringsmodul for Apache
-Summary(pl):   Modu³ uwierzytelnienia LDAP dla Apache
-Summary(pt):   Um módulo de autenticação de LDAP para o Apache
-Summary(pt_BR):        Este módulo provê autenticação LDAP para o Apache
-Summary(ru):   áÕÔÅÎÔÉÆÉËÁÃÉÏÎÎÙÊ ÍÏÄÕÌØ LDAP ÄÌÑ ÓÅÒ×ÅÒÁ Apache
-Summary(sl):   Avtentikacijski modul LDAP za Apache
-Summary(sv):   En LDAP autentiseringsmodul för Apache
-Summary(zh_CN):        ÕâÊÇÓÃÓÚ Apache µÄ LDAP Ñé֤ģ¿é
+Summary(cs.UTF-8):     Autentizační modul LDAP pro WWW server Apache
+Summary(da.UTF-8):     En LDAP-autenticeringsmodul for Apache
+Summary(de.UTF-8):     Ein LDAP Authentifizierungsmodul für Apache
+Summary(es.UTF-8):     Este módulo proporciona autenticación LDAP para Apache
+Summary(fr.UTF-8):     Module d'authentification LDAP pour Apache
+Summary(id.UTF-8):     Module LDAP authentication untuk Apache
+Summary(it.UTF-8):     Modulo di autenticazione LDPA per Apache
+Summary(ja.UTF-8):     Apache 用の LDAP 認証モジュール
+Summary(nb.UTF-8):     En LDAP-autentiseringsmodul for Apache
+Summary(pl.UTF-8):     Moduł uwierzytelnienia LDAP dla Apache
+Summary(pt.UTF-8):     Um módulo de autenticação de LDAP para o Apache
+Summary(pt_BR.UTF-8):  Este módulo provê autenticação LDAP para o Apache
+Summary(ru.UTF-8):     Аутентификационный модуль LDAP для сервера Apache
+Summary(sl.UTF-8):     Avtentikacijski modul LDAP za Apache
+Summary(sv.UTF-8):     En LDAP autentiseringsmodul för Apache
+Summary(zh_CN.UTF-8):  这是用于 Apache 的 LDAP 验证模块
 Name:          apache1-mod_%{mod_name}
 Version:       1.6.0
 Name:          apache1-mod_%{mod_name}
 Version:       1.6.0
-Release:       2
+Release:       4
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz
 # Source0-md5: ff7de9027fe8852facd27be93462c5cc
 Patch0:                %{name}-makefile.patch
 URL:           http://www.rudedog.org/auth_ldap/
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz
 # Source0-md5: ff7de9027fe8852facd27be93462c5cc
 Patch0:                %{name}-makefile.patch
 URL:           http://www.rudedog.org/auth_ldap/
-BuildRequires: autoconf
+BuildRequires: apache1-apxs
 BuildRequires: apache1-devel >= 1.3.33-2
 BuildRequires: apache1-devel >= 1.3.33-2
-BuildRequires: openldap-devel
-BuildRequires: %{apxs}
-PreReq:                apache1 >= 1.3.33-2
-PreReq:                apache1-mod_auth
+BuildRequires: autoconf
+BuildRequires: openldap-devel >= 2.3.0
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires(triggerpostun):       %{apxs}
 Requires(triggerpostun):       %{apxs}
-Obsoletes:     apache-mod_%{mod_name} <= %{version}
+Requires:      apache1(EAPI)
+Requires:      apache1-mod_auth
+Obsoletes:     apache-mod_auth_ldap <= 1.6.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
@@ -43,76 +44,76 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This is an authentication module for Apache that allows you to
 authenticate HTTP clients using user entries in an LDAP directory.
 
 This is an authentication module for Apache that allows you to
 authenticate HTTP clients using user entries in an LDAP directory.
 
-%description -l cs
-Balíèek obsahuje autentizaèní modul pro WWW server Apache, který
-umo¾òuje autentizovat HTTP klienty proti polo¾kám v adresáøové slu¾bì
+%description -l cs.UTF-8
+Balíček obsahuje autentizační modul pro WWW server Apache, který
+umožňuje autentizovat HTTP klienty proti položkám v adresářové službě
 LDAP.
 
 LDAP.
 
-%description -l da
+%description -l da.UTF-8
 Denne pakke indeholder en autenticeringsmodul for webtjeneren Apache -
 med auth_ldap installeret kan HTTP-klienter autenticeres mod
 brugerinformation i et LDAP-katalog.
 
 Denne pakke indeholder en autenticeringsmodul for webtjeneren Apache -
 med auth_ldap installeret kan HTTP-klienter autenticeres mod
 brugerinformation i et LDAP-katalog.
 
-%description -l de
-Dieses Paket enthält ein Authentifizierungs-Modul für den Apache
-Webserver, das Ihnen ermöglicht, HTTP-Clients mit Hilfe von
-Benutzereinträgen in einem LDAP-Verzeichniss zu authentifizieren.
+%description -l de.UTF-8
+Dieses Paket enthält ein Authentifizierungs-Modul für den Apache
+Webserver, das Ihnen ermöglicht, HTTP-Clients mit Hilfe von
+Benutzereinträgen in einem LDAP-Verzeichniss zu authentifizieren.
 
 
-%description -l es
-Este paquete contiene un módulo de autenticación para el servidor
+%description -l es.UTF-8
+Este paquete contiene un módulo de autenticación para el servidor
 Apache web que le permite autenticar clientes HTTP usando entradas de
 usuario en un directorio LDAP.
 
 Apache web que le permite autenticar clientes HTTP usando entradas de
 usuario en un directorio LDAP.
 
-%description -l fr
+%description -l fr.UTF-8
 Ce paquetage contient un module d'authentification pour le serveur Web
 Apache, qui vous permet d'authentifier les clients HTTP en utilisant
 Ce paquetage contient un module d'authentification pour le serveur Web
 Apache, qui vous permet d'authentifier les clients HTTP en utilisant
-les entrées utilisateur dans un répertoire LDAP.
+les entrées utilisateur dans un répertoire LDAP.
 
 
-%description -l id
+%description -l id.UTF-8
 Ini adalah authentication module untuk Apache yang memungkinkan anda
 melakukan otentikasi HTTP client menggunakan user entry di dalam LADP
 directory.
 
 Ini adalah authentication module untuk Apache yang memungkinkan anda
 melakukan otentikasi HTTP client menggunakan user entry di dalam LADP
 directory.
 
-%description -l it
+%description -l it.UTF-8
 Questo pacchetto contiene un modulo di autenticazione per il Web
 server Apache che consente di autenticare i client HTTP tramite gli
 inserimenti utente in una directory LDPA.
 
 Questo pacchetto contiene un modulo di autenticazione per il Web
 server Apache che consente di autenticare i client HTTP tramite gli
 inserimenti utente in una directory LDPA.
 
-%description -l ja
-¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï Apache Web ¥µ¡¼¥Ð¡¼¤Ç LDAP ¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥æ¡¼¥¶¡¼
-¥¨¥ó¥È¥ê¤ò»È¤Ã¤¿ HTTP ¥¯¥é¥¤¥¢¥ó¥È¤Îǧ¾Ú¤ò²Äǽ¤Ë¤¹¤ë¤¿¤á¤Îǧ¾Ú
-¥â¥¸¥å¡¼¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
+%description -l ja.UTF-8
+ã\81\93ã\81®ã\83\91ã\83\83ã\82±ã\83¼ã\82¸ã\81«ã\81¯ Apache Web ã\82µã\83¼ã\83\90ã\83¼ã\81§ LDAP ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªå\86\85ã\81®ã\83¦ã\83¼ã\82¶ã\83¼
+エントリを使った HTTP クライアントの認証を可能にするための認証
+モジュールが含まれています。
 
 
-%description -l nb
+%description -l nb.UTF-8
 Denne pakken inneholder en autentiseringsmodul for webtjeneren Apache
 - med auth_ldap installert kan HTTP-klienter autentiseres mot
 Denne pakken inneholder en autentiseringsmodul for webtjeneren Apache
 - med auth_ldap installert kan HTTP-klienter autentiseres mot
-brukerinformasjon i en LDAP-katalog.
+  brukerinformasjon i en LDAP-katalog.
 
 
-%description -l pl
-W pakiecie znajduje siê modu³ do Apache, który pozwala na
-uwierzytelnianie klientów HTTP przy u¿yciu LDAP.
+%description -l pl.UTF-8
+W pakiecie znajduje się moduł do Apache, który pozwala na
+uwierzytelnianie klientów HTTP przy użyciu LDAP.
 
 
-%description -l pt
-Este pacote contém um módulo de autenticação para o servidor Web
+%description -l pt.UTF-8
+Este pacote contém um módulo de autenticação para o servidor Web
 Apache que lhe permite autenticar os clientes HTTP usando registos de
 utilizadores numa directoria LDAP.
 
 Apache que lhe permite autenticar os clientes HTTP usando registos de
 utilizadores numa directoria LDAP.
 
-%description -l pt_BR
-Este módulo permite que você autentique clientes HTTP usando o
-diretório LDAP.
+%description -l pt_BR.UTF-8
+Este módulo permite que você autentique clientes HTTP usando o
+diretório LDAP.
 
 
-%description -l ru
-üÔÏ ÍÏÄÕÌØ ÁÕÔÅÎÔÉÆÉËÁÃÉÉ ÄÌÑ Apache, ÐÏÚ×ÏÌÑÀÝÉÊ ÉÄÅÎÔÉÆÉÃÉÒÏ×ÁÔØ
-HTTP-ËÌÉÅÎÔÏ× ÎÁ ÏÓÎÏ×Å ÚÁÐÉÓÅÊ ÐÏÌØÚÏ×ÁÔÅÌÑ × ËÁÔÁÌÏÇÅ LDAP.
+%description -l ru.UTF-8
+Это модуль аутентификации для Apache, позволяющий идентифицировать
+HTTP-клиентов на основе записей пользователя в каталоге LDAP.
 
 
-%description -l sv
-Detta paket innehåller en autenticeringsmodul för webbservern Apache
-som låter dig autenticera HTTP-klienter med använderposter i en
+%description -l sv.UTF-8
+Detta paket innehåller en autenticeringsmodul för webbservern Apache
+som låter dig autenticera HTTP-klienter med använderposter i en
 LDAP-katalog.
 
 LDAP-katalog.
 
-%description -l zh_CN
-ÕâÊÇÓÃÓÚ Apache µÄÑé֤ģ¿é£¬ËüÔÊÐíÄúʹÓàLDAP Ä¿Â¼ÖеÄÓû§ÏîÑéÖ¤ HTTP
-¿Í»§»ú¡£
+%description -l zh_CN.UTF-8
+这是用于 Apache 的验证模块,它允许您使用 LDAP 目录中的用户项验证 HTTP
+客户机。
 
 %prep
 %setup -q -n auth_ldap-%{version}
 
 %prep
 %setup -q -n auth_ldap-%{version}
@@ -141,15 +142,11 @@ echo 'LoadModule %{mod_name}_module       modules/mod_%{mod_name}.so' > \
 rm -rf $RPM_BUILD_ROOT
 
 %post
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-fi
+%service -q apache restart
 
 %postun
 if [ "$1" = "0" ]; then
 
 %postun
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
+       %service -q apache restart
 fi
 
 %triggerpostun -- apache1-mod_%{mod_name} < 1.6.0-1.1
 fi
 
 %triggerpostun -- apache1-mod_%{mod_name} < 1.6.0-1.1
@@ -161,5 +158,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc *.html PROBLEMS
 %files
 %defattr(644,root,root,755)
 %doc *.html PROBLEMS
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/mod_auth_ldap.so
 %attr(755,root,root) %{_pkglibdir}/mod_auth_ldap.so
This page took 0.125292 seconds and 4 git commands to generate.