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