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/devel/%{name}-%{version}i.tar.gz
27 # Source0-md5: 59400d12c6b5b3d122531000e53d1914
28 Source1: %{name}.desktop
31 Patch0: %{name}-pl.po-update.patch
32 Patch1: %{name}-forcedotlock.patch
33 Patch2: %{name}-rr.compressed.patch
34 Patch3: %{name}-bj.status-time.patch
35 Patch4: %{name}-vvv.quote.patch
36 Patch5: %{name}-null_name.patch
37 Patch6: %{name}-cd.trash_folder.patch
38 Patch7: %{name}-cd.purge_message.patch
39 Patch8: %{name}-cd.signatures_menu.patch
40 Patch9: %{name}-folder_columns.patch
41 Patch10: %{name}-nr.tag_prefix_cond.patch
42 Patch11: %{name}-manual.patch
43 Patch12: %{name}-send_charset.patch
44 Patch13: %{name}-xface.patch
45 Patch14: %{name}-Muttrc_mbox_path.patch
46 Patch15: %{name}-po.patch
47 Patch16: %{name}-vvv.nntp.patch
48 Patch17: %{name}-esmtp.patch
49 #Patch18: %{name}-home_etc.patch
50 # if some fuctionality is still missing, patch must be rewritten
51 #PatchXXX: %{name}-pgp_hook.patch
52 URL: http://www.mutt.org/
53 BuildRequires: autoconf
54 BuildRequires: automake
55 %{?with_sasl:BuildRequires: cyrus-sasl-devel >= 2.1.0}
56 %{?with_home_etc:BuildRequires: home-etc-devel >= 1.0.8}
57 BuildRequires: gettext-devel
58 BuildRequires: gpgme-devel >= 1:1.0.0
59 BuildRequires: libidn-devel
60 %{!?with_slang:BuildRequires: ncurses-devel >= 5.0}
61 BuildRequires: openssl-devel >= 0.9.7d
62 BuildRequires: sgml-tools
63 BuildRequires: sgml-tools-dtd
64 %{?with_slang:BuildRequires: slang-devel}
65 %{?with_esmtp:BuildRequires: libesmtp-devel}
68 #%{?with_home_etc:Requires: home-etc >= 1.0.8}
69 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71 %define specflags_ia32 -fomit-frame-pointer
74 Mutt is a small but very poweful full-screen Unix mail client.
75 Features include MIME support, color, POP3 support, message threading,
76 bindable keys, and threaded sorting mode.
79 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
80 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
81 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
84 Mutt es un pequeño, pero muy potente cliente de correo en pantalla
85 llena. Incluye soporte a tipos MINE, color, POP3; encadenamiento de
86 mensajes, teclas configurables y clasificaciones por encadenamiento.
89 mutt est un client courrier Unix plein écran, petit mais très
90 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
91 POP, des fils de discussion, des touches liées et d'un mode de tri sur
95 Mutt´Â ÀÛÁö¸¸ ¸Å¿ì °·ÂÇÑ ÅؽºÆ® ±â¹ÝÀÇ ¸ÞÀÏ Å¬¶óÀ̾ðÆ®ÀÌ´Ù. Mutt´Â
96 ¸¹Àº ¼³Á¤ÀÌ °¡´ÉÇÏ´Ù. ±×¸®°í, Å°¹ÙÀεù, Å°º¸µå ¸ÞÅ©·Î, ¸ÞÀÏ ½º·¹µù°ú
97 °°Àº Áøº¸µÈ ÇüÅÂ¿Í Á¤±ÔÇ¥Çö½Ä °Ë»ö, ¸ÞÀÏ¿¡¼ ¼±ÅÃµÈ ±×·ìÀÇ ³»¿ë¿¡¼
98 °·ÂÇÏ°Ô ÀÏÁ¤ÇÑ ÆÐÅÏÀ» ã¾Æ³»´Â °ÍÀ» Áö¿øÇÔÀ¸·Î½á ¸ÞÀÏÀÇ ÆÄ¿ö À¯Àú¿¡°Ô
102 Mutt jest niewielkim programem pocztowym dla terminali tekstowych,
103 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
104 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
105 oraz skompresowane foldery.
107 %description -l pt_BR
108 O Mutt é um pequeno mas muito poderoso cliente de correio em tela
109 cheia. Inclui suporte a tipos MIME, cor, POP3, encadeamento de
110 mensagens, teclas configuráveis e classificação por encadeamento.
113 Mutt - ÜÔÏ ÎÅÂÏÌØÛÏÊ, ÎÏ ÍÏÝÎÙÊ ÐÏÌÎÏÜËÒÁÎÎÙÊ ÐÏÞÔÏ×ÙÊ ËÌÉÅÎÔ.
114 ÷ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ MIME, Ã×ÅÔ, ÐÏÄÄÅÒÖËÕ POP3 É IMAP, ÇÒÕÐÐÉÒÏ×ËÕ
115 ÓÏÏÂÝÅÎÉÊ ÐÏ ÃÅÐÏÞËÁÍ, ÐÅÒÅÏÐÒÅÄÅÌÑÅÍÙÅ ËÌÁ×ÉÛÉ, ÐÏÄÄÅÒÖËÕ pgp/gpg É
116 ÓÏÒÔÉÒÏ×ËÕ ÓÏÏÂÝÅÎÉÊ × ÃÅÐÏÞËÁÈ. ÷ËÌÀÞÁÅÔ ÔÁËÖÅ (ÐÏËÁ ÞÔÏ
117 ÜËÓÐÅÒÉÍÅÎÔÁÌØÎÕÀ) ÐÏÄÄÅÒÖËÕ NNTP.
120 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
121 desteði, renk ve POP3 desteði içerir.
124 Mutt - ÃÅ ÎÅ×ÅÌÉËÉÊ, ÁÌÅ ÐÏÔÕÖÎÉÊ ÐÏ×ÎÏÅËÒÁÎÎÉÊ ÐÏÛÔÏ×ÉÊ Ë̦¤ÎÔ.
125 í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ MIME, ËÏ̦Ò, ЦÄÔÒÉÍËÕ POP3 ÔÁ IMAP, ÇÒÕÐÕ×ÁÎÎÑ
126 ÐÏצÄÏÍÌÅÎØ ÐÏ ÌÁÎÃÀÖËÁÍ, ÐÅÒÅ×ÉÚÎÁÞÅÎÎÑ ËÌÁצÛ, ЦÄÔÒÉÍËÕ pgp/gpg ÔÁ
127 ÓÏÒÔÕ×ÁÎÎÑ ÐÏצÄÏÍÌÅÎØ Õ ÌÁÎÃÀÖËÁÈ. í¦ÓÔÉÔØ ÔÁËÏÖ (ÐÏËÉ ÝÏ
128 ÅËÓÐÅÒÉÍÅÎÔÁÌØÎÕ) ЦÄÔÒÉÍËÕ NNTP.
141 # breaks display if arrow_cursor is set
142 %{?with_folder_column:%patch9 -p1}
143 # disabled - changes default behaviour
150 %{?with_nntp:%patch16 -p1}
151 %{?with_esmtp:%patch17 -p1}
152 #%{?with_home_etc:%patch18 -p1}
154 # force regeneration (manual.sgml is modified by some patches)
155 rm -f doc/{manual*.html,manual.txt}
163 %{!?debug:--disable-debug} %{?debug:--enable-debug} \
165 --enable-compressed \
166 --enable-external-dotlock \
170 %{?with_nntp:--enable-nntp} \
173 %{!?with_slang:--with-curses} \
174 %{?with_slang:--with-slang} \
175 --with-docdir=%{_docdir}/%{name} \
176 %{?with_home_etc:--with-home-etc} %{!?with_home_etc:--without-home-etc} \
177 --with-homespool=Maildir \
178 %{?with_esmtp:--enable-libesmtp --with-libesmtp=/usr} \
179 --with-mailpath=/var/mail \
182 %{?with_sasl:--with-sasl2} \
184 --without-included-gettext
187 %{__make} manual.txt -C doc
190 rm -rf $RPM_BUILD_ROOT
191 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_mandir}/pl/man1}
194 DESTDIR=$RPM_BUILD_ROOT
196 %{__patch} -p0 -d $RPM_BUILD_ROOT%{_sysconfdir} < %{PATCH12}
198 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
199 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
200 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
202 # keep manual.txt.gz, the rest is installed as %doc
203 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/[!m]*
204 gzip -9nf $RPM_BUILD_ROOT%{_docdir}/%{name}/manual.txt
206 # conflict with qmail
207 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5*
209 rm -f $RPM_BUILD_ROOT/etc/mime.types
214 rm -rf $RPM_BUILD_ROOT
216 %files -f %{name}.lang
217 %defattr(644,root,root,755)
218 %doc contrib/{*rc*,*cap*} ChangeLog README TODO NEWS README.SECURITY README.SSL README.xface %{?with_esmtp:Muttrc.esmtp}
219 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/Muttrc
220 %attr(755,root,root) %{_bindir}/mutt
221 %attr(755,root,root) %{_bindir}/flea
222 %attr(755,root,root) %{_bindir}/muttbug
223 %attr(755,root,root) %{_bindir}/pgp*
224 %attr(755,root,root) %{_bindir}/smime_keys
225 %attr(2755,root,mail) %{_bindir}/mutt_dotlock
228 %{_desktopdir}/*.desktop
229 %{_pixmapsdir}/mutt.png
231 %lang(pl) %{_mandir}/pl/man*/*