]> git.pld-linux.org Git - packages/mutt.git/blobdiff - mutt.spec
- updated to 1.11.0
[packages/mutt.git] / mutt.spec
index ed1a0e1ddbdeb9cfa34f91eac3f26e83ca57f1d8..e1427624f234c2814307c1db2aec46ba47bfe066 100644 (file)
--- a/mutt.spec
+++ b/mutt.spec
@@ -28,18 +28,18 @@ Summary(ru.UTF-8):  Почтовая клиентская программа Mutt
 Summary(tr.UTF-8):     Mutt elektronik posta programı
 Summary(uk.UTF-8):     Поштова клієнтська програма Mutt
 Name:          mutt
-Version:       1.5.21
-Release:       9
+Version:       1.11.0
+Release:       0.0.1
 Epoch:         6
 License:       GPL v2+
 Group:         Applications/Mail
-Source0:       ftp://ftp.mutt.org/mutt/devel/%{name}-%{version}.tar.gz
-# Source0-md5: a29db8f1d51e2f10c070bf88e8a553fd
+# temporarily dead? (Jun 2014)
+Source0:       ftp://ftp.mutt.org/pub/mutt/%{name}-%{version}.tar.gz
+# Source0-md5: b58fdddf76a880c6314c9d4df2c32efb
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Source3:       %{name}.1.pl
 Patch0:                %{name}-pl.po-update.patch
-Patch1:                %{name}-forcedotlock.patch
 # http://mutt.org.ua/download/
 Patch2:                %{name}-rr.compressed.patch
 Patch3:                %{name}-bj.status-time.patch
@@ -67,6 +67,10 @@ Patch22:     %{name}-imap_fast_trash.patch
 Patch23:       %{name}-db.patch
 # http://mutt.org.ua/download/
 Patch24:       %{name}-vvv.nntp.patch
+Patch25:       format-security.patch
+Patch26:       %{name}-keep_to.patch
+Patch27:       mutt-gpgme.patch
+Patch28:       openssl.patch
 URL:           http://www.mutt.org/
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake >= 1.6
@@ -75,7 +79,7 @@ BuildRequires:        automake >= 1.6
 BuildRequires: docbook-dtd42-xml
 BuildRequires: docbook-style-xsl
 %{?with_gdbm:BuildRequires:    gdbm-devel}
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
 BuildRequires: gpgme-devel >= 1:1.1.1
 %{?with_home_etc:BuildRequires:        home-etc-devel >= 1.0.8}
 BuildRequires: libidn-devel
@@ -86,9 +90,9 @@ BuildRequires:        openssl-devel >= 0.9.7d
 %{?with_qdbm:BuildRequires:    qdbm-devel}
 %{?with_slang:BuildRequires:   slang-devel}
 %{?with_tokyocabinet:BuildRequires:    tokyocabinet-devel}
+%{?with_home_etc:Requires:     home-etc-lib >= 1.0.8}
 Requires:      iconv
 Suggests:      mailcap
-%{?with_home_etc:Conflicts:    home-etc < 1.0.8}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                specflags_ia32  -fomit-frame-pointer
@@ -150,32 +154,37 @@ Mutt - це невеликий, але потужний повноекранни
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%{?with_home_etc:%patch14 -p1}
-%patch15 -p1
-%patch16 -p1
+# pl.poupdate
+#%patch0 -p1
+# compressed patch applied upstream
+#%patch2 -p1
+#%patch3 -p1
+#%patch4 -p1
+#%patch5 -p1
+#%patch6 -p1
+#%patch7 -p1
+#%patch8 -p1
+#%patch9 -p1
+#%patch10 -p1
+#%patch11 -p1
+#%patch12 -p1
+#%patch13 -p1
+#%{?with_home_etc:%patch14 -p1}
+#%patch15 -p1
+#%patch16 -p1
 # breaks display if arrow_cursor is set
-%{?with_folder_column:%patch17 -p1}
-%{?with_imap_recent:%patch18 -p1}
-%patch19 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
-%patch23 -p1
-%{?with_nntp:%patch24 -p1}
+#%{?with_folder_column:%patch17 -p1}
+#%{?with_imap_recent:%patch18 -p1}
+#%patch19 -p1
+#%patch20 -p1
+#%patch21 -p1
+#%patch22 -p1
+#%patch23 -p1
+#%{?with_nntp:%patch24 -p1}
+#%patch25 -p1
+#%patch26 -p1
+#%patch27 -p1
+#%patch28 -p1
 
 # force regeneration (manual.sgml is modified by some patches)
 %{__rm} doc/{manual*.html,manual.txt}
@@ -255,13 +264,20 @@ EOF
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc contrib/{*rc*,*cap*} ChangeLog README TODO NEWS README.SECURITY README.SSL README.xface
+%doc contrib/{*rc*,*cap*} ChangeLog README TODO NEWS README.SECURITY README.SSL
 %dir %{_sysconfdir}/Muttrc.d
 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/Muttrc
 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/Muttrc.d/*.rc
 %attr(755,root,root) %{_bindir}/mutt
+%attr(755,root,root) %{_bindir}/mutt_pgpring
 %attr(755,root,root) %{_bindir}/mutt_source-muttrc.d
 %attr(755,root,root) %{_bindir}/flea
 %attr(755,root,root) %{_bindir}/muttbug
@@ -272,9 +288,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_docdir}/%{name}
 %{_desktopdir}/mutt.desktop
 %{_pixmapsdir}/mutt.png
-%{_mandir}/man1/flea.1*
+#%{_mandir}/man1/flea.1*
 %{_mandir}/man1/mutt*.1*
+%{_mandir}/man1/pgp*.1*
 %{_mandir}/man1/smime_keys.1*
 %{_mandir}/man5/mmdf.5*
 %{_mandir}/man5/muttrc.5*
 %lang(pl) %{_mandir}/pl/man1/*
+%{_infodir}/mutt.info*
This page took 0.034334 seconds and 4 git commands to generate.