]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
- release 6.
[packages/mutt.git] / mutt.spec
1 Summary:        The Mutt Mail User Agent
2 Summary(de):    Der Mutt Mail-User-Agent 
3 Summary(fr):    Agent courrier Mutt
4 Summary(pl):    Program pocztowy Mutt
5 Summary(tr):    Mutt elektronik posta programý
6 Name:           mutt
7 Version:        1.2.5i
8 Release:        6
9 Epoch:          4
10 License:        GPL
11 Group:          Applications/Mail
12 Group(de):      Applikationen/Post
13 Group(pl):      Aplikacje/Poczta
14 Group(pt):      Aplicações/Correio Eletrônico
15 Source0:        ftp://ftp.mutt.org/pub/mutt/%{name}-%{version}.tar.gz
16 Source1:        %{name}.desktop
17 Source2:        patches_sec.txt
18 Source3:        patches_bj.txt
19 Source4:        %{name}.png
20 #Patch0:        %{name}-mail.patch
21 #Patch1:        %{name}-confdir.patch
22 Patch2:         http://www.spinnaker.de/mutt/patch-1.2.rr.compressed.1.gz
23 # Part of that patches I changed by hand to fit them into newer version
24 # (bonkey)
25 Patch3:         patch-0.00.sec+bonk.patchlist.1
26 Patch4:         %{name}-blanklines.patch
27 Patch7:         http://sec.42.org/mutt/patch-0.94.7.sec.previous_jump.1
28 Patch9:         http://sec.42.org/mutt/patch-0.94.7.vikas.word_chars.1
29 Patch10:        http://sec.42.org/mutt/patch-0.95.3.bj.ed_mtime.1
30 Patch12:        http://sec.42.org/mutt/patch-0.95.4.bj.status-time.1
31 Patch14:        http://sec.42.org/mutt/patch-0.95.4.sec.keypad.1
32 Patch16:        http://sec.42.org/mutt/patch-0.95.4.sec.reverse_reply.1
33 Patch17:        http://sec.42.org/mutt/patch-0.95.4.vikas.print_index.1
34 Patch18:        http://sec.42.org/mutt/patch-0.95.6.as.mark-old.1
35 Patch19:        http://sec.42.org/mutt/patch-0.95.bj.hash_destroy.2
36 Patch20:        http://sec.42.org/mutt/patch-0.95.sec.condense_pgp.1
37 Patch22:        http://sec.42.org/mutt/patch-1.02.sec._A.1
38 #Patch23:       http://www.murkworks.to/blank-line.patch
39 #Patch24:       http://www.albedo.art.pl/~kbryd/mutt/%{name}_package.tar.gz
40 Patch25:        %{name}-dot-lock.patch
41 Patch26:        %{name}-pl.po.patch
42 Patch27:        %{name}-nosetgid.patch
43 Patch28:        %{name}-md5.patch
44 Patch29:        %{name}-imap.patch
45 Patch30:        %{name}-amfix.patch
46 URL:            http://www.mutt.org/
47 Requires:       smtpdaemon
48 Requires:       mailcap
49 BuildRequires:  ncurses-devel >= 5.0
50 BuildRequires:  openssl-devel
51 BuildRequires:  autoconf
52 BuildRequires:  automake
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
55
56 %description
57 Mutt is a small but very poweful full-screen Unix mail client.
58 Features include MIME support, color, POP3 support, message threading,
59 bindable keys, and threaded sorting mode.
60
61 %description -l de
62 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
63 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
64 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
65
66 %description -l fr
67 mutt est un client courrier Unix plein écran, petit mais très
68 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
69 POP, des fils de discussion, des touches liées et d'un mode de tri sur
70 les fils.
71
72 %description -l pl
73 Mutt jest niewielkim programem pocztowym dla terminali tekstowych
74 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
75 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
76 oraz skompresowane foldery.
77
78 %description -l tr
79 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
80 desteði, renk ve POP3 desteði içerir.
81
82 %prep
83 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
84 #%patch0 -p0
85 #%patch1 -p1 
86 %patch2 -p1 
87 %patch3 -p1
88 %patch4 -p1
89 %patch7 -p1
90 %patch9 -p0
91 %patch10 -p0
92 %patch12 -p1
93 %patch14 -p1
94 %patch16 -p1
95 %patch17 -p1
96 %patch18 -p1
97 %patch19 -p0
98 %patch20 -p1
99 %patch22 -p1
100 #%patch23 -p0
101 %patch25 -p1
102 %patch26 -p1
103 %patch27 -p1
104 %patch28 -p1
105 %patch29 -p1
106 %patch30 -p1
107
108 %build
109 aclocal
110 autoconf
111 automake -a -c
112 CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -fno-strict-aliasing"
113 %configure \
114         --with-sharedir=%{_datadir} \
115         --enable-pop \
116         --enable-imap \
117         --with-curses \
118         --disable-warnings \
119         --disable-domain \
120         --enable-compressed \
121         --with-mailpath=/var/mail \
122         --with-homespool=Mailbox \
123         --with-ssl \
124         --with-charmaps \
125         --with-docdir=%{_defaultdocdir}/%{name}-%{version} \
126         --enable-external-dotlock \
127         --enable-locales-fix
128
129 %{__make} keymap.h
130 %{__make} 
131
132 %install
133 rm -rf $RPM_BUILD_ROOT
134 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
135
136 %{__make} install DESTDIR=$RPM_BUILD_ROOT
137
138 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
139 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
140
141 install %{SOURCE2} %{SOURCE3} .
142
143 gzip -9nf contrib/{*rc*,*cap*} \
144         ChangeLog README TODO NEWS README.SECURITY README.SSL README.UPGRADE \
145         patches_{bj,sec}.txt
146
147 %find_lang %{name}
148
149 %clean
150 rm -rf $RPM_BUILD_ROOT
151
152 %files -f %{name}.lang
153 %defattr(644,root,root,755)
154 %doc *.gz contrib/{*rc*,*cap*} doc/manual*html
155 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/Muttrc
156 %attr(755,root,root) %{_bindir}/mutt
157 %attr(755,root,root) %{_bindir}/pgpewrap
158 %attr(755,root,root) %{_bindir}/pgpring
159 %attr(755,root,root) %{_bindir}/mutt_dotlock
160
161 %{_applnkdir}/Network/Mail/mutt.desktop
162 %{_pixmapsdir}/mutt.png
163 %{_mandir}/man*/*
This page took 0.079865 seconds and 4 git commands to generate.