From: Felipe Contreras Date: Sun, 28 Apr 2013 09:52:38 +0000 (+1900) Subject: [PATCH 8/8] packaging: fedora: add ruby bindings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=400cb39474a2605616cdbf02c2f8b82b23551a4f;p=notmuch-archives.git [PATCH 8/8] packaging: fedora: add ruby bindings --- diff --git a/91/b7041d3b8d4d8579e0bf6c70e786ed2e61aaeb b/91/b7041d3b8d4d8579e0bf6c70e786ed2e61aaeb new file mode 100644 index 000000000..5424fabc8 --- /dev/null +++ b/91/b7041d3b8d4d8579e0bf6c70e786ed2e61aaeb @@ -0,0 +1,149 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id B0194431FAF + for ; Sun, 28 Apr 2013 02:54:32 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id U8Rp2WAt60IM for ; + Sun, 28 Apr 2013 02:54:30 -0700 (PDT) +Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com + [209.85.214.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 9F29D431FBD + for ; Sun, 28 Apr 2013 02:54:16 -0700 (PDT) +Received: by mail-ob0-f171.google.com with SMTP id er7so4687221obc.30 + for ; Sun, 28 Apr 2013 02:54:16 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to + :references; bh=3hRgqXKTylmMutRHkgwTjzJnHptkpsR9hb2CjObeIK8=; + b=mM4QiFz14/859YaXDo0lsha+WfIkDHHsVUeiBwqyX0Qo9vbcv4nk/4nL2fHijtVyMc + Esn7a8ggHYf+uWbp2MYt9yaDZiQrRAJHt/0FFTbGjnhLkOkd8P3JZWUgAgbrdMpMDxTW + yhD4YfdqQjZyzmYgzA/0iuYQhT75dFWTrayF/E0S3rLLFxyv449MXxrOswFjjFibo7hr + MiNyBHZsx4xP15z5NbDMyH3rTA4EKGNsHSWb26E4pj3bgOwqnBdU72zXcXb5khnCmAsH + sVjdTOytWiHsVEDbZtR3RHYMoTVaENF1jf+QKdOby1t26lDwxpaI9v9YMODu1A14Fh3P + 3XFg== +X-Received: by 10.182.14.39 with SMTP id m7mr25479867obc.96.1367142856064; + Sun, 28 Apr 2013 02:54:16 -0700 (PDT) +Received: from localhost (187-163-100-70.static.axtel.net. [187.163.100.70]) + by mx.google.com with ESMTPSA id wq8sm15441800obb.7.2013.04.28.02.54.14 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 28 Apr 2013 02:54:15 -0700 (PDT) +From: Felipe Contreras +To: notmuch@notmuchmail.org +Subject: [PATCH 8/8] packaging: fedora: add ruby bindings +Date: Sun, 28 Apr 2013 04:52:38 -0500 +Message-Id: <1367142758-26120-9-git-send-email-felipe.contreras@gmail.com> +X-Mailer: git-send-email 1.8.2.1.1031.g2ee5873 +In-Reply-To: <1367142758-26120-1-git-send-email-felipe.contreras@gmail.com> +References: <1367142758-26120-1-git-send-email-felipe.contreras@gmail.com> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 28 Apr 2013 09:54:33 -0000 + +Signed-off-by: Felipe Contreras +--- + packaging/fedora/notmuch.spec | 28 ++++++++++++++++++++++++++-- + 1 file changed, 26 insertions(+), 2 deletions(-) + +diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec +index 11a1ec9..79994c9 100644 +--- a/packaging/fedora/notmuch.spec ++++ b/packaging/fedora/notmuch.spec +@@ -16,7 +16,7 @@ + + Name: notmuch + Version: 0.15.2 +-Release: 2%{?dist} ++Release: 3%{?dist} + Summary: Thread-based email index, search and tagging + + Group: Applications/Internet +@@ -26,7 +26,7 @@ URL: http://notmuchmail.org/ + Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz + + BuildRequires: xapian-core-devel gmime-devel libtalloc-devel +-BuildRequires: zlib-devel emacs-el emacs-nox python perl ++BuildRequires: zlib-devel emacs-el emacs-nox python ruby ruby-devel perl + + %description + Fast system for indexing, searching, and tagging email. Even if you +@@ -68,6 +68,14 @@ Requires: %{name} = %{version}-%{release} + %description -n python-notmuch + %{summary}. + ++%package -n notmuch-ruby ++Summary: Ruby bindings for notmuch ++Group: Development/Libraries ++Requires: %{name} = %{version}-%{release} ++ ++%description -n notmuch-ruby ++%{summary}. ++ + %package mutt + Summary: Notmuch (of a) helper for Mutt + Group: Development/Libraries +@@ -91,6 +99,12 @@ pushd bindings/python + python setup.py build + popd + ++pushd bindings/ruby ++ export CONFIGURE_ARGS="--with-cflags='%{optflags}'" ++ ruby extconf.rb --vendor ++ make ++popd ++ + pushd contrib/notmuch-mutt + make + popd +@@ -102,6 +116,10 @@ pushd bindings/python + python setup.py install -O1 --skip-build --root %{buildroot} + popd + ++pushd bindings/ruby ++ make install DESTDIR=%{buildroot} ++popd ++ + install contrib/notmuch-mutt/notmuch-mutt %{buildroot}%{_bindir}/notmuch-mutt + install contrib/notmuch-mutt/notmuch-mutt.1 %{buildroot}%{_mandir}/man1/notmuch-mutt.1 + +@@ -128,11 +146,17 @@ install contrib/notmuch-mutt/notmuch-mutt.1 %{buildroot}%{_mandir}/man1/notmuch- + %doc bindings/python/README + %{python_sitelib}/* + ++%files -n notmuch-ruby ++%{ruby_vendorarchdir}/* ++ + %files mutt + %{_bindir}/notmuch-mutt + %{_mandir}/man1/notmuch-mutt.1* + + %changelog ++* Sun Apr 28 2013 Felipe Contreras - 0.15.2-3 ++- Add ruby bingings ++ + * Sun Apr 28 2013 Felipe Contreras - 0.15.2-2 + - Sync with Fedora + +-- +1.8.2.1.1031.g2ee5873 +