]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
- release 5, Epoch 4 (for allow upgrade from RH 7),
[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:        5
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 URL:            http://www.mutt.org/
46 Requires:       smtpdaemon
47 Requires:       mailcap
48 BuildRequires:  ncurses-devel >= 5.0
49 BuildRequires:  openssl-devel
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52
53 %description
54 Mutt is a small but very poweful full-screen Unix mail client.
55 Features include MIME support, color, POP3 support, message threading,
56 bindable keys, and threaded sorting mode.
57
58 %description -l de
59 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für
60 Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung,
61 Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads.
62
63 %description -l fr
64 mutt est un client courrier Unix plein écran, petit mais très
65 puissant. Il dispose de la gestion MIME, des couleurs, de la gestion
66 POP, des fils de discussion, des touches liées et d'un mode de tri sur
67 les fils.
68
69 %description -l pl
70 Mutt jest niewielkim programem pocztowym dla terminali tekstowych
71 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
72 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
73 oraz skompresowane foldery.
74
75 %description -l tr
76 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
77 desteði, renk ve POP3 desteði içerir.
78
79 %prep
80 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
81 #%patch0 -p0
82 #%patch1 -p1 
83 %patch2 -p1 
84 %patch3 -p1
85 %patch4 -p1
86 %patch7 -p1
87 %patch9 -p0
88 %patch10 -p0
89 %patch12 -p1
90 %patch14 -p1
91 %patch16 -p1
92 %patch17 -p1
93 %patch18 -p1
94 %patch19 -p0
95 %patch20 -p1
96 %patch22 -p1
97 #%patch23 -p0
98 %patch25 -p1
99 %patch26 -p1
100 %patch27 -p1
101 %patch28 -p1
102 %patch29 -p1
103
104 %build
105 mv -f aclocal.m4 acinclude.m4
106 aclocal
107 automake
108 autoconf
109 CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -fno-strict-aliasing"
110 %configure \
111         --with-sharedir=%{_datadir} \
112         --enable-pop \
113         --enable-imap \
114         --with-curses \
115         --disable-warnings \
116         --disable-domain \
117         --enable-compressed \
118         --with-mailpath=/var/mail \
119         --with-homespool=Mailbox \
120         --with-ssl \
121         --with-charmaps \
122         --with-docdir=%{_defaultdocdir}/%{name}-%{version} \
123         --enable-external-dotlock \
124         --enable-locales-fix
125
126 %{__make} keymap.h
127 %{__make} 
128
129 %install
130 rm -rf $RPM_BUILD_ROOT
131 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
132
133 %{__make} install DESTDIR=$RPM_BUILD_ROOT
134
135 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
136 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
137
138 install %{SOURCE2} %{SOURCE3} .
139
140 gzip -9nf contrib/{*rc*,*cap*} \
141         ChangeLog README TODO NEWS README.SECURITY README.SSL README.UPGRADE \
142         patches_{bj,sec}.txt
143
144 %find_lang %{name}
145
146 %clean
147 rm -rf $RPM_BUILD_ROOT
148
149 %files -f %{name}.lang
150 %defattr(644,root,root,755)
151 %doc *.gz contrib/{*rc*,*cap*} doc/manual*html
152 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/Muttrc
153 %attr(755,root,root) %{_bindir}/mutt
154 %attr(755,root,root) %{_bindir}/pgpewrap
155 %attr(755,root,root) %{_bindir}/pgpring
156 %attr(755,root,root) %{_bindir}/mutt_dotlock
157
158 %{_applnkdir}/Network/Mail/mutt.desktop
159 %{_pixmapsdir}/mutt.png
160 %{_mandir}/man*/*
This page took 0.105622 seconds and 4 git commands to generate.