]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
- added _without_sasl trailing comment
[packages/mutt.git] / mutt.spec
1 #
2 # Conditional build:
3 # _with_slang   - use slang library instead of ncurses
4 # _with_nntp    - use VVV's NNTP patch
5 # _without_sasl - don't use sasl
6 #
7 Summary:        The Mutt Mail User Agent
8 Summary(de):    Der Mutt Mail-User-Agent
9 Summary(es):    Mutt, cliente de correo electrónico
10 Summary(fr):    Agent courrier Mutt
11 Summary(ko):    ÅؽºÆ® ±â¹ÝÀÇ MUA
12 Summary(pl):    Program pocztowy Mutt
13 Summary(pt_BR): Mutt, cliente de correio eletrônico
14 Summary(ru):    ðÏÞÔÏ×ÁÑ ËÌÉÅÎÔÓËÁÑ ÐÒÏÇÒÁÍÍÁ Mutt
15 Summary(tr):    Mutt elektronik posta programý
16 Summary(uk):    ðÏÛÔÏ×Á Ë̦¤ÎÔÓØËÁ ÐÒÏÇÒÁÍÁ Mutt
17 Name:           mutt
18 Version:        1.4.1
19 Release:        2
20 Epoch:          5
21 License:        GPL
22 Group:          Applications/Mail
23 Source0:        ftp://ftp.mutt.org/mutt/%{name}-%{version}i.tar.gz
24 Source1:        %{name}.desktop
25 Source2:        %{name}.png
26 Source3:        %{name}.1.pl
27 Patch0:         %{name}-home_etc.patch
28 Patch1:         %{name}-forcedotlock.patch
29 Patch2:         %{name}-muttbug-tmp.patch
30 Patch3:         %{name}-rr.compressed.patch
31 Patch4:         %{name}-cd.edit_threads.patch
32 Patch5:         %{name}-bj.status-time.patch
33 Patch6:         %{name}-devl.narrow_tree.patch
34 Patch7:         %{name}-vvv.quote.gz
35 Patch8:         %{name}-null_name.patch
36 Patch9:         %{name}-cd.trash_folder.patch
37 Patch10:        %{name}-cd.purge_message.patch
38 Patch11:        %{name}-cd.signatures_menu.patch
39 Patch12:        %{name}-folder_columns.patch
40 Patch13:        %{name}-nr.tag_prefix_cond.patch
41 Patch14:        %{name}-LIBOBJ.patch
42 Patch15:        %{name}-pgp_hook.patch
43 Patch16:        %{name}-manual.patch
44 Patch17:        %{name}-send_charset.patch
45 Patch18:        %{name}-xface.patch
46 Patch19:        %{name}-sasl2.patch
47 Patch20:        %{name}-nntp.patch
48 URL:            http://www.mutt.org/
49 BuildRequires:  autoconf
50 BuildRequires:  automake
51 %{!?_without_sasl:BuildRequires:        cyrus-sasl-devel >= 2.1.0}
52 BuildRequires:  gettext-devel
53 %{!?_with_slang:BuildRequires:          ncurses-devel >= 5.0}
54 BuildRequires:  openssl-devel >= 0.9.7
55 BuildRequires:  sgml-tools
56 BuildRequires:  sgml-tools-dtd
57 %{?_with_slang:BuildRequires:           slang-devel}
58 Requires:       iconv
59 Requires:       mailcap
60 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61
62 %description
63 Mutt is a small but very poweful full-screen Unix mail client.
64 Features include MIME support, color, POP3 support, message threading,
65 bindable keys, and threaded sorting mode.
66
67 %description -l de
68 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
69 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
70 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
71
72 %description -l es
73 Mutt es un pequeño, pero muy potente cliente de correo en pantalla
74 llena. Incluye soporte a tipos MINE, color, POP3; encadenamiento de
75 mensajes, teclas configurables y clasificaciones por encadenamiento.
76
77 %description -l fr
78 mutt est un client courrier Unix plein écran, petit mais très
79 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
80 POP, des fils de discussion, des touches liées et d'un mode de tri sur
81 les fils.
82
83 %description -l ko
84 Mutt´Â ÀÛÁö¸¸ ¸Å¿ì °­·ÂÇÑ ÅؽºÆ® ±â¹ÝÀÇ ¸ÞÀϠŬ¶óÀ̾ðÆ®ÀÌ´Ù. Mutt´Â
85 ¸¹Àº ¼³Á¤ÀÌ °¡´ÉÇÏ´Ù. ±×¸®°í, Å°¹ÙÀεù, Å°º¸µå ¸ÞÅ©·Î, ¸ÞÀÏ ½º·¹µù°ú
86 °°Àº Áøº¸µÈ ÇüÅ¿͠Á¤±ÔÇ¥Çö½Ä °Ë»ö, ¸ÞÀÏ¿¡¼­ ¼±ÅõȠ±×·ìÀÇ ³»¿ë¿¡¼­
87 °­·ÂÇÏ°Ô ÀÏÁ¤ÇÑ ÆÐÅÏÀ» Ã£¾Æ³»´Â °ÍÀ» Áö¿øÇÔÀ¸·Î½á ¸ÞÀÏÀÇ ÆÄ¿ö À¯Àú¿¡°Ô
88 °¡Àå ÀûÇÕÇÏ´Ù.
89
90 %description -l pl
91 Mutt jest niewielkim programem pocztowym dla terminali tekstowych,
92 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
93 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
94 oraz skompresowane foldery.
95
96 %description -l pt_BR
97 O Mutt é um pequeno mas muito poderoso cliente de correio em tela
98 cheia. Inclui suporte a tipos MIME, cor, POP3, encadeamento de
99 mensagens, teclas configuráveis e classificação por encadeamento.
100
101 %description -l ru
102 Mutt - ÜÔÏ ÎÅÂÏÌØÛÏÊ, ÎÏ ÍÏÝÎÙÊ ÐÏÌÎÏÜËÒÁÎÎÙÊ ÐÏÞÔÏ×ÙÊ ËÌÉÅÎÔ.
103 ÷ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ MIME, Ã×ÅÔ, ÐÏÄÄÅÒÖËÕ POP3 É IMAP, ÇÒÕÐÐÉÒÏ×ËÕ
104 ÓÏÏÂÝÅÎÉÊ ÐÏ ÃÅÐÏÞËÁÍ, ÐÅÒÅÏÐÒÅÄÅÌÑÅÍÙÅ ËÌÁ×ÉÛÉ, ÐÏÄÄÅÒÖËÕ pgp/gpg É
105 ÓÏÒÔÉÒÏ×ËÕ ÓÏÏÂÝÅÎÉÊ × ÃÅÐÏÞËÁÈ. ÷ËÌÀÞÁÅÔ ÔÁËÖÅ (ÐÏËÁ ÞÔÏ
106 ÜËÓÐÅÒÉÍÅÎÔÁÌØÎÕÀ) ÐÏÄÄÅÒÖËÕ NNTP.
107
108 %description -l tr
109 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
110 desteði, renk ve POP3 desteði içerir.
111
112 %description -l uk
113 Mutt - ÃÅ ÎÅ×ÅÌÉËÉÊ, ÁÌÅ ÐÏÔÕÖÎÉÊ ÐÏ×ÎÏÅËÒÁÎÎÉÊ ÐÏÛÔÏ×ÉÊ Ë̦¤ÎÔ.
114 í¦ÓÔÉÔؠЦÄÔÒÉÍËÕ MIME, ËÏ̦Ò, Ð¦ÄÔÒÉÍËÕ POP3 ÔÁ IMAP, ÇÒÕÐÕ×ÁÎÎÑ
115 ÐÏצÄÏÍÌÅÎØ ÐÏ ÌÁÎÃÀÖËÁÍ, ÐÅÒÅ×ÉÚÎÁÞÅÎÎÑ ËÌÁצÛ, Ð¦ÄÔÒÉÍËÕ pgp/gpg ÔÁ
116 ÓÏÒÔÕ×ÁÎÎÑ ÐÏצÄÏÍÌÅÎØ Õ ÌÁÎÃÀÖËÁÈ. í¦ÓÔÉÔØ ÔÁËÏÖ (ÐÏËÉ ÝÏ
117 ÅËÓÐÅÒÉÍÅÎÔÁÌØÎÕ) Ð¦ÄÔÒÉÍËÕ NNTP.
118
119 %prep
120 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
121 %patch0 -p1
122 %patch1 -p1
123 %patch2 -p1
124 %patch3 -p1
125 %patch4 -p1
126 %patch5 -p1
127 %patch6 -p1
128 %patch7 -p1
129 %patch8 -p1
130 %patch9 -p1
131 %patch10 -p1
132 %patch11 -p1
133 %patch12 -p1
134 #%patch13 -p0
135 %patch14 -p1
136 %patch15 -p1
137 %patch16 -p1
138 %patch18 -p1
139 %{!?_without_sasl:%patch19 -p1}
140 %{?_with_nntp:%patch20 -p1}
141
142 # force regeneration (manual.sgml is modified by some patches)
143 rm -f doc/{manual*.html,manual.txt}
144
145 %build
146 %{__aclocal} -I m4
147 %{__autoconf}
148 %{__automake}
149 %configure \
150         %{!?debug:--disable-debug} %{?debug:--enable-debug} \
151         %{!?_with_slang:--with-curses} \
152         %{?_with_slang:--with-slang} \
153         --enable-compressed \
154         --enable-external-dotlock \
155         --enable-imap \
156         --without-included-gettext \
157         --enable-mailtool \
158         --with-mixmaster \
159         --enable-pop \
160         %{?_with_nntp:--enable-nntp} \
161         --with-regex \
162         %{!?_without_sasl:--with-sasl} %{?_without_sasl:--without-sasl} \
163         --with-ssl \
164         --disable-warnings \
165         --with-docdir=%{_docdir}/%{name}-%{version} \
166         --with-homespool=Maildir \
167         --with-mailpath=/var/mail \
168         --with-sharedir=%{_datadir} \
169         --prefix=%{_prefix} \
170         --bindir=%{_bindir} \
171         --datadir=%{_datadir} \
172         --mandir=%{_mandir} \
173         --sysconfdir=%{_sysconfdir}
174
175 %{__make}
176 %{__make} manual.txt -C doc
177
178 %install
179 rm -rf $RPM_BUILD_ROOT
180 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}} \
181         $RPM_BUILD_ROOT%{_mandir}/pl/man1
182
183 %{__make} install DESTDIR=$RPM_BUILD_ROOT
184
185 %{__patch} -p0 -d $RPM_BUILD_ROOT%{_sysconfdir} < %PATCH17
186
187 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
188 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
189 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
190
191 # conflict with qmail
192 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5*
193
194 rm -f $RPM_BUILD_ROOT/etc/mime.types
195
196 %find_lang %{name}
197
198 %clean
199 rm -rf $RPM_BUILD_ROOT
200
201 %files -f %{name}.lang
202 %defattr(644,root,root,755)
203 %doc contrib/{*rc*,*cap*} ChangeLog README TODO NEWS README.SECURITY README.SSL doc/manual.txt README.xface
204 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/Muttrc
205 %attr(755,root,root) %{_bindir}/mutt
206 %attr(755,root,root) %{_bindir}/flea
207 %attr(755,root,root) %{_bindir}/muttbug
208 %attr(755,root,root) %{_bindir}/pgp*
209 %attr(2755,root,mail) %{_bindir}/mutt_dotlock
210
211 %{_applnkdir}/Network/Mail/mutt.desktop
212 %{_pixmapsdir}/mutt.png
213 %{_mandir}/man*/*
214 %lang(pl) %{_mandir}/pl/man*/*
This page took 0.044804 seconds and 4 git commands to generate.