X-Git-Url: https://git.pld-linux.org/?p=packages%2Fmutt.git;a=blobdiff_plain;f=mutt.spec;h=bcd81196a76acf7ca00fe01fc223b10f1baf5b97;hp=aab4368ed120385f26fcd18bbeaf6fdee415d2cb;hb=c9b5359c6c0dff8b249320902012da18ca7f1720;hpb=1f2c1951d7a8d563c7c404e3634a3452c061e9ad diff --git a/mutt.spec b/mutt.spec index aab4368..bcd8119 100644 --- a/mutt.spec +++ b/mutt.spec @@ -3,11 +3,10 @@ # - gss/heimdal # - finish -folder_columns.patch # - update/drop -home_etc.patch -# - update/drop -nntp.patch # - update/drop -imap_recent.patch -# - update -pl.po-update.patch # # Conditional build: +%bcond_without autocrypt # disable autocrypt support %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 @@ -32,14 +31,13 @@ Summary(ru.UTF-8): Почтовая клиентская программа Mutt Summary(tr.UTF-8): Mutt elektronik posta programı Summary(uk.UTF-8): Поштова клієнтська програма Mutt Name: mutt -Version: 1.11.0 -Release: 0.0.1 +Version: 2.0.7 +Release: 1 Epoch: 6 License: GPL v2+ Group: Applications/Mail -# temporarily dead? (Jun 2014) Source0: ftp://ftp.mutt.org/pub/mutt/%{name}-%{version}.tar.gz -# Source0-md5: b58fdddf76a880c6314c9d4df2c32efb +# Source0-md5: ba33c54a11ccd409aacb16039d36ddd2 Source1: %{name}.desktop Source2: %{name}.png Source3: %{name}.1.pl @@ -52,14 +50,14 @@ Patch4: %{name}-cd.signatures_menu.patch # http://www.mutt.ca/patches/ (dw.crypt-autoselectkey) Patch5: %{name}-crypt-autoselectkey.patch Patch6: %{name}-manual.patch -Patch7: %{name}-xface.patch -Patch8: %{name}-Muttrc_mbox_path.patch -Patch9: %{name}-po.patch -Patch10: %{name}-Muttrc.head.patch -Patch11: %{name}-smime.rc.patch -Patch12: %{name}-db.patch -Patch13: format-security.patch -Patch14: %{name}-keep_to.patch +Patch7: %{name}-Muttrc_mbox_path.patch +Patch8: %{name}-po.patch +Patch9: %{name}-Muttrc.head.patch +Patch10: %{name}-smime.rc.patch +Patch11: %{name}-db.patch +Patch12: format-security.patch +Patch13: %{name}-keep_to.patch +Patch14: %{name}-vvv.initials.patch # applied during %%install Patch50: %{name}-Muttrc.patch # bcond-related patches @@ -77,8 +75,10 @@ BuildRequires: docbook-dtd42-xml BuildRequires: docbook-style-xsl %{?with_gdbm:BuildRequires: gdbm-devel} BuildRequires: gettext-tools -BuildRequires: gpgme-devel >= 1:1.1.1 +BuildRequires: gpgme-devel >= 1:1.4.0 +%{?with_autocrypt:BuildRequires: gpgme-devel >= 1:1.8.0} %{?with_home_etc:BuildRequires: home-etc-devel >= 1.0.8} +BuildRequires: libgpg-error-devel >= 1.33 BuildRequires: libidn-devel BuildRequires: libxslt-progs BuildRequires: lynx @@ -86,9 +86,12 @@ BuildRequires: lynx BuildRequires: openssl-devel >= 0.9.7d %{?with_qdbm:BuildRequires: qdbm-devel} %{?with_slang:BuildRequires: slang-devel} +%{?with_autocrypt:BuildRequires: sqlite3-devel >= 3.20} %{?with_tokyocabinet:BuildRequires: tokyocabinet-devel} +Requires: gpgme >= 1:1.4.0 %{?with_home_etc:Requires: home-etc-lib >= 1.0.8} Requires: iconv +Requires: libgpg-error >= 1.33 Suggests: mailcap BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -172,10 +175,10 @@ Mutt - це невеликий, але потужний повноекранни %{?with_nntp:%patch102 -p1} # breaks display if arrow_cursor is set %{?with_folder_column:%patch103 -p1} -%{?with_imap_recent:%patch1043 -p1} +%{?with_imap_recent:%patch104 -p1} # force regeneration (manual.sgml is modified by some patches) -%{__rm} doc/{manual*.html,manual.txt} +%{__rm} doc/manual*.html %build %{__aclocal} -I m4 @@ -195,7 +198,9 @@ Mutt - це невеликий, але потужний повноекранни --enable-mailtool \ %{?with_nntp:--enable-nntp} \ --enable-pop \ + --enable-sidebar \ --enable-smtp \ + %{?with_autocrypt:--with-sqlite3 --enable-autocrypt} \ %{?with_bdb:--with-bdb=/usr} \ %{!?with_slang:--with-curses} \ --with-docdir=%{_docdir}/%{name} \ @@ -246,6 +251,10 @@ EOF %{__rm} $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5* # belongs to mailcap %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/mime.types +# don't litter +%{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/Muttrc.dist +%{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/Muttrc.orig +%{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/mime.types.dist %find_lang %{name} @@ -269,16 +278,15 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/mutt_source-muttrc.d %attr(755,root,root) %{_bindir}/flea %attr(755,root,root) %{_bindir}/muttbug -%attr(755,root,root) %{_bindir}/pgp* +%attr(755,root,root) %{_bindir}/pgpewrap %attr(755,root,root) %{_bindir}/smime_keys %attr(2755,root,mail) %{_bindir}/mutt_dotlock %{_docdir}/%{name} %{_desktopdir}/mutt.desktop %{_pixmapsdir}/mutt.png -#%{_mandir}/man1/flea.1* %{_mandir}/man1/mutt*.1* -%{_mandir}/man1/pgp*.1* +%{_mandir}/man1/pgpewrap.1* %{_mandir}/man1/smime_keys.1* %{_mandir}/man5/mmdf.5* %{_mandir}/man5/muttrc.5*