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