From e2930fe316a33cd9b08cce4166642b084f89ca4d Mon Sep 17 00:00:00 2001 From: ggodlewski Date: Fri, 22 Nov 2002 11:47:46 +0000 Subject: [PATCH] - bcond for nntp Changed files: mutt.spec -> 1.130 --- mutt.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mutt.spec b/mutt.spec index e571a46..e4b3420 100644 --- a/mutt.spec +++ b/mutt.spec @@ -1,5 +1,6 @@ # conditionals: # --with slang: use slang library instead of ncurses +# --with nntp: use VVV's NNTP patch Summary: The Mutt Mail User Agent Summary(de): Der Mutt Mail-User-Agent @@ -20,6 +21,7 @@ Source0: ftp://ftp.mutt.org/mutt/%{name}-%{version}i.tar.gz Source1: %{name}.desktop Source2: %{name}.png Source3: %{name}.1.pl +Source4: %{name}-nntp.config Patch0: %{name}-home_etc.patch Patch1: %{name}-forcedotlock.patch Patch2: %{name}-muttbug-tmp.patch @@ -122,7 +124,8 @@ Mutt - %patch15 -p1 %patch16 -p1 %patch17 -p0 -#%patch18 -p1 +%{?_with_nntp:%patch18 -p1} +%{?_with_nntp:cat %{SOURCE4} >> Muttrc.head.in} %build %{__gettextize} @@ -140,7 +143,7 @@ Mutt - --enable-mailtool \ --with-mixmaster \ --enable-pop \ - --enable-nntp \ + %{?_with_nntp:--enable-nntp} \ --with-regex \ %{!?_without_sasl:--with-sasl} %{?_without_sasl:--without-sasl} \ --with-ssl \ -- 2.44.0