]> git.pld-linux.org Git - packages/mutt.git/blobdiff - mutt.spec
- updated to 1.5.18
[packages/mutt.git] / mutt.spec
index 11986057cbc11b8efaec5a21cb956ed8ffb40b68..2015ef94c4ab78d426573a0a02a2f06170a6223a 100644 (file)
--- a/mutt.spec
+++ b/mutt.spec
@@ -3,6 +3,7 @@
 %bcond_with    slang           # use slang library instead of ncurses
 %bcond_with    nntp            # use VVV's NNTP patch
 %bcond_with    folder_column   # build with folder_column patch
+%bcond_with    imap_recent     # show IMAP RECENT messages as new (instead of UNSEEN)
 %bcond_without sasl            # don't use sasl
 %bcond_without home_etc        # don't use home_etc
 #
@@ -17,13 +18,13 @@ Summary(ru.UTF-8):  Почтовая клиентская программа Mutt
 Summary(tr.UTF-8):     Mutt elektronik posta programı
 Summary(uk.UTF-8):     Поштова клієнтська програма Mutt
 Name:          mutt
-Version:       1.5.17
+Version:       1.5.18
 Release:       1
 Epoch:         6
 License:       GPL
 Group:         Applications/Mail
 Source0:       ftp://ftp.mutt.org/mutt/devel/%{name}-%{version}.tar.gz
-# Source0-md5: 49387458be0cb52b85ae0d73af699aae
+# Source0-md5: 27c30037120189b9f9c0d3e76361b8f8
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Source3:       %{name}.1.pl
@@ -54,6 +55,8 @@ Patch18:      %{name}-Muttrc.patch
 Patch19:       %{name}-muttbug-tmp.patch
 Patch20:       %{name}-folder_columns.patch
 Patch21:       %{name}-nr.tag_prefix_cond.patch
+Patch22:       %{name}-imap_mxcmp.patch
+Patch23:       %{name}-imap_recent.patch
 URL:           http://www.mutt.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -71,8 +74,8 @@ BuildRequires:        openssl-devel >= 0.9.7d
 %{?with_slang:BuildRequires:   slang-devel}
 BuildRequires: libxslt-progs
 Requires:      iconv
-Requires:      mailcap
 %{?with_home_etc:Requires:     home-etc >= 1.0.8}
+Suggests:      mailcap
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                specflags_ia32   -fomit-frame-pointer 
@@ -160,6 +163,8 @@ Mutt - це невеликий, але потужний повноекранни
 %{?with_folder_column:%patch20 -p1}
 # disabled - changes default behaviour
 #%patch21 -p0
+%patch22 -p1
+%{?with_imap_recent:%patch23 -p1}
 
 # force regeneration (manual.sgml is modified by some patches)
 rm -f doc/{manual*.html,manual.txt}
@@ -205,7 +210,7 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_mandir}/pl/man1}
        DESTDIR=$RPM_BUILD_ROOT \
        DOTLOCK_GROUP=
 
-%{__patch} -p0 -d $RPM_BUILD_ROOT%{_sysconfdir} < %{PATCH12}
+%{__patch} -p2 -d $RPM_BUILD_ROOT%{_sysconfdir} < %{PATCH12}
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
This page took 0.030403 seconds and 4 git commands to generate.