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