]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
- up to 1.3.27i (bugfix), Epoch=4 again
[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:        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}-home_etc.patch
23 Patch1:         %{name}-forcedotlock.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 %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 autoconf
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-mixmaster \
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.033751 seconds and 4 git commands to generate.