From de668cffd73b1c3d2de58dc7cb9b8d8b6aee22fd Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Sun, 28 Apr 2013 04:52:35 -0500 Subject: [PATCH] packaging: fedora: separate package for emacs 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 f5272db2..1e6ec3ba 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