]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
92eab2cda762c2e2aba016a8bc8bce11e29ca573
[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.1.11i
8 Release:        2
9 License:        GPL
10 Group:          Applications/Mail
11 Group(pt):      Aplicações/Correio Eletrônico
12 Group(pl):      Aplikacje/Poczta
13 Source0:        ftp://riemann.iam.uni-bonn.de/pub/mutt/%{name}-%{version}.tar.gz
14 Source1:        mutt.desktop
15 Source2:        patches_sec.txt
16 Source3:        patches_bj.txt
17 Patch0:         mutt-mail.patch
18 #Patch1:        mutt-confdir.patch
19 Patch2:         http://www.spinnaker.de/mutt/patch-1.1.10.rr.compressed.1.gz
20 # Part of that patches I changed by hand to fit them into newer version
21 # (bonkey)
22 Patch3:         patch-0.00.sec+bonk.patchlist.1
23 Patch7:         http://sec.42.org/mutt/patch-0.94.7.sec.previous_jump.1
24 Patch9:         http://sec.42.org/mutt/patch-0.94.7.vikas.word_chars.1
25 Patch10:        http://sec.42.org/mutt/patch-0.95.3.bj.ed_mtime.1
26 Patch12:        http://sec.42.org/mutt/patch-0.95.4.bj.status-time.1
27 Patch14:        http://sec.42.org/mutt/patch-0.95.4.sec.keypad.1
28 Patch16:        http://sec.42.org/mutt/patch-0.95.4.sec.reverse_reply.1
29 Patch17:        http://sec.42.org/mutt/patch-0.95.4.vikas.print_index.1
30 Patch18:        http://sec.42.org/mutt/patch-0.95.6.as.mark-old.1
31 Patch19:        http://sec.42.org/mutt/patch-0.95.bj.hash_destroy.2
32 Patch20:        http://sec.42.org/mutt/patch-0.95.sec.condense_pgp.1
33 Patch22:        http://sec.42.org/mutt/patch-1.02.sec._A.1
34 Patch23:        http://www.murkworks.to/blank-line.patch
35 #Patch24:       http://www.albedo.art.pl/~kbryd/mutt/mutt_package.tar.gz
36 URL:            http://www.mutt.org/
37 Requires:       smtpdaemon
38 Requires:       mailcap
39 BuildRequires:  ncurses-devel >= 5.0
40 BuildRequires:  openssl-devel
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43
44 %description
45 Mutt is a small but very poweful full-screen Unix mail client. Features
46 include MIME support, color, POP3 support, message threading, bindable
47 keys, and threaded sorting mode.
48
49 %description -l de
50 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für Unix
51 mit MIME-Unterstützung, Farbe, POP3-Unterstützung, Nachrichten-Threading,
52 zuweisbaren Tasten und Sortieren nach Threads.
53
54 %description -l fr
55 mutt est un client courrier Unix plein écran, petit mais très puissant. Il
56 dispose de la gestion MIME, des couleurs, de la gestion POP, des fils de
57 discussion, des touches liées et d'un mode de tri sur les fils.
58
59 %description -l pl
60 Mutt jest niewielkim programem pocztowym dla terminali tekstowych
61 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty skrzynek
62 pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring) oraz
63 skompresowane foldery.
64
65 %description -l tr
66 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME
67 desteði, renk ve POP3 desteði içerir.
68
69 %prep
70 %setup -q -n %{name}-%(echo %{version} | sed 's/i$//')
71 %patch0 -p0
72 # %patch1 -p1 
73 %patch2 -p1 
74 %patch3 -p1
75 %patch7 -p1
76 %patch9 -p0
77 %patch10 -p0
78 %patch12 -p1
79 %patch14 -p1
80 %patch16 -p1
81 %patch17 -p1
82 %patch18 -p1
83 %patch19 -p0
84 %patch20 -p1
85 %patch22 -p1
86 %patch23 -p0
87
88 %build
89 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
90 LDFLAGS="-s"
91 export CFLAGS LDFLAGS
92 %configure \
93         --with-sharedir=%{_datadir} \
94         --enable-pop \
95         --enable-imap \
96         --with-curses \
97         --disable-warnings \
98         --disable-domain \
99         --with-ssl \
100         --with-charmaps \
101         --with-homespool=Mailbox \
102         --enable-compressed \
103         --with-docdir=%{_defaultdocdir}/%{name}-%{version}
104
105 make keymap.h
106 make 
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT%{_applnkdir}/Networking/Mail
111
112 make install DESTDIR=$RPM_BUILD_ROOT
113
114 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Networking/Mail
115 install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT/%{_docdir}
116
117 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
118         contrib/{*rc,*cap} \
119         ChangeLog README TODO NEWS README.SECURITY README.SSL README.UPGRADE \
120         $RPM_BUILD_ROOT%{_docdir}/patches_{bj,sec}.txt
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 {ChangeLog,README,TODO,NEWS,README.SECURITY,README.SSL,README.UPGRADE}.gz
130 %doc doc/manual*html
131 %doc doc/patches_{bj,sec}.txt.gz
132
133 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/Muttrc
134 %{_applnkdir}/Networking/Mail/mutt.desktop
135
136 %attr(755,root,root) %{_bindir}/*
137 %{_mandir}/man*/*
This page took 0.040192 seconds and 3 git commands to generate.