--- gnupg.spec.orig 2004-02-27 21:52:02 +0300 +++ gnupg.spec.orig 2004-07-26 18:17:44 +0400 @@ -1,12 +1,14 @@ Name: gnupg Version: 1.2.4 -Release: alt2 +Release: alt3 Summary: The GNU Privacy Guard License: GPL Group: File tools Url: http://www.gnupg.org/ +%def_with ldap + Source: ftp://ftp.gnupg.org/GnuPG/%name/%name-%version.tar.bz2 Source1: pgp2gnupg.html @@ -23,12 +25,16 @@ Requires(post): %install_info Requires(preun): %uninstall_info -BuildPreReq: bzlib-devel cvs docbook-utils libldap-devel zlib-devel +BuildPreReq: bzlib-devel cvs docbook-utils zlib-devel + +%if_with ldap +BuildPreReq: libldap-devel %package ldap Group: File tools Summary: The LDAP keyserver interface for the GNU Privacy Guard Requires: %name = %version-%release +%endif %description GnuPG is GNU's tool for secure communication and data storage. @@ -47,9 +53,11 @@ Symmetric algorithms are: AES, 3DES, Blowfish, CAST5 and Twofish. Digest algorithms available are MD5, RIPEMD160 and SHA1. +%if_with ldap %description ldap This package contains the LDAP keyserver interface for the GNU Privacy Guard. +%endif %prep %setup -q @@ -96,7 +104,9 @@ %files -f %name.lang %_bindir/* %_libexecdir/%name +%if_with ldap %exclude %_libexecdir/%name/*ldap* +%endif %dir %_sysconfdir/%name %config(noreplace) %_sysconfdir/%name/options.skel %_infodir/*.info* @@ -105,11 +115,16 @@ %doc doc/{DETAILS,FAQ,HACKING,OpenPGP,*.html,samplekeys.asc} %doc tools/convert-from-106 +%if_with ldap %files ldap %dir %_libexecdir/%name %_libexecdir/%name/*ldap* +%endif %changelog +* Mon Jul 26 2004 Kachalov Anton 1.2.4-alt3 +- Configuring GnuPG with ot without LDAP keyserver interface + * Fri Feb 27 2004 Dmitry V. Levin 1.2.4-alt2 - Fixed build with fresh autotools.