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