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ý
10 Group: Applications/Mail
11 Group(pt): Aplicações/Correio Eletrônico
12 Group(pl): Aplikacje/Poczta
13 Source0: ftp://ftp.mutt.org/pub/mutt/%{name}-%{version}.tar.gz
15 Source2: patches_sec.txt
16 Source3: patches_bj.txt
17 Patch0: mutt-mail.patch
18 #Patch1: mutt-confdir.patch
19 Patch2: http://www.spinnaker.de/mutt/patch-1.1.12.rr.compressed.1.gz
20 # Part of that patches I changed by hand to fit them into newer version
22 Patch3: patch-0.00.sec+bonk.patchlist.1
23 Patch4: mutt-blanklines.patch
24 Patch7: http://sec.42.org/mutt/patch-0.94.7.sec.previous_jump.1
25 Patch9: http://sec.42.org/mutt/patch-0.94.7.vikas.word_chars.1
26 Patch10: http://sec.42.org/mutt/patch-0.95.3.bj.ed_mtime.1
27 Patch12: http://sec.42.org/mutt/patch-0.95.4.bj.status-time.1
28 Patch14: http://sec.42.org/mutt/patch-0.95.4.sec.keypad.1
29 Patch16: http://sec.42.org/mutt/patch-0.95.4.sec.reverse_reply.1
30 Patch17: http://sec.42.org/mutt/patch-0.95.4.vikas.print_index.1
31 Patch18: http://sec.42.org/mutt/patch-0.95.6.as.mark-old.1
32 Patch19: http://sec.42.org/mutt/patch-0.95.bj.hash_destroy.2
33 Patch20: http://sec.42.org/mutt/patch-0.95.sec.condense_pgp.1
34 Patch22: http://sec.42.org/mutt/patch-1.02.sec._A.1
35 #Patch23: http://www.murkworks.to/blank-line.patch
36 #Patch24: http://www.albedo.art.pl/~kbryd/mutt/mutt_package.tar.gz
37 Patch25: mutt-dot-lock.patch
38 URL: http://www.mutt.org/
41 BuildRequires: ncurses-devel >= 5.0
42 BuildRequires: openssl-devel
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Mutt is a small but very poweful full-screen Unix mail client.
48 Features include MIME support, color, POP3 support, message threading,
49 bindable keys, and threaded sorting mode.
52 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
53 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
54 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
57 mutt est un client courrier Unix plein écran, petit mais très
58 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
59 POP, des fils de discussion, des touches liées et d'un mode de tri sur
63 Mutt jest niewielkim programem pocztowym dla terminali tekstowych
64 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
65 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
66 oraz skompresowane foldery.
69 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
70 desteði, renk ve POP3 desteði içerir.
73 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
94 mv aclocal.m4 acinclude.m4
98 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
100 export CFLAGS LDFLAGS
102 --with-sharedir=%{_datadir} \
108 --enable-compressed \
109 --with-mailpath=/var/mail \
110 --with-homespool=Mailbox \
113 --with-docdir=%{_defaultdocdir}/%{name}-%{version}
119 rm -rf $RPM_BUILD_ROOT
120 install -d $RPM_BUILD_ROOT%{_applnkdir}/Networking/Mail
122 make install DESTDIR=$RPM_BUILD_ROOT
124 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Networking/Mail
125 install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT/%{_docdir}
127 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
128 contrib/{*rc*,*cap*} \
129 ChangeLog README TODO NEWS README.SECURITY README.SSL README.UPGRADE \
130 $RPM_BUILD_ROOT%{_docdir}/patches_{bj,sec}.txt
135 rm -rf $RPM_BUILD_ROOT
137 %files -f %{name}.lang
138 %defattr(644,root,root,755)
139 %doc {ChangeLog,README,TODO,NEWS,README.SECURITY,README.SSL,README.UPGRADE}.gz
140 %doc contrib/{*rc*,*cap*}
142 %doc doc/patches_{bj,sec}.txt.gz
144 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/Muttrc
145 %{_applnkdir}/Networking/Mail/mutt.desktop
147 %attr(755,root,root) %{_bindir}/*