[PATCH 8/8] packaging: fedora: add ruby bindings
authorFelipe Contreras <felipe.contreras@gmail.com>
Sun, 28 Apr 2013 09:52:38 +0000 (04:52 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:31 +0000 (09:54 -0800)
91/b7041d3b8d4d8579e0bf6c70e786ed2e61aaeb [new file with mode: 0644]

diff --git a/91/b7041d3b8d4d8579e0bf6c70e786ed2e61aaeb b/91/b7041d3b8d4d8579e0bf6c70e786ed2e61aaeb
new file mode 100644 (file)
index 0000000..5424fab
--- /dev/null
@@ -0,0 +1,149 @@
+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 B0194431FAF\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:32 -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 U8Rp2WAt60IM for <notmuch@notmuchmail.org>;\r
+       Sun, 28 Apr 2013 02:54:30 -0700 (PDT)\r
+Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com\r
+       [209.85.214.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 9F29D431FBD\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:16 -0700 (PDT)\r
+Received: by mail-ob0-f171.google.com with SMTP id er7so4687221obc.30\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:16 -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=3hRgqXKTylmMutRHkgwTjzJnHptkpsR9hb2CjObeIK8=;\r
+       b=mM4QiFz14/859YaXDo0lsha+WfIkDHHsVUeiBwqyX0Qo9vbcv4nk/4nL2fHijtVyMc\r
+       Esn7a8ggHYf+uWbp2MYt9yaDZiQrRAJHt/0FFTbGjnhLkOkd8P3JZWUgAgbrdMpMDxTW\r
+       yhD4YfdqQjZyzmYgzA/0iuYQhT75dFWTrayF/E0S3rLLFxyv449MXxrOswFjjFibo7hr\r
+       MiNyBHZsx4xP15z5NbDMyH3rTA4EKGNsHSWb26E4pj3bgOwqnBdU72zXcXb5khnCmAsH\r
+       sVjdTOytWiHsVEDbZtR3RHYMoTVaENF1jf+QKdOby1t26lDwxpaI9v9YMODu1A14Fh3P\r
+       3XFg==\r
+X-Received: by 10.182.14.39 with SMTP id m7mr25479867obc.96.1367142856064;\r
+       Sun, 28 Apr 2013 02:54:16 -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 wq8sm15441800obb.7.2013.04.28.02.54.14\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sun, 28 Apr 2013 02:54:15 -0700 (PDT)\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 8/8] packaging: fedora: add ruby bindings\r
+Date: Sun, 28 Apr 2013 04:52:38 -0500\r
+Message-Id: <1367142758-26120-9-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:33 -0000\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 11a1ec9..79994c9 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:        2%{?dist}\r
++Release:        3%{?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 perl\r
++BuildRequires:  zlib-devel emacs-el emacs-nox python ruby ruby-devel perl\r
\r
+ %description\r
+ Fast system for indexing, searching, and tagging email.  Even if you\r
+@@ -68,6 +68,14 @@ Requires:       %{name} = %{version}-%{release}\r
+ %description -n python-notmuch\r
+ %{summary}.\r
\r
++%package -n notmuch-ruby\r
++Summary:        Ruby bindings for notmuch\r
++Group:          Development/Libraries\r
++Requires:       %{name} = %{version}-%{release}\r
++\r
++%description -n notmuch-ruby\r
++%{summary}.\r
++\r
+ %package mutt\r
+ Summary:        Notmuch (of a) helper for Mutt\r
+ Group:          Development/Libraries\r
+@@ -91,6 +99,12 @@ pushd bindings/python\r
+     python setup.py build\r
+ popd\r
\r
++pushd bindings/ruby\r
++    export CONFIGURE_ARGS="--with-cflags='%{optflags}'"\r
++    ruby extconf.rb --vendor\r
++    make\r
++popd\r
++\r
+ pushd contrib/notmuch-mutt\r
+     make\r
+ popd\r
+@@ -102,6 +116,10 @@ pushd bindings/python\r
+     python setup.py install -O1 --skip-build --root %{buildroot}\r
+ popd\r
\r
++pushd bindings/ruby\r
++    make install DESTDIR=%{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
+@@ -128,11 +146,17 @@ install contrib/notmuch-mutt/notmuch-mutt.1 %{buildroot}%{_mandir}/man1/notmuch-\r
+ %doc bindings/python/README\r
+ %{python_sitelib}/*\r
\r
++%files -n notmuch-ruby\r
++%{ruby_vendorarchdir}/*\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-3\r
++- Add ruby bingings\r
++\r
+ * Sun Apr 28 2013 Felipe Contreras <felipe.contreras@gmail.com> - 0.15.2-2\r
+ - Sync with Fedora\r
\r
+-- \r
+1.8.2.1.1031.g2ee5873\r
+\r