--- /dev/null
+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 B1ED1431FC3\r
+ for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:18 -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 cIz13pbwsNeF for <notmuch@notmuchmail.org>;\r
+ Sun, 28 Apr 2013 02:54:17 -0700 (PDT)\r
+Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com\r
+ [209.85.214.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 43F33431FDA\r
+ for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:11 -0700 (PDT)\r
+Received: by mail-ob0-f174.google.com with SMTP id wc20so4711113obb.33\r
+ for <notmuch@notmuchmail.org>; Sun, 28 Apr 2013 02:54:10 -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=yF30RlUR9DcBOeD0srVcoO7jzftuNDgjRacSqtoCmzs=;\r
+ b=mfstlfp8CuDx7NO2uN8mIvhOu1Zb3M319jQJRRsk8X0042ivBQ3HGWvpzAhGD7lSyw\r
+ CFfCJvWU/skt5+qBJ57jmPVODUpMuGgfpheyzWdrqY0iA9a768rpexfkr/7+UNtLeQi0\r
+ pLKhuGtL886/+DjBWef2Ic5B16M7ucNVYSKwC5vhSmzGDenWhe5t3DiJBafvFH+jDoUz\r
+ GgR+TO195y5bi4D3YKeZz9UPqyYUPxE8u3wLzhBu4nqJXcaI2pwgn5NgsSVf1mHujZEl\r
+ UJ+qICHz0NPRa2wZ9sztYBRQ3zoWnBJYjmRXBzImlxowP408bo06F/khWbxLTOG8JxoR\r
+ 9qlg==\r
+X-Received: by 10.60.147.166 with SMTP id tl6mr1282490oeb.12.1367142850704;\r
+ Sun, 28 Apr 2013 02:54:10 -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 jt9sm164725obc.0.2013.04.28.02.54.09\r
+ for <multiple recipients>\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Sun, 28 Apr 2013 02:54:09 -0700 (PDT)\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 6/8] packaging: fedora: package python bindings\r
+Date: Sun, 28 Apr 2013 04:52:36 -0500\r
+Message-Id: <1367142758-26120-7-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:19 -0000\r
+\r
+Like in Fedora.\r
+\r
+Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>\r
+---\r
+ packaging/fedora/notmuch.spec | 24 +++++++++++++++++++++++-\r
+ 1 file changed, 23 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec\r
+index 1e6ec3b..bc0a58c 100644\r
+--- a/packaging/fedora/notmuch.spec\r
++++ b/packaging/fedora/notmuch.spec\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\r
++BuildRequires: zlib-devel emacs-el emacs-nox python\r
+ \r
+ %description\r
+ Fast system for indexing, searching, and tagging email. Even if you\r
+@@ -59,6 +59,15 @@ Requires: %{name} = %{version}-%{release}, emacs(bin) >= %{_emacs_version}\r
+ %description -n emacs-notmuch\r
+ %{summary}.\r
+ \r
++%package -n python-notmuch\r
++Summary: Python bindings for notmuch\r
++Group: Development/Libraries\r
++BuildArch: noarch\r
++Requires: %{name} = %{version}-%{release}\r
++\r
++%description -n python-notmuch\r
++%{summary}.\r
++\r
+ %prep\r
+ %setup -q\r
+ \r
+@@ -67,9 +76,17 @@ Requires: %{name} = %{version}-%{release}, emacs(bin) >= %{_emacs_version}\r
+ --mandir=%{_mandir} --includedir=%{_includedir} --emacslispdir=%{_emacs_sitelispdir}\r
+ make %{?_smp_mflags} CFLAGS="%{optflags}"\r
+ \r
++pushd bindings/python\r
++ python setup.py build\r
++popd\r
++\r
+ %install\r
+ make install DESTDIR=%{buildroot}\r
+ \r
++pushd bindings/python\r
++ python setup.py install -O1 --skip-build --root %{buildroot}\r
++popd\r
++\r
+ %post -p /sbin/ldconfig\r
+ \r
+ %postun -p /sbin/ldconfig\r
+@@ -89,6 +106,11 @@ make install DESTDIR=%{buildroot}\r
+ %files -n emacs-notmuch\r
+ %{_emacs_sitelispdir}/*\r
+ \r
++%files -n python-notmuch\r
++%doc bindings/python/README\r
++%{python_sitelib}/*\r
++\r
++\r
+ %changelog\r
+ * Sun Apr 28 2013 Felipe Contreras <felipe.contreras@gmail.com> - 0.15.2-1\r
+ - Update to latest upstream\r
+-- \r
+1.8.2.1.1031.g2ee5873\r
+\r