From 04d2cb0c2c44adf5fb670abca646d77114b22d1f Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Mon, 29 Apr 2013 04:52:35 +1900 Subject: [PATCH] [PATCH 5/8] packaging: fedora: separate package for emacs --- 6e/a0353ed8192f73810d10e6344b09bb4f82490d | 115 ++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 6e/a0353ed8192f73810d10e6344b09bb4f82490d diff --git a/6e/a0353ed8192f73810d10e6344b09bb4f82490d b/6e/a0353ed8192f73810d10e6344b09bb4f82490d new file mode 100644 index 000000000..b1fda7eac --- /dev/null +++ b/6e/a0353ed8192f73810d10e6344b09bb4f82490d @@ -0,0 +1,115 @@ +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 9B6E3431FBD + for ; Sun, 28 Apr 2013 02:54:15 -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 uX9R8Gt+LKvn for ; + Sun, 28 Apr 2013 02:54:14 -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 78549431FC7 + for ; Sun, 28 Apr 2013 02:54:08 -0700 (PDT) +Received: by mail-ob0-f171.google.com with SMTP id er7so4690173obc.16 + for ; Sun, 28 Apr 2013 02:54:08 -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=IfWnsBTjmp6VH/aBbgK5PDx3h6z5pItwFfUOK92Jvi8=; + b=q3/o94g7ZDHuDrNlemawveYJ4xrB0LTyOlXOj548e3tcY9fGTV6bu6UICsp7D3m9Jc + C3ajItmtw55nSmyLNa7PNeAelzkWjsNqkYM7XiZTynM+oNUJDP//e+sJDU0NU4xp7AyS + Xuma+Zw8+KRXBR5Bnm7XCmo1xo6z/67V5cjpcqwZ4wGU0WSXetF/G6F22Ycc2ZHrSFk4 + /7MdUuqEoK6NNUA73uZPtLycOgLS2oYGTo0PE8ghaDyTmI4JZPPFQxOkJBUwCK92sNJ9 + fVXyh1fEelQXDdESUcgX3CWmiMF//sp5Ot7I2E2MRqByiBWrVRZI6mrMXbA9adkt2SOc + f+dQ== +X-Received: by 10.60.97.232 with SMTP id ed8mr7523233oeb.141.1367142848057; + Sun, 28 Apr 2013 02:54:08 -0700 (PDT) +Received: from localhost (187-163-100-70.static.axtel.net. [187.163.100.70]) + by mx.google.com with ESMTPSA id qt5sm16131416oeb.4.2013.04.28.02.54.06 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 28 Apr 2013 02:54:07 -0700 (PDT) +From: Felipe Contreras +To: notmuch@notmuchmail.org +Subject: [PATCH 5/8] packaging: fedora: separate package for emacs +Date: Sun, 28 Apr 2013 04:52:35 -0500 +Message-Id: <1367142758-26120-6-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:16 -0000 + +Signed-off-by: Felipe Contreras +--- + packaging/fedora/notmuch.spec | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec +index f5272db..1e6ec3b 100644 +--- a/packaging/fedora/notmuch.spec ++++ b/packaging/fedora/notmuch.spec +@@ -28,8 +28,6 @@ Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz + BuildRequires: xapian-core-devel gmime-devel libtalloc-devel + BuildRequires: zlib-devel emacs-el emacs-nox + +-Requires: emacs(bin) >= %{_emacs_version} +- + %description + Fast system for indexing, searching, and tagging email. Even if you + receive 12000 messages per month or have on the order of millions of +@@ -52,6 +50,15 @@ Requires: %{name} = %{version}-%{release} + The %{name}-devel package contains libraries and header files for + developing applications that use %{name}. + ++%package -n emacs-notmuch ++Summary: Not much support for Emacs ++Group: Applications/Editors ++BuildArch: noarch ++Requires: %{name} = %{version}-%{release}, emacs(bin) >= %{_emacs_version} ++ ++%description -n emacs-notmuch ++%{summary}. ++ + %prep + %setup -q + +@@ -75,12 +82,13 @@ make install DESTDIR=%{buildroot} + %{_mandir}/man?/* + %{_libdir}/libnotmuch.so.3* + +-%{_emacs_sitelispdir}/* +- + %files devel + %{_libdir}/libnotmuch.so + %{_includedir}/* + ++%files -n emacs-notmuch ++%{_emacs_sitelispdir}/* ++ + %changelog + * Sun Apr 28 2013 Felipe Contreras - 0.15.2-1 + - Update to latest upstream +-- +1.8.2.1.1031.g2ee5873 + -- 2.26.2