]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
- gettextize removed
[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 %{__aclocal} -I m4
134 %{__autoconf}
135 %{__automake}
136 %configure \
137         %{!?debug:--disable-debug} %{?debug:--enable-debug} \
138         %{!?_with_slang:--with-curses} \
139         %{?_with_slang:--with-slang} \
140         --enable-compressed \
141         --enable-external-dotlock \
142         --enable-imap \
143         --without-included-gettext \
144         --enable-mailtool \
145         --with-mixmaster \
146         --enable-pop \
147         %{?_with_nntp:--enable-nntp} \
148         --with-regex \
149         %{!?_without_sasl:--with-sasl} %{?_without_sasl:--without-sasl} \
150         --with-ssl \
151         --disable-warnings \
152         --with-docdir=%{_docdir}/%{name}-%{version} \
153         --with-homespool=Maildir \
154         --with-mailpath=/var/mail \
155         --with-sharedir=%{_datadir} \
156         --prefix=%{_prefix} \
157         --bindir=%{_bindir} \
158         --datadir=%{_datadir} \
159         --mandir=%{_mandir} \
160         --sysconfdir=%{_sysconfdir}
161
162 %{__make}
163 %{__make} manual.txt -C doc
164
165 %install
166 rm -rf $RPM_BUILD_ROOT
167 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}} \
168         $RPM_BUILD_ROOT%{_mandir}/pl/man1
169
170 %{__make} install DESTDIR=$RPM_BUILD_ROOT
171
172 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
173 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
174 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
175
176 # conflict with qmail
177 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5*
178
179 rm -f $RPM_BUILD_ROOT/etc/mime.types
180
181 %find_lang %{name}
182
183 %clean
184 rm -rf $RPM_BUILD_ROOT
185
186 %files -f %{name}.lang
187 %defattr(644,root,root,755)
188 %doc contrib/{*rc*,*cap*} ChangeLog README TODO NEWS README.SECURITY README.SSL doc/manual.txt
189 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/Muttrc
190 %attr(755,root,root) %{_bindir}/mutt
191 %attr(755,root,root) %{_bindir}/flea
192 %attr(755,root,root) %{_bindir}/muttbug
193 %attr(755,root,root) %{_bindir}/pgp*
194 %attr(2755,root,mail) %{_bindir}/mutt_dotlock
195
196 %{_applnkdir}/Network/Mail/mutt.desktop
197 %{_pixmapsdir}/mutt.png
198 %{_mandir}/man*/*
199 %lang(pl) %{_mandir}/pl/man*/*
This page took 0.038334 seconds and 4 git commands to generate.