rpms/mutt/devel mutt-1.5.13-manual.patch, NONE, 1.1 mutt-1.5.13-muttrc.patch, NONE, 1.1 mutt-1.5.13-nodotlock.patch, NONE, 1.1 .cvsignore, 1.11, 1.12 mutt.spec, 1.39, 1.40 sources, 1.11, 1.12 mutt-1.4-manual.patch, 1.1, NONE mutt-1.4-nosetgid.patch, 1.4, NONE mutt-1.4-sasl2.patch, 1.4, NONE mutt-1.4-saslauth.patch, 1.1, NONE mutt-1.4.1-muttrc.patch, 1.2, NONE mutt-1.4.1-plain.patch, 1.1, NONE mutt-1.4.1-rfc1734.patch, 1.1, NONE mutt-1.4.2.1-gcc4.patch, 1.2, NONE mutt-166718.patch, 1.1, NONE mutt-colors, 1.1, NONE mutt-default.patch, 1.1, NONE mutt-imapfcc.patch, 1.1, NONE mutt-safeopen.patch, 1.1, NONE mutt-sasl-log.patch, 1.1, NONE mutt-sasl.patch, 1.1, NONE urlview-0.9-ncursesw.patch, 1.1, NONE

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Feb 7 14:48:04 UTC 2007


Author: mlichvar

Update of /cvs/dist/rpms/mutt/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17392

Modified Files:
	.cvsignore mutt.spec sources 
Added Files:
	mutt-1.5.13-manual.patch mutt-1.5.13-muttrc.patch 
	mutt-1.5.13-nodotlock.patch 
Removed Files:
	mutt-1.4-manual.patch mutt-1.4-nosetgid.patch 
	mutt-1.4-sasl2.patch mutt-1.4-saslauth.patch 
	mutt-1.4.1-muttrc.patch mutt-1.4.1-plain.patch 
	mutt-1.4.1-rfc1734.patch mutt-1.4.2.1-gcc4.patch 
	mutt-166718.patch mutt-colors mutt-default.patch 
	mutt-imapfcc.patch mutt-safeopen.patch mutt-sasl-log.patch 
	mutt-sasl.patch urlview-0.9-ncursesw.patch 
Log Message:
- update to 1.5.13, and latest CVS (#168183, #220816)
- spec cleanup
Resolves: #168183, #220816


mutt-1.5.13-manual.patch:
 doc/manual.xml.head |    4 ++--
 init.h              |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE mutt-1.5.13-manual.patch ---
--- mutt-1.5.13/doc/manual.xml.head.manual	2007-02-07 14:05:47.000000000 +0100
+++ mutt-1.5.13/doc/manual.xml.head	2007-02-07 14:05:47.000000000 +0100
@@ -4886,7 +4886,7 @@
 <para>
 When you add an attachment to your mail message, Mutt searches your
 personal mime.types file at <literal>${HOME}/.mime.types</literal>, and then
-the system mime.types file at <literal>/usr/local/share/mutt/mime.types</literal> or
+the system mime.types file at <literal>/usr/share/mutt/mime.types</literal> or
 <literal>/etc/mime.types</literal>
 </para>
 
@@ -4943,7 +4943,7 @@
 is a colon delimited list set to
 
 <screen>
-${HOME}/.mailcap:/usr/local/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
+${HOME}/.mailcap:/usr/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
 </screen>
 
 where <literal>$HOME</literal> is your home directory.
--- mutt-1.5.13/init.h.manual	2007-02-07 14:05:47.000000000 +0100
+++ mutt-1.5.13/init.h	2007-02-07 14:05:47.000000000 +0100
@@ -82,7 +82,7 @@
 
 /* build complete documentation */
 
-#ifdef _MAKEDOC
+#if 0
 # ifndef USE_IMAP
 #  define USE_IMAP
 # endif

mutt-1.5.13-muttrc.patch:
 Muttrc.head.in |    2 ++
 1 files changed, 2 insertions(+)

--- NEW FILE mutt-1.5.13-muttrc.patch ---
--- mutt-1.5.13/Muttrc.head.in.muttrc	2005-10-04 17:05:34.000000000 +0200
+++ mutt-1.5.13/Muttrc.head.in	2006-07-14 22:45:26.000000000 +0200
@@ -15,6 +15,8 @@
 
 # Show documentation when pressing F1
 macro generic,pager <F1> "<shell-escape> less @docdir@/manual.txt<Enter>" "show Mutt documentation"
+# and also F2, as some terminals use F1
+macro generic,pager <F2> "<shell-escape> less @docdir@/manual.txt<Enter>" "show Mutt documentation"
 
 # show the incoming mailboxes list (just like "mutt -y") and back when pressing "y"
 macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list"

mutt-1.5.13-nodotlock.patch:
 configure |    1 +
 1 files changed, 1 insertion(+)

--- NEW FILE mutt-1.5.13-nodotlock.patch ---
--- mutt-1.5.13/configure.nodotlock	2007-02-06 15:14:03.000000000 +0100
+++ mutt-1.5.13/configure	2007-02-06 15:14:04.000000000 +0100
@@ -12300,6 +12300,7 @@
 {
         struct stat s;
 
+        return 1;
         stat ("$mutt_cv_mailpath", &s);
         if (s.st_mode & S_IWGRP) exit (0);
         exit (1);


Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/mutt/devel/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- .cvsignore	17 Jul 2006 15:25:24 -0000	1.11
+++ .cvsignore	7 Feb 2007 14:48:02 -0000	1.12
@@ -1,2 +1,3 @@
-mutt-1.4.2.2i.tar.gz
 urlview-0.9.tar.gz
+mutt-1.5.13.tar.gz
+mutt-1.5.13_20070126cvs.patch.bz2


Index: mutt.spec
===================================================================
RCS file: /cvs/dist/rpms/mutt/devel/mutt.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- mutt.spec	6 Dec 2006 17:13:45 -0000	1.39
+++ mutt.spec	7 Feb 2007 14:48:02 -0000	1.40
@@ -1,44 +1,26 @@
-Summary: A text mode mail user agent.
+Summary: A text mode mail user agent
 Name: mutt
-%define uversion 0.9
-Version: 1.4.2.2
-Release: 5%{?dist}
+Version: 1.5.13
+Release: 1.20070126cvs%{?dist}
 Epoch: 5
 License: GPL
 Group: Applications/Internet
-Source: ftp://ftp.mutt.org/pub/mutt/mutt-%{version}i.tar.gz
+Source: ftp://ftp.mutt.org/pub/mutt/devel/mutt-%{version}.tar.gz
+%define uversion 0.9
 Source2: ftp://ftp.mutt.org/pub/mutt/contrib/urlview-%{uversion}.tar.gz
 Source1: mutt_ldap_query
-Source3: mutt-colors
-Patch0: mutt-1.4-nosetgid.patch
-Patch1: mutt-default.patch
-Patch4: mutt-1.4.1-muttrc.patch
-Patch5: mutt-sasl.patch
-Patch8: mutt-1.4-sasl2.patch
-Patch10: urlview-0.9-default.patch
-Patch11: urlview.diff
-Patch12: urlview-0.9-ncursesw.patch
-Patch13: mutt-1.4.1-plain.patch
-Patch14: mutt-1.4.1-rfc1734.patch
-Patch15: mutt-1.4.2.1-gcc4.patch
-Patch20: mutt-166718.patch
-Patch21: mutt-sasl-log.patch
-Patch22: mutt-1.4-manual.patch
-Patch23: mutt-1.4-saslauth.patch
-Patch24: mutt-safeopen.patch
-Patch25: mutt-imapfcc.patch
+Patch1: mutt-1.5.13_20070126cvs.patch.bz2
+Patch2: mutt-1.5.13-nodotlock.patch
+Patch3: mutt-1.5.13-muttrc.patch
+Patch4: mutt-1.5.13-manual.patch
+Patch5: urlview-0.9-default.patch
+Patch6: urlview.diff
 Url: http://www.mutt.org/
 Requires: /usr/sbin/sendmail webclient mailcap
-Obsoletes: urlview
-Provides: urlview
-Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
-Conflicts: mutt-us
-Provides: mutt-i
-%{!?nossl:BuildPrereq: openssl-devel}
-%{!?nokerberos:BuildPrereq: krb5-devel}
-BuildPrereq: cyrus-sasl-devel
-BuildPrereq: /usr/sbin/sendmail
-BuildPrereq: ncurses-devel >= 5.3-5
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: /usr/sbin/sendmail
+BuildRequires: cyrus-sasl-devel db4-devel gnutls-devel krb5-devel ncurses-devel
+BuildRequires: gettext docbook-style-xsl libxslt lynx
 
 %description
 Mutt is a text-mode mail user agent. Mutt supports color, threading,
@@ -49,89 +31,66 @@
 you are going to use.
 
 %prep
-%setup -n mutt-%{version} -q -a 2
+%setup -q -a 2
+%patch1 -p1
 # Thou shalt use fcntl, and only fcntl
-%patch0 -p1 -b .nosetgid
-# Something to make default colors work right.
-# fixme: make sure this is still needed
-%patch1 -p1 -b .default
-# make it recognize https urls too
-%patch4 -p1 -b .https
-# fix auth to windows KDCs (#98662)
-%patch5 -p1 -b .sasl
-%patch8 -p1 -b .sasl2
-%patch10 -p0 -b .default
-%patch11 -p0 -b .build
-%patch12 -p0 -b .ncursesw
-%patch13 -p1 -b .plain
-%patch14 -p1 -b .rfc1734
-%patch15 -p1 -b .gcc4
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1 -b .manual
-%patch23 -p1 -b .saslauth
-%patch24 -p0 -b .safeopen
-%patch25 -p0 -b .imapfcc
+%patch2 -p1 -b .nodl
+%patch3 -p1 -b .muttrc
+%patch4 -p1 -b .manual
+%patch5 -p0 -b .default
+%patch6 -p0 -b .build
 
-install -m644 %{SOURCE1} mutt_ldap_query
+install -p -m644 %{SOURCE1} mutt_ldap_query
 
 %build
-export -n LINGUAS
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
-	--with-sharedir=/etc --sysconfdir=/etc \
-	--with-docdir=%{_docdir}/mutt-%{version} \
-	--with-mandir=%{_mandir} \
-	--with-infodir=%{_infodir} \
+%configure \
 	--enable-pop --enable-imap \
+	--with-gnutls \
+	--with-gss \
 	--with-sasl \
-%{!?nossl:--with-ssl} \
-%{!?nokerberos:--with-gss} \
-	--disable-warnings --with-ncursesw --disable-domain \
-	--disable-flock --enable-fcntl
-make
+	--enable-inodesort \
+	--enable-hcache \
+	--with-docdir=%{_docdir}/%{name}-%{version}
+make %{?_smp_mflags}
 
 cd urlview-%{uversion}
-%configure --with-ncursesw
-make
+%configure
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%makeinstall sharedir=$RPM_BUILD_ROOT/etc \
-  sysconfdir=$RPM_BUILD_ROOT/etc \
-  docdir=$RPM_BUILD_ROOT%{_docdir}/mutt-%{version} \
-  install
-
-sed 's/\x1b\[[0-9]*m//g' < doc/manual.txt | iconv -f iso-8859-1 -t utf-8 \
-  > doc/manual.txt_ && mv -f doc/manual.txt{_,}
+make install DESTDIR=$RPM_BUILD_ROOT
 
 # we like GPG here
 cat contrib/gpg.rc >> \
-	$RPM_BUILD_ROOT/etc/Muttrc
+	$RPM_BUILD_ROOT%{_sysconfdir}/Muttrc
+
 grep -5 "^color" contrib/sample.muttrc >> \
-	$RPM_BUILD_ROOT/etc/Muttrc
-# and we use aspell
+	$RPM_BUILD_ROOT%{_sysconfdir}/Muttrc
 
-cat >> $RPM_BUILD_ROOT/etc/Muttrc <<EOF
+# and we use aspell
+cat >> $RPM_BUILD_ROOT%{_sysconfdir}/Muttrc <<EOF
 # use aspell
-set ispell="/usr/bin/aspell --mode=email check"
-source /etc/Muttrc.local
+set ispell="%{_bindir}/aspell --mode=email check"
+
+source %{_sysconfdir}/Muttrc.local
 EOF
 
-touch $RPM_BUILD_ROOT/etc/Muttrc.local
+echo "# Local configuration for Mutt." > $RPM_BUILD_ROOT%{_sysconfdir}/Muttrc.local
 
 cd urlview-%{uversion}
-%makeinstall
-install -m 755 url_handler.sh $RPM_BUILD_ROOT%{_bindir}/url_handler.sh
+install urlview url_handler.sh $RPM_BUILD_ROOT%{_bindir}
+install -m 644 urlview.man $RPM_BUILD_ROOT%{_mandir}/man1/urlview.1
 mkdir -p doc/urlview
-cp AUTHORS ChangeLog COPYING INSTALL README sample.urlview urlview.sgml \
+cp -p AUTHORS ChangeLog COPYING README sample.urlview \
   doc/urlview
 cd ..
 
 # remove unpackaged files from the buildroot
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/mime.types
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/{*.dist,mime.types}
 rm -f $RPM_BUILD_ROOT%{_bindir}/{flea,muttbug}
 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{flea,muttbug,mutt_dotlock}.1*
-rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5*
+rm -f $RPM_BUILD_ROOT%{_mandir}/man5/{mbox,mmdf}.5*
 
 %find_lang %{name}
 
@@ -140,15 +99,16 @@
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%config(noreplace) /etc/Muttrc
-%config(noreplace) /etc/Muttrc.local
-%doc doc/*.txt
-%doc contrib/*.rc README* contrib/sample.* NEWS
-%doc COPYRIGHT doc/manual.txt contrib/language* mime.types mutt_ldap_query
+%config(noreplace) %{_sysconfdir}/Muttrc
+%config(noreplace) %{_sysconfdir}/Muttrc.local
+%doc COPYRIGHT ChangeLog GPL NEWS README* UPDATING mutt_ldap_query
+%doc contrib/*.rc contrib/sample.* contrib/ca-bundle.crt contrib/colors.*
+%doc doc/manual.txt doc/smime-notes.txt
 %doc urlview-%{uversion}/doc/urlview
 %{_bindir}/mutt
 %{_bindir}/pgpring
 %{_bindir}/pgpewrap
+%{_bindir}/smime_keys
 %{_bindir}/urlview
 %{_bindir}/url_handler.sh
 %{_mandir}/man1/urlview.*
@@ -156,6 +116,10 @@
 %{_mandir}/man5/muttrc.*
 
 %changelog
+* Wed Feb 07 2007 Miroslav Lichvar <mlichvar at redhat.com> 5:1.5.13-1.20070126cvs
+- update to 1.5.13, and latest CVS (#168183, #220816)
+- spec cleanup
+
 * Wed Dec 06 2006 Miroslav Lichvar <mlichvar at redhat.com> 5:1.4.2.2-5
 - use correct fcc folder with IMAP (#217469)
 - don't require smtpdaemon, gettext
@@ -323,7 +287,7 @@
 * Tue Feb 13 2001 Bill Nottingham <notting at redhat.com>
 - change buildprereq to /usr/sbin/sendmail (it's what it should have been
   originally)
-- %langify
+- %%langify
 
 * Tue Feb 13 2001 Michael Stefaniuc <mstefani at redhat.com>
 - changed buildprereq to smtpdaemon
@@ -371,7 +335,7 @@
 * Wed Jun 21 2000 Bill Nottingham <notting at redhat.com>
 - update to 1.2.2i
 
-* Mon Jun 19 2000 Trond Eivind Glomsrød <teg at redhat.com>
+* Mon Jun 19 2000 Trond Eivind Glomsrød <teg at redhat.com>
 - use aspell
 
 * Sat Jun 10 2000 Bill Nottingham <notting at redhat.com>


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/mutt/devel/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources	17 Jul 2006 15:25:24 -0000	1.11
+++ sources	7 Feb 2007 14:48:02 -0000	1.12
@@ -1,2 +1,3 @@
-51a08429c5bd5c34af3f4268b8cbcda3  mutt-1.4.2.2i.tar.gz
 67731f73e69297ffd106b65c8aebb2ab  urlview-0.9.tar.gz
+456a138680a6726f14983cb3e9ff4e22  mutt-1.5.13.tar.gz
+4c30e5b41e75678d29c76d48bfc8ebdc  mutt-1.5.13_20070126cvs.patch.bz2


--- mutt-1.4-manual.patch DELETED ---


--- mutt-1.4-nosetgid.patch DELETED ---


--- mutt-1.4-sasl2.patch DELETED ---


--- mutt-1.4-saslauth.patch DELETED ---


--- mutt-1.4.1-muttrc.patch DELETED ---


--- mutt-1.4.1-plain.patch DELETED ---


--- mutt-1.4.1-rfc1734.patch DELETED ---


--- mutt-1.4.2.1-gcc4.patch DELETED ---


--- mutt-166718.patch DELETED ---


--- mutt-colors DELETED ---


--- mutt-default.patch DELETED ---


--- mutt-imapfcc.patch DELETED ---


--- mutt-safeopen.patch DELETED ---


--- mutt-sasl-log.patch DELETED ---


--- mutt-sasl.patch DELETED ---


--- urlview-0.9-ncursesw.patch DELETED ---




More information about the fedora-cvs-commits mailing list