]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
Release 2
[packages/mutt.git] / mutt.spec
1 Summary:        The Mutt Mail User Agent
2 Summary(de):    Der Mutt Mail-User-Agent
3 Summary(es):    Mutt, cliente de correo electrónico
4 Summary(fr):    Agent courrier Mutt
5 Summary(pl):    Program pocztowy Mutt
6 Summary(pt_BR): Mutt, cliente de correio eletrônico
7 Summary(es):    Mutt, cliente de correo electrónico
8 Summary(tr):    Mutt elektronik posta programý
9 Name:           mutt
10 Version:        1.3.27i
11 Release:        2
12 Epoch:          5
13 License:        GPL
14 Group:          Applications/Mail
15 Group(de):      Applikationen/Post
16 Group(pl):      Aplikacje/Poczta
17 Group(pt):      Aplicações/Correio Eletrônico
18 Source0:        ftp://ftp.mutt.org/pub/mutt/%{name}-%{version}.tar.gz
19 Source1:        %{name}.desktop
20 Source2:        %{name}.png
21 Source3:        %{name}.1.pl
22 Patch0:         %{name}-home_etc.patch
23 Patch1:         %{name}-forcedotlock.patch
24 Patch2:         %{name}-muttbug-tmp.patch
25 Patch3:         %{name}-rr.compressed.patch.gz
26 Patch4:         %{name}-cd.edit_threads.patch
27 Patch5:         %{name}-bj.status-time.patch
28 Patch6:         %{name}-devl.narrow_tree.patch
29 Patch7:         %{name}-vvv.quote.gz
30
31 URL:            http://www.mutt.org/
32 BuildRequires:  autoconf
33 BuildRequires:  automake
34 BuildRequires:  ncurses-devel >= 5.0
35 BuildRequires:  openssl-devel >= 0.9.6a
36 %{!?_without_sasl:BuildRequires:        cyrus-sasl-devel}
37 Requires:       iconv
38 Requires:       mailcap
39 Requires:       smtpdaemon
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 Mutt is a small but very poweful full-screen Unix mail client.
44 Features include MIME support, color, POP3 support, message threading,
45 bindable keys, and threaded sorting mode.
46
47 %description -l de
48 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
49 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
50 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
51
52 %description -l es
53 Mutt es un pequeño, pero muy potente cliente de correo en pantalla
54 llena. Incluye soporte a tipos MINE, color, POP3; encadenamiento de
55 mensajes, teclas configurables y clasificaciones por encadenamiento.
56
57 %description -l fr
58 mutt est un client courrier Unix plein écran, petit mais très
59 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
60 POP, des fils de discussion, des touches liées et d'un mode de tri sur
61 les fils.
62
63 %description -l pl
64 Mutt jest niewielkim programem pocztowym dla terminali tekstowych,
65 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
66 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
67 oraz skompresowane foldery.
68
69 %description -l pt_BR
70 O Mutt é um pequeno mas muito poderoso cliente de correio em tela
71 cheia. Inclui suporte a tipos MIME, cor, POP3, encadeamento de
72 mensagens, teclas configuráveis e classificação por encadeamento.
73
74 %description -l tr
75 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
76 desteði, renk ve POP3 desteði içerir.
77
78 %prep
79 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
80 %patch0 -p1
81 %patch1 -p1
82 %patch2 -p1
83 %patch3 -p1
84 %patch4 -p1
85 %patch5 -p1
86 %patch6 -p1
87 %patch7 -p1
88
89 %build
90 autoconf
91 #PGP=%{_bindir}/pgp PGPK=%{_bindir}/pgpk
92 CFLAGS="%{optflags} -I%{_includedir}/slang" \
93 ./configure \
94         --enable-pop \
95         --enable-imap \
96         --enable-mailtool \
97         --enable-external-dotlock \
98         --enable-compressed \
99         %{!?debug:--disable-debug} %{?debug:--enable-debug} \
100         --disable-warnings \
101         --with-curses \
102         --with-iconv \
103         --with-regex \
104         --with-ssl \
105         %{!?_without_sasl:--with-sasl} %{?_without_sasl:--without-sasl} \
106         --without-included-nls \
107         --with-homespool=Maildir \
108         --with-mixmaster \
109         --with-mailpath=/var/mail \
110         --with-sharedir=%{_datadir} \
111         --with-docdir=%{_docdir}/%{name}-%{version} \
112         --prefix=%{_prefix} \
113         --bindir=%{_bindir} \
114         --sysconfdir=%{_sysconfdir} \
115         --datadir=%{_datadir} \
116         --mandir=%{_mandir} 
117
118 %{__make}
119 %{__make} manual.txt -C doc
120
121 %install
122 rm -rf $RPM_BUILD_ROOT
123 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}} \
124         $RPM_BUILD_ROOT%{_mandir}/pl/man1
125
126 %{__make} install DESTDIR=$RPM_BUILD_ROOT
127
128 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
129 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
130 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
131
132 gzip -9nf contrib/{*rc*,*cap*} \
133         ChangeLog README TODO NEWS README.SECURITY README.SSL 
134
135 # conflict with qmail
136 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5*
137
138 %find_lang %{name}
139
140 %clean
141 rm -rf $RPM_BUILD_ROOT
142
143 %files -f %{name}.lang
144 %defattr(644,root,root,755)
145 %doc *.gz contrib/{*rc*,*cap*} doc/manual*html doc/manual.txt
146 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/Muttrc
147 %attr(755,root,root) %{_bindir}/mutt
148 %attr(755,root,root) %{_bindir}/flea
149 %attr(755,root,root) %{_bindir}/muttbug
150 %attr(755,root,root) %{_bindir}/pgp*
151 %attr(2755,root,mail) %{_bindir}/mutt_dotlock
152
153 %{_applnkdir}/Network/Mail/mutt.desktop
154 %{_pixmapsdir}/mutt.png
155 %{_mandir}/man*/*
156 %lang(pl) %{_mandir}/pl/man*/*
This page took 0.044422 seconds and 4 git commands to generate.