]> git.pld-linux.org Git - packages/mutt.git/commitdiff
- bcond for nntp
authorggodlewski <ggodlewski@pld-linux.org>
Fri, 22 Nov 2002 11:47:46 +0000 (11:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mutt.spec -> 1.130

mutt.spec

index e571a46be72367b53e4e4907ec3dee5a0706bb9b..e4b34201fd5c68ab62bd38268a4bf920b03909a8 100644 (file)
--- 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 \
This page took 0.342096 seconds and 4 git commands to generate.