3 # _with_slang - use slang library instead of ncurses
4 # _with_nntp - use VVV's NNTP patch
5 # _with_esmtp - use esmtp patch
6 # _without_sasl - don't use sasl
8 Summary: The Mutt Mail User Agent
9 Summary(de): Der Mutt Mail-User-Agent
10 Summary(es): Mutt, cliente de correo electrónico
11 Summary(fr): Agent courrier Mutt
12 Summary(ko): ÅؽºÆ® ±â¹ÝÀÇ MUA
13 Summary(pl): Program pocztowy Mutt
14 Summary(pt_BR): Mutt, cliente de correio eletrônico
15 Summary(ru): ðÏÞÔÏ×ÁÑ ËÌÉÅÎÔÓËÁÑ ÐÒÏÇÒÁÍÍÁ Mutt
16 Summary(tr): Mutt elektronik posta programý
17 Summary(uk): ðÏÛÔÏ×Á Ë̦¤ÎÔÓØËÁ ÐÒÏÇÒÁÍÁ Mutt
23 Group: Applications/Mail
24 Source0: ftp://ftp.mutt.org/mutt/%{name}-%{version}i.tar.gz
25 # Source0-md5: fb5418135c5be2638964eef2f654f847
26 Source1: %{name}.desktop
29 Patch0: %{name}-home_etc.patch
30 Patch1: %{name}-forcedotlock.patch
31 Patch2: %{name}-muttbug-tmp.patch
32 Patch3: %{name}-rr.compressed.patch
33 Patch4: %{name}-cd.edit_threads.patch
34 Patch5: %{name}-bj.status-time.patch
35 Patch6: %{name}-devl.narrow_tree.patch
36 Patch7: %{name}-vvv.quote.gz
37 Patch8: %{name}-null_name.patch
38 Patch9: %{name}-cd.trash_folder.patch
39 Patch10: %{name}-cd.purge_message.patch
40 Patch11: %{name}-cd.signatures_menu.patch
41 Patch12: %{name}-folder_columns.patch
42 Patch13: %{name}-nr.tag_prefix_cond.patch
43 Patch14: %{name}-LIBOBJ.patch
44 Patch15: %{name}-pgp_hook.patch
45 Patch16: %{name}-manual.patch
46 Patch17: %{name}-send_charset.patch
47 Patch18: %{name}-xface.patch
48 Patch19: %{name}-sasl2.patch
49 Patch20: %{name}-nntp.patch
50 Patch21: %{name}-esmtp.patch
51 URL: http://www.mutt.org/
52 BuildRequires: autoconf
53 BuildRequires: automake
54 %{!?_without_sasl:BuildRequires: cyrus-sasl-devel >= 2.1.0}
55 BuildRequires: gettext-devel
56 %{!?_with_slang:BuildRequires: ncurses-devel >= 5.0}
57 BuildRequires: openssl-devel >= 0.9.7c
58 BuildRequires: sgml-tools
59 BuildRequires: sgml-tools-dtd
60 %{?_with_slang:BuildRequires: slang-devel}
61 %{?_with_esmtp:BuildRequires: libesmtp-devel}
64 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66 %define specflags_ia32 "-fomit-frame-pointer"
69 Mutt is a small but very poweful full-screen Unix mail client.
70 Features include MIME support, color, POP3 support, message threading,
71 bindable keys, and threaded sorting mode.
74 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
75 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
76 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
79 Mutt es un pequeño, pero muy potente cliente de correo en pantalla
80 llena. Incluye soporte a tipos MINE, color, POP3; encadenamiento de
81 mensajes, teclas configurables y clasificaciones por encadenamiento.
84 mutt est un client courrier Unix plein écran, petit mais très
85 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
86 POP, des fils de discussion, des touches liées et d'un mode de tri sur
90 Mutt´Â ÀÛÁö¸¸ ¸Å¿ì °·ÂÇÑ ÅؽºÆ® ±â¹ÝÀÇ ¸ÞÀÏ Å¬¶óÀ̾ðÆ®ÀÌ´Ù. Mutt´Â
91 ¸¹Àº ¼³Á¤ÀÌ °¡´ÉÇÏ´Ù. ±×¸®°í, Å°¹ÙÀεù, Å°º¸µå ¸ÞÅ©·Î, ¸ÞÀÏ ½º·¹µù°ú
92 °°Àº Áøº¸µÈ ÇüÅÂ¿Í Á¤±ÔÇ¥Çö½Ä °Ë»ö, ¸ÞÀÏ¿¡¼ ¼±ÅÃµÈ ±×·ìÀÇ ³»¿ë¿¡¼
93 °·ÂÇÏ°Ô ÀÏÁ¤ÇÑ ÆÐÅÏÀ» ã¾Æ³»´Â °ÍÀ» Áö¿øÇÔÀ¸·Î½á ¸ÞÀÏÀÇ ÆÄ¿ö À¯Àú¿¡°Ô
97 Mutt jest niewielkim programem pocztowym dla terminali tekstowych,
98 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
99 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
100 oraz skompresowane foldery.
102 %description -l pt_BR
103 O Mutt é um pequeno mas muito poderoso cliente de correio em tela
104 cheia. Inclui suporte a tipos MIME, cor, POP3, encadeamento de
105 mensagens, teclas configuráveis e classificação por encadeamento.
108 Mutt - ÜÔÏ ÎÅÂÏÌØÛÏÊ, ÎÏ ÍÏÝÎÙÊ ÐÏÌÎÏÜËÒÁÎÎÙÊ ÐÏÞÔÏ×ÙÊ ËÌÉÅÎÔ.
109 ÷ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ MIME, Ã×ÅÔ, ÐÏÄÄÅÒÖËÕ POP3 É IMAP, ÇÒÕÐÐÉÒÏ×ËÕ
110 ÓÏÏÂÝÅÎÉÊ ÐÏ ÃÅÐÏÞËÁÍ, ÐÅÒÅÏÐÒÅÄÅÌÑÅÍÙÅ ËÌÁ×ÉÛÉ, ÐÏÄÄÅÒÖËÕ pgp/gpg É
111 ÓÏÒÔÉÒÏ×ËÕ ÓÏÏÂÝÅÎÉÊ × ÃÅÐÏÞËÁÈ. ÷ËÌÀÞÁÅÔ ÔÁËÖÅ (ÐÏËÁ ÞÔÏ
112 ÜËÓÐÅÒÉÍÅÎÔÁÌØÎÕÀ) ÐÏÄÄÅÒÖËÕ NNTP.
115 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
116 desteði, renk ve POP3 desteði içerir.
119 Mutt - ÃÅ ÎÅ×ÅÌÉËÉÊ, ÁÌÅ ÐÏÔÕÖÎÉÊ ÐÏ×ÎÏÅËÒÁÎÎÉÊ ÐÏÛÔÏ×ÉÊ Ë̦¤ÎÔ.
120 í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ MIME, ËÏ̦Ò, ЦÄÔÒÉÍËÕ POP3 ÔÁ IMAP, ÇÒÕÐÕ×ÁÎÎÑ
121 ÐÏצÄÏÍÌÅÎØ ÐÏ ÌÁÎÃÀÖËÁÍ, ÐÅÒÅ×ÉÚÎÁÞÅÎÎÑ ËÌÁצÛ, ЦÄÔÒÉÍËÕ pgp/gpg ÔÁ
122 ÓÏÒÔÕ×ÁÎÎÑ ÐÏצÄÏÍÌÅÎØ Õ ÌÁÎÃÀÖËÁÈ. í¦ÓÔÉÔØ ÔÁËÏÖ (ÐÏËÉ ÝÏ
123 ÅËÓÐÅÒÉÍÅÎÔÁÌØÎÕ) ЦÄÔÒÉÍËÕ NNTP.
126 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
145 %{!?_without_sasl:%patch19 -p1}
146 %{?_with_nntp:%patch20 -p1}
147 %{?_with_esmtp:%patch21 -p1}
149 # force regeneration (manual.sgml is modified by some patches)
150 rm -f doc/{manual*.html,manual.txt}
157 %{!?debug:--disable-debug} %{?debug:--enable-debug} \
158 %{!?_with_slang:--with-curses} \
159 %{?_with_slang:--with-slang} \
160 --enable-compressed \
161 --enable-external-dotlock \
163 --without-included-gettext \
167 %{?_with_nntp:--enable-nntp} \
169 %{!?_without_sasl:--with-sasl} %{?_without_sasl:--without-sasl} \
170 %{?_with_esmtp:--enable-libesmtp --with-libesmtp=/usr} \
173 --with-docdir=%{_docdir}/%{name}-%{version} \
174 --with-homespool=Maildir \
175 --with-mailpath=/var/mail \
176 --with-sharedir=%{_datadir} \
177 --prefix=%{_prefix} \
178 --bindir=%{_bindir} \
179 --datadir=%{_datadir} \
180 --mandir=%{_mandir} \
181 --sysconfdir=%{_sysconfdir}
184 %{__make} manual.txt -C doc
187 rm -rf $RPM_BUILD_ROOT
188 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}} \
189 $RPM_BUILD_ROOT%{_mandir}/pl/man1
191 %{__make} install DESTDIR=$RPM_BUILD_ROOT
193 %{__patch} -p0 -d $RPM_BUILD_ROOT%{_sysconfdir} < %PATCH17
195 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
196 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
197 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
199 # conflict with qmail
200 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5*
202 rm -f $RPM_BUILD_ROOT/etc/mime.types
207 rm -rf $RPM_BUILD_ROOT
209 %files -f %{name}.lang
210 %defattr(644,root,root,755)
211 %doc contrib/{*rc*,*cap*} ChangeLog README TODO NEWS README.SECURITY README.SSL doc/manual.txt README.xface %{?_with_esmtp: Muttrc.esmtp}
212 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/Muttrc
213 %attr(755,root,root) %{_bindir}/mutt
214 %attr(755,root,root) %{_bindir}/flea
215 %attr(755,root,root) %{_bindir}/muttbug
216 %attr(755,root,root) %{_bindir}/pgp*
217 %attr(2755,root,mail) %{_bindir}/mutt_dotlock
219 %{_applnkdir}/Network/Mail/mutt.desktop
220 %{_pixmapsdir}/mutt.png
222 %lang(pl) %{_mandir}/pl/man*/*