1 Summary: The Mutt Mail User Agent
2 Summary(de): Der Mutt Mail-User-Agent
3 Summary(fr): Agent courrier Mutt
4 Summary(pl): Program pocztowy Mutt
5 Summary(tr): Mutt elektronik posta programý
11 Group: Applications/Mail
12 Group(de): Applikationen/Post
13 Group(pl): Aplikacje/Poczta
14 Group(pt): Aplicações/Correio Eletrônico
15 Source0: ftp://ftp.mutt.org/pub/mutt/%{name}-%{version}.tar.gz
16 Source1: %{name}.desktop
17 Source2: patches_sec.txt
18 Source3: patches_bj.txt
20 #Patch0: %{name}-mail.patch
21 #Patch1: %{name}-confdir.patch
22 Patch2: http://www.spinnaker.de/mutt/patch-1.2.rr.compressed.1.gz
23 # Part of that patches I changed by hand to fit them into newer version
25 Patch3: patch-0.00.sec+bonk.patchlist.1
26 Patch4: %{name}-blanklines.patch
27 Patch7: http://sec.42.org/mutt/patch-0.94.7.sec.previous_jump.1
28 Patch9: http://sec.42.org/mutt/patch-0.94.7.vikas.word_chars.1
29 Patch10: http://sec.42.org/mutt/patch-0.95.3.bj.ed_mtime.1
30 Patch12: http://sec.42.org/mutt/patch-0.95.4.bj.status-time.1
31 Patch14: http://sec.42.org/mutt/patch-0.95.4.sec.keypad.1
32 Patch16: http://sec.42.org/mutt/patch-0.95.4.sec.reverse_reply.1
33 Patch17: http://sec.42.org/mutt/patch-0.95.4.vikas.print_index.1
34 Patch18: http://sec.42.org/mutt/patch-0.95.6.as.mark-old.1
35 Patch19: http://sec.42.org/mutt/patch-0.95.bj.hash_destroy.2
36 Patch20: http://sec.42.org/mutt/patch-0.95.sec.condense_pgp.1
37 Patch22: http://sec.42.org/mutt/patch-1.02.sec._A.1
38 #Patch23: http://www.murkworks.to/blank-line.patch
39 #Patch24: http://www.albedo.art.pl/~kbryd/mutt/%{name}_package.tar.gz
40 Patch25: %{name}-dot-lock.patch
41 Patch26: %{name}-pl.po.patch
42 Patch27: %{name}-nosetgid.patch
43 Patch28: %{name}-md5.patch
44 Patch29: %{name}-imap.patch
45 URL: http://www.mutt.org/
48 BuildRequires: ncurses-devel >= 5.0
49 BuildRequires: openssl-devel
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 Mutt is a small but very poweful full-screen Unix mail client.
55 Features include MIME support, color, POP3 support, message threading,
56 bindable keys, and threaded sorting mode.
59 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
60 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
61 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
64 mutt est un client courrier Unix plein écran, petit mais très
65 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
66 POP, des fils de discussion, des touches liées et d'un mode de tri sur
70 Mutt jest niewielkim programem pocztowym dla terminali tekstowych
71 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
72 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
73 oraz skompresowane foldery.
76 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
77 desteði, renk ve POP3 desteði içerir.
80 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
105 mv -f aclocal.m4 acinclude.m4
109 CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -fno-strict-aliasing"
111 --with-sharedir=%{_datadir} \
117 --enable-compressed \
118 --with-mailpath=/var/mail \
119 --with-homespool=Mailbox \
122 --with-docdir=%{_defaultdocdir}/%{name}-%{version} \
123 --enable-external-dotlock \
130 rm -rf $RPM_BUILD_ROOT
131 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
133 %{__make} install DESTDIR=$RPM_BUILD_ROOT
135 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
136 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
138 install %{SOURCE2} %{SOURCE3} .
140 gzip -9nf contrib/{*rc*,*cap*} \
141 ChangeLog README TODO NEWS README.SECURITY README.SSL README.UPGRADE \
147 rm -rf $RPM_BUILD_ROOT
149 %files -f %{name}.lang
150 %defattr(644,root,root,755)
151 %doc *.gz contrib/{*rc*,*cap*} doc/manual*html
152 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/Muttrc
153 %attr(755,root,root) %{_bindir}/mutt
154 %attr(755,root,root) %{_bindir}/pgpewrap
155 %attr(755,root,root) %{_bindir}/pgpring
156 %attr(755,root,root) %{_bindir}/mutt_dotlock
158 %{_applnkdir}/Network/Mail/mutt.desktop
159 %{_pixmapsdir}/mutt.png