parent
992b61a2d7
commit
70563a2180
@ -1,2 +1,3 @@
|
|||||||
mutt-1.4.2.2i.tar.gz
|
|
||||||
urlview-0.9.tar.gz
|
urlview-0.9.tar.gz
|
||||||
|
mutt-1.5.13.tar.gz
|
||||||
|
mutt-1.5.13_20070126cvs.patch.bz2
|
||||||
|
31
mutt-1.5.13-manual.patch
Normal file
31
mutt-1.5.13-manual.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
--- 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
|
10
mutt-1.5.13-nodotlock.patch
Normal file
10
mutt-1.5.13-nodotlock.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- 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);
|
156
mutt.spec
156
mutt.spec
@ -1,44 +1,26 @@
|
|||||||
Summary: A text mode mail user agent.
|
Summary: A text mode mail user agent
|
||||||
Name: mutt
|
Name: mutt
|
||||||
%define uversion 0.9
|
Version: 1.5.13
|
||||||
Version: 1.4.2.2
|
Release: 1.20070126cvs%{?dist}
|
||||||
Release: 5%{?dist}
|
|
||||||
Epoch: 5
|
Epoch: 5
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Internet
|
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
|
Source2: ftp://ftp.mutt.org/pub/mutt/contrib/urlview-%{uversion}.tar.gz
|
||||||
Source1: mutt_ldap_query
|
Source1: mutt_ldap_query
|
||||||
Source3: mutt-colors
|
Patch1: mutt-1.5.13_20070126cvs.patch.bz2
|
||||||
Patch0: mutt-1.4-nosetgid.patch
|
Patch2: mutt-1.5.13-nodotlock.patch
|
||||||
Patch1: mutt-default.patch
|
Patch3: mutt-1.5.13-muttrc.patch
|
||||||
Patch4: mutt-1.4.1-muttrc.patch
|
Patch4: mutt-1.5.13-manual.patch
|
||||||
Patch5: mutt-sasl.patch
|
Patch5: urlview-0.9-default.patch
|
||||||
Patch8: mutt-1.4-sasl2.patch
|
Patch6: urlview.diff
|
||||||
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
|
|
||||||
Url: http://www.mutt.org/
|
Url: http://www.mutt.org/
|
||||||
Requires: /usr/sbin/sendmail webclient mailcap
|
Requires: /usr/sbin/sendmail webclient mailcap
|
||||||
Obsoletes: urlview
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Provides: urlview
|
BuildRequires: /usr/sbin/sendmail
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRequires: cyrus-sasl-devel db4-devel gnutls-devel krb5-devel ncurses-devel
|
||||||
Conflicts: mutt-us
|
BuildRequires: gettext docbook-style-xsl libxslt lynx
|
||||||
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
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Mutt is a text-mode mail user agent. Mutt supports color, threading,
|
Mutt is a text-mode mail user agent. Mutt supports color, threading,
|
||||||
@ -49,89 +31,66 @@ it, or if you are new to mail programs and have not decided which one
|
|||||||
you are going to use.
|
you are going to use.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n mutt-%{version} -q -a 2
|
%setup -q -a 2
|
||||||
|
%patch1 -p1
|
||||||
# Thou shalt use fcntl, and only fcntl
|
# Thou shalt use fcntl, and only fcntl
|
||||||
%patch0 -p1 -b .nosetgid
|
%patch2 -p1 -b .nodl
|
||||||
# Something to make default colors work right.
|
%patch3 -p1 -b .muttrc
|
||||||
# fixme: make sure this is still needed
|
%patch4 -p1 -b .manual
|
||||||
%patch1 -p1 -b .default
|
%patch5 -p0 -b .default
|
||||||
# make it recognize https urls too
|
%patch6 -p0 -b .build
|
||||||
%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
|
|
||||||
|
|
||||||
install -m644 %{SOURCE1} mutt_ldap_query
|
install -p -m644 %{SOURCE1} mutt_ldap_query
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export -n LINGUAS
|
%configure \
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
|
|
||||||
--with-sharedir=/etc --sysconfdir=/etc \
|
|
||||||
--with-docdir=%{_docdir}/mutt-%{version} \
|
|
||||||
--with-mandir=%{_mandir} \
|
|
||||||
--with-infodir=%{_infodir} \
|
|
||||||
--enable-pop --enable-imap \
|
--enable-pop --enable-imap \
|
||||||
|
--with-gnutls \
|
||||||
|
--with-gss \
|
||||||
--with-sasl \
|
--with-sasl \
|
||||||
%{!?nossl:--with-ssl} \
|
--enable-inodesort \
|
||||||
%{!?nokerberos:--with-gss} \
|
--enable-hcache \
|
||||||
--disable-warnings --with-ncursesw --disable-domain \
|
--with-docdir=%{_docdir}/%{name}-%{version}
|
||||||
--disable-flock --enable-fcntl
|
make %{?_smp_mflags}
|
||||||
make
|
|
||||||
|
|
||||||
cd urlview-%{uversion}
|
cd urlview-%{uversion}
|
||||||
%configure --with-ncursesw
|
%configure
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%makeinstall sharedir=$RPM_BUILD_ROOT/etc \
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
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{_,}
|
|
||||||
|
|
||||||
# we like GPG here
|
# we like GPG here
|
||||||
cat contrib/gpg.rc >> \
|
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
|
|
||||||
|
|
||||||
cat >> $RPM_BUILD_ROOT/etc/Muttrc <<EOF
|
grep -5 "^color" contrib/sample.muttrc >> \
|
||||||
|
$RPM_BUILD_ROOT%{_sysconfdir}/Muttrc
|
||||||
|
|
||||||
|
# and we use aspell
|
||||||
|
cat >> $RPM_BUILD_ROOT%{_sysconfdir}/Muttrc <<EOF
|
||||||
# use aspell
|
# use aspell
|
||||||
set ispell="/usr/bin/aspell --mode=email check"
|
set ispell="%{_bindir}/aspell --mode=email check"
|
||||||
source /etc/Muttrc.local
|
|
||||||
|
source %{_sysconfdir}/Muttrc.local
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
touch $RPM_BUILD_ROOT/etc/Muttrc.local
|
echo "# Local configuration for Mutt." > $RPM_BUILD_ROOT%{_sysconfdir}/Muttrc.local
|
||||||
|
|
||||||
cd urlview-%{uversion}
|
cd urlview-%{uversion}
|
||||||
%makeinstall
|
install urlview url_handler.sh $RPM_BUILD_ROOT%{_bindir}
|
||||||
install -m 755 url_handler.sh $RPM_BUILD_ROOT%{_bindir}/url_handler.sh
|
install -m 644 urlview.man $RPM_BUILD_ROOT%{_mandir}/man1/urlview.1
|
||||||
mkdir -p doc/urlview
|
mkdir -p doc/urlview
|
||||||
cp AUTHORS ChangeLog COPYING INSTALL README sample.urlview urlview.sgml \
|
cp -p AUTHORS ChangeLog COPYING README sample.urlview \
|
||||||
doc/urlview
|
doc/urlview
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# remove unpackaged files from the buildroot
|
# 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%{_bindir}/{flea,muttbug}
|
||||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{flea,muttbug,mutt_dotlock}.1*
|
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}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -140,15 +99,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) /etc/Muttrc
|
%config(noreplace) %{_sysconfdir}/Muttrc
|
||||||
%config(noreplace) /etc/Muttrc.local
|
%config(noreplace) %{_sysconfdir}/Muttrc.local
|
||||||
%doc doc/*.txt
|
%doc COPYRIGHT ChangeLog GPL NEWS README* UPDATING mutt_ldap_query
|
||||||
%doc contrib/*.rc README* contrib/sample.* NEWS
|
%doc contrib/*.rc contrib/sample.* contrib/ca-bundle.crt contrib/colors.*
|
||||||
%doc COPYRIGHT doc/manual.txt contrib/language* mime.types mutt_ldap_query
|
%doc doc/manual.txt doc/smime-notes.txt
|
||||||
%doc urlview-%{uversion}/doc/urlview
|
%doc urlview-%{uversion}/doc/urlview
|
||||||
%{_bindir}/mutt
|
%{_bindir}/mutt
|
||||||
%{_bindir}/pgpring
|
%{_bindir}/pgpring
|
||||||
%{_bindir}/pgpewrap
|
%{_bindir}/pgpewrap
|
||||||
|
%{_bindir}/smime_keys
|
||||||
%{_bindir}/urlview
|
%{_bindir}/urlview
|
||||||
%{_bindir}/url_handler.sh
|
%{_bindir}/url_handler.sh
|
||||||
%{_mandir}/man1/urlview.*
|
%{_mandir}/man1/urlview.*
|
||||||
@ -156,6 +116,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man5/muttrc.*
|
%{_mandir}/man5/muttrc.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 07 2007 Miroslav Lichvar <mlichvar@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@redhat.com> 5:1.4.2.2-5
|
* Wed Dec 06 2006 Miroslav Lichvar <mlichvar@redhat.com> 5:1.4.2.2-5
|
||||||
- use correct fcc folder with IMAP (#217469)
|
- use correct fcc folder with IMAP (#217469)
|
||||||
- don't require smtpdaemon, gettext
|
- don't require smtpdaemon, gettext
|
||||||
@ -323,7 +287,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
* Tue Feb 13 2001 Bill Nottingham <notting@redhat.com>
|
* Tue Feb 13 2001 Bill Nottingham <notting@redhat.com>
|
||||||
- change buildprereq to /usr/sbin/sendmail (it's what it should have been
|
- change buildprereq to /usr/sbin/sendmail (it's what it should have been
|
||||||
originally)
|
originally)
|
||||||
- %langify
|
- %%langify
|
||||||
|
|
||||||
* Tue Feb 13 2001 Michael Stefaniuc <mstefani@redhat.com>
|
* Tue Feb 13 2001 Michael Stefaniuc <mstefani@redhat.com>
|
||||||
- changed buildprereq to smtpdaemon
|
- changed buildprereq to smtpdaemon
|
||||||
@ -371,7 +335,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
* Wed Jun 21 2000 Bill Nottingham <notting@redhat.com>
|
* Wed Jun 21 2000 Bill Nottingham <notting@redhat.com>
|
||||||
- update to 1.2.2i
|
- update to 1.2.2i
|
||||||
|
|
||||||
* Mon Jun 19 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Mon Jun 19 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- use aspell
|
- use aspell
|
||||||
|
|
||||||
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
|
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
3
sources
3
sources
@ -1,2 +1,3 @@
|
|||||||
51a08429c5bd5c34af3f4268b8cbcda3 mutt-1.4.2.2i.tar.gz
|
|
||||||
67731f73e69297ffd106b65c8aebb2ab urlview-0.9.tar.gz
|
67731f73e69297ffd106b65c8aebb2ab urlview-0.9.tar.gz
|
||||||
|
456a138680a6726f14983cb3e9ff4e22 mutt-1.5.13.tar.gz
|
||||||
|
4c30e5b41e75678d29c76d48bfc8ebdc mutt-1.5.13_20070126cvs.patch.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user