[PATCH 7/8] packaging: fedora: package notmuch-mutt
authorFelipe Contreras <felipe.contreras@gmail.com>
Sun, 28 Apr 2013 09:52:37 +0000 (04:52 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:30 +0000 (09:54 -0800)
0c/32ab371ad77b830aee01ec999aab7c4be3609c [new file with mode: 0644]

diff --git a/0c/32ab371ad77b830aee01ec999aab7c4be3609c b/0c/32ab371ad77b830aee01ec999aab7c4be3609c
new file mode 100644 (file)
index 0000000..a4e0210
--- /dev/null
@@ -0,0 +1,148 @@
+Return-Path: <felipe.contreras@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E688C431FAF\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:30 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id kjyy+4G49aUf for <notmuch@notmuchmail.org>;\r
+       Sun, 28 Apr 2013 02:54:29 -0700 (PDT)\r
+Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com\r
+       [209.85.214.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E462B431FDB\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:13 -0700 (PDT)\r
+Received: by mail-ob0-f175.google.com with SMTP id wp18so4760429obc.34\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:13 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to\r
+       :references; bh=8vrYxAOYBqcs5xtPFmYXafAVL1E5RSQ5P3alq0f56qg=;\r
+       b=tjJu0LkoR6dtZYIn7fBmyt4GtSrMiNpmOfnBTRzIAbf+2JzXd4LQw/lRm+ivBRWGwz\r
+       ZDsNCHhi4Brp1X8n4bkzR1vpNak5u61xo1Vc1jskhsuW+X1UzKqLW063V5HylHRWDqjM\r
+       pRHCaZlKiP1x/Fvf/5o3V4oX1GX5KKd4mgE+Dengibyc50bZKQ2lkFtVVYskKO1CHd93\r
+       JmdmhePvQy0+2p06tBgaBaaSHG32iQtDzrN+ewadnKXYmDmYZEbXQN8gofRyq7v62R57\r
+       vmdLGD4LcffSlOes8+xpUMjwVTacC2ThpvC4TvQMK/Z/DKFmokgx+iVSah8VeSejCXUA\r
+       0Maw==\r
+X-Received: by 10.60.97.232 with SMTP id ed8mr7523329oeb.141.1367142853484;\r
+       Sun, 28 Apr 2013 02:54:13 -0700 (PDT)\r
+Received: from localhost (187-163-100-70.static.axtel.net. [187.163.100.70])\r
+       by mx.google.com with ESMTPSA id ru4sm15613201obb.4.2013.04.28.02.54.11\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sun, 28 Apr 2013 02:54:12 -0700 (PDT)\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 7/8] packaging: fedora: package notmuch-mutt\r
+Date: Sun, 28 Apr 2013 04:52:37 -0500\r
+Message-Id: <1367142758-26120-8-git-send-email-felipe.contreras@gmail.com>\r
+X-Mailer: git-send-email 1.8.2.1.1031.g2ee5873\r
+In-Reply-To: <1367142758-26120-1-git-send-email-felipe.contreras@gmail.com>\r
+References: <1367142758-26120-1-git-send-email-felipe.contreras@gmail.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 28 Apr 2013 09:54:32 -0000\r
+\r
+>From Fedora.\r
+\r
+Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>\r
+---\r
+ packaging/fedora/notmuch.spec | 28 ++++++++++++++++++++++++++--\r
+ 1 file changed, 26 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec\r
+index bc0a58c..11a1ec9 100644\r
+--- a/packaging/fedora/notmuch.spec\r
++++ b/packaging/fedora/notmuch.spec\r
+@@ -16,7 +16,7 @@\r
\r
+ Name:           notmuch\r
+ Version:        0.15.2\r
+-Release:        1%{?dist}\r
++Release:        2%{?dist}\r
+ Summary:        Thread-based email index, search and tagging\r
\r
+ Group:          Applications/Internet\r
+@@ -26,7 +26,7 @@ URL:            http://notmuchmail.org/\r
+ Source0:        http://notmuchmail.org/releases/notmuch-%{version}.tar.gz\r
\r
+ BuildRequires:  xapian-core-devel gmime-devel libtalloc-devel\r
+-BuildRequires:  zlib-devel emacs-el emacs-nox python\r
++BuildRequires:  zlib-devel emacs-el emacs-nox python perl\r
\r
+ %description\r
+ Fast system for indexing, searching, and tagging email.  Even if you\r
+@@ -68,6 +68,17 @@ Requires:       %{name} = %{version}-%{release}\r
+ %description -n python-notmuch\r
+ %{summary}.\r
\r
++%package mutt\r
++Summary:        Notmuch (of a) helper for Mutt\r
++Group:          Development/Libraries\r
++BuildArch:      noarch\r
++Requires:       %{name} = %{version}-%{release}\r
++Requires:       perl(Term::ReadLine::Gnu)\r
++\r
++%description mutt\r
++notmuch-mutt provide integration among the Mutt mail user agent and\r
++the Notmuch mail indexer.\r
++\r
+ %prep\r
+ %setup -q\r
\r
+@@ -80,6 +91,10 @@ pushd bindings/python\r
+     python setup.py build\r
+ popd\r
\r
++pushd contrib/notmuch-mutt\r
++    make\r
++popd\r
++\r
+ %install\r
+ make install DESTDIR=%{buildroot}\r
\r
+@@ -87,6 +102,9 @@ pushd bindings/python\r
+     python setup.py install -O1 --skip-build --root %{buildroot}\r
+ popd\r
\r
++install contrib/notmuch-mutt/notmuch-mutt %{buildroot}%{_bindir}/notmuch-mutt\r
++install contrib/notmuch-mutt/notmuch-mutt.1 %{buildroot}%{_mandir}/man1/notmuch-mutt.1\r
++\r
+ %post -p /sbin/ldconfig\r
\r
+ %postun -p /sbin/ldconfig\r
+@@ -110,8 +128,14 @@ popd\r
+ %doc bindings/python/README\r
+ %{python_sitelib}/*\r
\r
++%files mutt\r
++%{_bindir}/notmuch-mutt\r
++%{_mandir}/man1/notmuch-mutt.1*\r
\r
+ %changelog\r
++* Sun Apr 28 2013 Felipe Contreras <felipe.contreras@gmail.com> - 0.15.2-2\r
++- Sync with Fedora\r
++\r
+ * Sun Apr 28 2013 Felipe Contreras <felipe.contreras@gmail.com> - 0.15.2-1\r
+ - Update to latest upstream\r
\r
+-- \r
+1.8.2.1.1031.g2ee5873\r
+\r