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