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