packaging: fedora: separate package for emacs

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras 2013-04-28 04:52:35 -05:00 committed by David Bremner
parent 468fde0845
commit de668cffd7

View file

@ -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 <felipe.contreras@gmail.com> - 0.15.2-1
- Update to latest upstream