From cd7f3b746e447a7de159bfb9a2c0d23b3c22fd6c Mon Sep 17 00:00:00 2001 From: cieciwa Date: Wed, 8 Oct 2003 11:26:24 +0000 Subject: [PATCH] - added some bcond Changed files: balsa.spec -> 1.107 --- balsa.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/balsa.spec b/balsa.spec index 331386c..70f4c8b 100644 --- a/balsa.spec +++ b/balsa.spec @@ -1,6 +1,9 @@ # # Conditional build: # --without ldap +# --without gpgme # experimental. +# --without esmtp +# --without gtkhtml %define snap 20030630 @@ -22,11 +25,11 @@ Patch1: %{name}-desktop.patch URL: http://balsa.gnome.org/ BuildRequires: autoconf BuildRequires: automake -BuildRequires: libesmtp-devel +%{!?_without_esmtp:BuildRequires: libesmtp-devel} BuildRequires: libgnomeprintui-devel >= 1.106.0 -BuildRequires: gpgme-devel >= 0.3.14 +%{!?_without_gpgme:BuildRequires: gpgme-devel >= 0.3.14} BuildRequires: gtk+2-devel >= 2.2.0 -BuildRequires: libgtkhtml-devel +%{!?_without_gtkhtml:BuildRequires: libgtkhtml-devel} BuildRequires: libgnome-devel BuildRequires: libgnomeui-devel >= 2.3.3.1-2 %{!?_without_ldap:BuildRequires: openldap-devel} @@ -65,7 +68,10 @@ Suporta caixas de correio locais, POP3 a IMAP. #./autogen.sh %configure \ --with-ssl \ - --with-gpgme \ + %{?_without_esmtp:--without-esmtp} \ + %{!?_without_gtkhtml:--enable-gtkhtml} \ + %{?_without_gtkhtml:--disable-gtkhtml}\ + %{?_without_gpgme:--without-gpgme} \ %{!?_without_ldap:--with-ldap} \ %{?_without_ldap:--without-ldap} -- 2.44.0