]> git.pld-linux.org Git - packages/mutt.git/blob - mutt.spec
added $CONFIG_DIR patch instead of ~/etc patch
[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.0
8 Release:        2i
9 Copyright:      GPL
10 Group:          Applications/Mail
11 Group(pl):      Aplikacje/Poczta
12 Source0:        ftp://riemann.iam.uni-bonn.de/pub/mutt/%{name}-%{version}i.tar.gz
13 Source1:        mutt.desktop
14 Source2:        Muttrc
15 Patch0:         mutt-mail.patch
16 Patch1:         ftp://dione.ids.pl/people/siewca/patches/mutt-confdir.patch
17 URL:            http://www.mutt.org/
18 Requires:       smtpdaemon
19 Requires:       mailcap
20 BuildRequires:  ncurses-devel >= 5.0
21 Buildroot:      /tmp/%{name}-%{version}-root
22
23 %define         _sysconfdir             /etc
24
25 %description
26 Mutt is a small but very poweful full-screen Unix mail client.
27 Features include MIME support, color, POP3 support, message threading,
28 bindable keys, and threaded sorting mode.
29
30 %description -l de
31 Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für Unix mit
32 MIME-Unterstützung, Farbe, POP3-Unterstützung, Nachrichten-Threading,
33 zuweisbaren Tasten und Sortieren nach Threads.
34
35 %description -l fr
36 mutt est un client courrier Unix plein écran, petit mais très puissant.
37 Il dispose de la gestion MIME, des couleurs, de la gestion POP, des fils
38 de discussion, des touches liées et d'un mode de tri sur les fils.
39
40 %description -l pl
41 Mutt jest niewielkim programem pocztowym dla terminali tekstowych
42 posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty
43 skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring)
44 oraz skompresowane foldery.
45
46 %description -l tr
47 Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME desteði,
48 renk ve POP3 desteði içerir.
49
50 %prep
51 %setup -q
52 %patch0 -p0
53 %patch1 -p1 
54
55 %build
56 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
57 LDFLAGS="-s"
58 export CFLAGS LDFLAGS
59 %configure \
60         --with-sharedir=%{_datadir} \
61         --enable-pop \
62         --enable-imap \
63         --with-curses \
64         --disable-warnings \
65         --disable-domain \
66         --enable-compressed \
67         --with-docdir=%{_defaultdocdir}/%{name}-%{version}
68
69 make 
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Networking/Mail
74
75 make install DESTDIR=$RPM_BUILD_ROOT
76
77 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Networking/Mail
78 install %{SOURCE2} $RPM_BUILD_ROOT/etc/Muttrc
79
80 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
81         contrib/{*rc,*cap} \
82         ChangeLog README TODO NEWS README.SECURITY
83
84 %find_lang %{name}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc {ChangeLog,README,TODO,NEWS,README.SECURITY}.gz
92
93 %config(noreplace) %verify(not size md5 mtime) /etc/Muttrc
94 /usr/X11R6/share/applnk/Networking/Mail/mutt.desktop
95
96 %attr(755,root,root) %{_bindir}/*
97 %{_mandir}/man*/*
This page took 0.062429 seconds and 3 git commands to generate.