3 %bcond_with slang # use slang library instead of ncurses
4 %bcond_with nntp # use VVV's NNTP patch
5 %bcond_with esmtp # use esmtp patch
6 %bcond_with folder_column # build with folder_column patch
7 %bcond_without sasl # don't use sasl
8 %bcond_without home_etc # don't use home_etc
10 Summary: The Mutt Mail User Agent
11 Summary(de): Der Mutt Mail-User-Agent
12 Summary(es): Mutt, cliente de correo electrónico
13 Summary(fr): Agent courrier Mutt
14 Summary(ko): ÅؽºÆ® ±â¹ÝÀÇ MUA
15 Summary(pl): Program pocztowy Mutt
16 Summary(pt_BR): Mutt, cliente de correio eletrônico
17 Summary(ru): ðÏÞÔÏ×ÁÑ ËÌÉÅÎÔÓËÁÑ ÐÒÏÇÒÁÍÍÁ Mutt
18 Summary(tr): Mutt elektronik posta programý
19 Summary(uk): ðÏÛÔÏ×Á Ë̦¤ÎÔÓØËÁ ÐÒÏÇÒÁÍÁ Mutt
25 Group: Applications/Mail
26 Source0: ftp://ftp.mutt.org/mutt/%{name}-%{version}i.tar.gz
27 # Source0-md5: 51a08429c5bd5c34af3f4268b8cbcda3
28 Source1: %{name}.desktop
31 Patch0: %{name}-paths.patch
32 Patch1: %{name}-forcedotlock.patch
33 Patch2: %{name}-muttbug-tmp.patch
34 Patch3: %{name}-rr.compressed.patch
35 Patch4: %{name}-cd.edit_threads.patch
36 Patch5: %{name}-bj.status-time.patch
37 Patch6: %{name}-devl.narrow_tree.patch
38 Patch7: %{name}-vvv.quote.gz
39 Patch8: %{name}-null_name.patch
40 Patch9: %{name}-cd.trash_folder.patch
41 Patch10: %{name}-cd.purge_message.patch
42 Patch11: %{name}-cd.signatures_menu.patch
43 Patch12: %{name}-folder_columns.patch
44 Patch13: %{name}-nr.tag_prefix_cond.patch
45 Patch14: %{name}-pgp_hook.patch
46 Patch15: %{name}-manual.patch
47 Patch16: %{name}-send_charset.patch
48 Patch17: %{name}-xface.patch
49 Patch18: %{name}-sasl2.patch
50 Patch19: %{name}-nntp.patch
51 Patch20: %{name}-esmtp.patch
52 Patch21: %{name}-home_etc.patch
53 Patch22: %{name}-kill_warnings.patch
54 Patch23: %{name}-Muttrc_mbox_path.patch
55 Patch24: %{name}-po.patch
56 Patch25: %{name}-missing_includes.patch
57 URL: http://www.mutt.org/
58 %{!?with_slang:BuildRequires: ncurses-devel >= 5.4-0.7}
59 BuildRequires: autoconf
60 BuildRequires: automake
61 %{?with_sasl:BuildRequires: cyrus-sasl-devel >= 2.1.0}
62 BuildRequires: gettext-devel
64 %{?with_home_etc:BuildRequires: home-etc-devel >= 1.0.8}
65 %{?with_esmtp:BuildRequires: libesmtp-devel}
66 BuildRequires: openssl-devel >= 0.9.7d
67 BuildRequires: sgml-tools >= 1.0.9-20
68 BuildRequires: sgml-tools-dtd
69 %{?with_slang:BuildRequires: slang-devel}
70 %{?with_home_etc:Requires: home-etc >= 1.0.8}
73 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
75 %define specflags_ia32 -fomit-frame-pointer
78 Mutt is a small but very poweful full-screen Unix mail client.
79 Features include MIME support, color, POP3 support, message threading,
80 bindable keys, and threaded sorting mode.
83 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
84 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
85 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
88 Mutt es un pequeño, pero muy potente cliente de correo en pantalla
89 llena. Incluye soporte a tipos MINE, color, POP3; encadenamiento de
90 mensajes, teclas configurables y clasificaciones por encadenamiento.
93 mutt est un client courrier Unix plein écran, petit mais très
94 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
95 POP, des fils de discussion, des touches liées et d'un mode de tri sur
99 Mutt´Â ÀÛÁö¸¸ ¸Å¿ì °·ÂÇÑ ÅؽºÆ® ±â¹ÝÀÇ ¸ÞÀÏ Å¬¶óÀ̾ðÆ®ÀÌ´Ù. Mutt´Â
100 ¸¹Àº ¼³Á¤ÀÌ °¡´ÉÇÏ´Ù. ±×¸®°í, Å°¹ÙÀεù, Å°º¸µå ¸ÞÅ©·Î, ¸ÞÀÏ ½º·¹µù°ú
101 °°Àº Áøº¸µÈ ÇüÅÂ¿Í Á¤±ÔÇ¥Çö½Ä °Ë»ö, ¸ÞÀÏ¿¡¼ ¼±ÅÃµÈ ±×·ìÀÇ ³»¿ë¿¡¼
102 °·ÂÇÏ°Ô ÀÏÁ¤ÇÑ ÆÐÅÏÀ» ã¾Æ³»´Â °ÍÀ» Áö¿øÇÔÀ¸·Î½á ¸ÞÀÏÀÇ ÆÄ¿ö À¯Àú¿¡°Ô
106 Mutt jest niewielkim programem pocztowym dla terminali tekstowych,
107 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
108 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
109 oraz skompresowane foldery.
111 %description -l pt_BR
112 O Mutt é um pequeno mas muito poderoso cliente de correio em tela
113 cheia. Inclui suporte a tipos MIME, cor, POP3, encadeamento de
114 mensagens, teclas configuráveis e classificação por encadeamento.
117 Mutt - ÜÔÏ ÎÅÂÏÌØÛÏÊ, ÎÏ ÍÏÝÎÙÊ ÐÏÌÎÏÜËÒÁÎÎÙÊ ÐÏÞÔÏ×ÙÊ ËÌÉÅÎÔ.
118 ÷ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ MIME, Ã×ÅÔ, ÐÏÄÄÅÒÖËÕ POP3 É IMAP, ÇÒÕÐÐÉÒÏ×ËÕ
119 ÓÏÏÂÝÅÎÉÊ ÐÏ ÃÅÐÏÞËÁÍ, ÐÅÒÅÏÐÒÅÄÅÌÑÅÍÙÅ ËÌÁ×ÉÛÉ, ÐÏÄÄÅÒÖËÕ pgp/gpg É
120 ÓÏÒÔÉÒÏ×ËÕ ÓÏÏÂÝÅÎÉÊ × ÃÅÐÏÞËÁÈ. ÷ËÌÀÞÁÅÔ ÔÁËÖÅ (ÐÏËÁ ÞÔÏ
121 ÜËÓÐÅÒÉÍÅÎÔÁÌØÎÕÀ) ÐÏÄÄÅÒÖËÕ NNTP.
124 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
125 desteði, renk ve POP3 desteði içerir.
128 Mutt - ÃÅ ÎÅ×ÅÌÉËÉÊ, ÁÌÅ ÐÏÔÕÖÎÉÊ ÐÏ×ÎÏÅËÒÁÎÎÉÊ ÐÏÛÔÏ×ÉÊ Ë̦¤ÎÔ.
129 í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ MIME, ËÏ̦Ò, ЦÄÔÒÉÍËÕ POP3 ÔÁ IMAP, ÇÒÕÐÕ×ÁÎÎÑ
130 ÐÏצÄÏÍÌÅÎØ ÐÏ ÌÁÎÃÀÖËÁÍ, ÐÅÒÅ×ÉÚÎÁÞÅÎÎÑ ËÌÁצÛ, ЦÄÔÒÉÍËÕ pgp/gpg ÔÁ
131 ÓÏÒÔÕ×ÁÎÎÑ ÐÏצÄÏÍÌÅÎØ Õ ÌÁÎÃÀÖËÁÈ. í¦ÓÔÉÔØ ÔÁËÏÖ (ÐÏËÉ ÝÏ
132 ÅËÓÐÅÒÉÍÅÎÔÁÌØÎÕ) ЦÄÔÒÉÍËÕ NNTP.
135 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
148 # breaks display if arrow_cursor is set
149 %{?with_folder_column:%patch12 -p1}
150 # disabled - changes default behaviour
156 %{?with_sasl:%patch18 -p1}
157 %{?with_nntp:%patch19 -p1}
158 %{?with_esmtp:%patch20 -p1}
159 %{?with_home_etc:%patch21 -p1}
165 # force regeneration (manual.sgml is modified by some patches)
166 rm -f doc/{manual*.html,manual.txt}
174 --%{?debug:en}%{!?debug:dis}able-debug \
175 %{!?with_slang:--with-curses} \
176 %{?with_slang:--with-slang} \
177 --enable-compressed \
178 --enable-external-dotlock \
180 --without-included-gettext \
184 %{?with_nntp:--enable-nntp} \
186 --with%{!?with_sasl:out}-sasl \
187 --with%{!?with_home_etc:out}-home-etc \
188 %{?with_esmtp:--enable-libesmtp --with-libesmtp=/usr} \
191 --with-docdir=%{_docdir}/%{name} \
192 --with-homespool=Maildir \
193 --with-mailpath=/var/mail \
194 --with-sharedir=%{_datadir} \
195 --prefix=%{_prefix} \
196 --bindir=%{_bindir} \
197 --datadir=%{_datadir} \
198 --mandir=%{_mandir} \
199 --sysconfdir=%{_sysconfdir}
202 %{__make} manual.txt -C doc
205 rm -rf $RPM_BUILD_ROOT
206 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_mandir}/pl/man1}
209 DESTDIR=$RPM_BUILD_ROOT
211 %{__patch} -p0 -d $RPM_BUILD_ROOT%{_sysconfdir} < %{PATCH16}
213 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
214 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
215 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
217 # keep manual.txt.gz, the rest is installed as %doc
218 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/[!m]*
219 gzip -9nf $RPM_BUILD_ROOT%{_docdir}/%{name}/manual.txt
221 # conflict with qmail
222 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5*
224 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/mime.types
229 rm -rf $RPM_BUILD_ROOT
231 %files -f %{name}.lang
232 %defattr(644,root,root,755)
233 %doc contrib/{*rc*,*cap*} ChangeLog README TODO NEWS README.SECURITY README.SSL README.xface %{?with_esmtp:Muttrc.esmtp}
234 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/Muttrc
235 %attr(755,root,root) %{_bindir}/mutt
236 %attr(755,root,root) %{_bindir}/flea
237 %attr(755,root,root) %{_bindir}/muttbug
238 %attr(755,root,root) %{_bindir}/pgp*
239 %attr(2755,root,mail) %{_bindir}/mutt_dotlock
242 %{_desktopdir}/*.desktop
243 %{_pixmapsdir}/mutt.png
245 %lang(pl) %{_mandir}/pl/man*/*