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