]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
- upgrade to 1.3.26,
[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:        1
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 #PGP=%{_bindir}/pgp PGPK=%{_bindir}/pgpk \
77 CFLAGS="%{optflags} -I%{_includedir}/slang" \
78 ./configure \
79         --enable-pop \
80         --enable-imap \
81         --enable-mailtool \
82         --enable-external-dotlock \
83         %{!?debug:--disable-debug} %{?debug:--enable-debug} \
84         --disable-warnings \
85         --with-curses \
86         --with-iconv \
87         --with-regex \
88         --with-ssl \
89         %{!?_without_sasl:--with-sasl} %{?_without_sasl:--without-sasl} \
90         --without-included-nls \
91         --with-homespool=Maildir \
92         --with-mixmaster \
93         --with-mailpath=/var/mail \
94         --with-sharedir=%{_datadir} \
95         --with-docdir=%{_docdir}/%{name}-%{version} \
96         --prefix=%{_prefix} \
97         --bindir=%{_bindir} \
98         --sysconfdir=%{_sysconfdir} \
99         --datadir=%{_datadir} \
100         --mandir=%{_mandir} 
101
102 %{__make}
103 %{__make} manual.txt -C doc
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}} \
108         $RPM_BUILD_ROOT%{_mandir}/pl/man1
109
110 %{__make} install DESTDIR=$RPM_BUILD_ROOT
111
112 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
113 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
114 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
115
116 gzip -9nf contrib/{*rc*,*cap*} \
117         ChangeLog README TODO NEWS README.SECURITY README.SSL 
118
119 # conflict with qmail
120 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5*
121
122 %find_lang %{name}
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %files -f %{name}.lang
128 %defattr(644,root,root,755)
129 %doc *.gz contrib/{*rc*,*cap*} doc/manual*html doc/manual.txt
130 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/Muttrc
131 %attr(755,root,root) %{_bindir}/mutt
132 %attr(755,root,root) %{_bindir}/flea
133 %attr(755,root,root) %{_bindir}/muttbug
134 %attr(755,root,root) %{_bindir}/pgp*
135 %attr(2755,root,mail) %{_bindir}/mutt_dotlock
136
137 %{_applnkdir}/Network/Mail/mutt.desktop
138 %{_pixmapsdir}/mutt.png
139 %{_mandir}/man*/*
140 %lang(pl) %{_mandir}/pl/man*/*
This page took 0.034823 seconds and 4 git commands to generate.