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 Patch30: %{name}-amfix.patch
46 URL: http://www.mutt.org/
49 BuildRequires: ncurses-devel >= 5.0
50 BuildRequires: openssl-devel
51 BuildRequires: autoconf
52 BuildRequires: automake
53 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 Mutt is a small but very poweful full-screen Unix mail client.
58 Features include MIME support, color, POP3 support, message threading,
59 bindable keys, and threaded sorting mode.
62 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
63 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
64 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
67 mutt est un client courrier Unix plein écran, petit mais très
68 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
69 POP, des fils de discussion, des touches liées et d'un mode de tri sur
73 Mutt jest niewielkim programem pocztowym dla terminali tekstowych
74 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
75 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
76 oraz skompresowane foldery.
79 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
80 desteði, renk ve POP3 desteði içerir.
83 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
112 CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -fno-strict-aliasing"
114 --with-sharedir=%{_datadir} \
120 --enable-compressed \
121 --with-mailpath=/var/mail \
122 --with-homespool=Mailbox \
125 --with-docdir=%{_defaultdocdir}/%{name}-%{version} \
126 --enable-external-dotlock \
133 rm -rf $RPM_BUILD_ROOT
134 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
136 %{__make} install DESTDIR=$RPM_BUILD_ROOT
138 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
139 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
141 install %{SOURCE2} %{SOURCE3} .
143 gzip -9nf contrib/{*rc*,*cap*} \
144 ChangeLog README TODO NEWS README.SECURITY README.SSL README.UPGRADE \
150 rm -rf $RPM_BUILD_ROOT
152 %files -f %{name}.lang
153 %defattr(644,root,root,755)
154 %doc *.gz contrib/{*rc*,*cap*} doc/manual*html
155 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/Muttrc
156 %attr(755,root,root) %{_bindir}/mutt
157 %attr(755,root,root) %{_bindir}/pgpewrap
158 %attr(755,root,root) %{_bindir}/pgpring
159 %attr(755,root,root) %{_bindir}/mutt_dotlock
161 %{_applnkdir}/Network/Mail/mutt.desktop
162 %{_pixmapsdir}/mutt.png