aboutsummaryrefslogtreecommitdiffhomepage
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Felipe Contreras <felipe.contreras@gmail.com>2013-04-28 04:52:37 -0500
committerGravatar David Bremner <bremner@debian.org>2013-06-02 08:03:36 -0300
commit4753a9f40eba2fe0d2671992747bb6f54f351a44 (patch)
treebeaf055dc020ab318ba0281269580a91785b6d1c /packaging
parent13a06c0d431961aea18ee8174f02d350fe7fded6 (diff)
packaging: fedora: package notmuch-mutt
From Fedora. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/fedora/notmuch.spec28
1 files changed, 26 insertions, 2 deletions
diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec
index bc0a58cc..11a1ec94 100644
--- a/packaging/fedora/notmuch.spec
+++ b/packaging/fedora/notmuch.spec
@@ -16,7 +16,7 @@
Name: notmuch
Version: 0.15.2
-Release: 1%{?dist}
+Release: 2%{?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
+BuildRequires: zlib-devel emacs-el emacs-nox python perl
%description
Fast system for indexing, searching, and tagging email. Even if you
@@ -68,6 +68,17 @@ Requires: %{name} = %{version}-%{release}
%description -n python-notmuch
%{summary}.
+%package mutt
+Summary: Notmuch (of a) helper for Mutt
+Group: Development/Libraries
+BuildArch: noarch
+Requires: %{name} = %{version}-%{release}
+Requires: perl(Term::ReadLine::Gnu)
+
+%description mutt
+notmuch-mutt provide integration among the Mutt mail user agent and
+the Notmuch mail indexer.
+
%prep
%setup -q
@@ -80,6 +91,10 @@ pushd bindings/python
python setup.py build
popd
+pushd contrib/notmuch-mutt
+ make
+popd
+
%install
make install DESTDIR=%{buildroot}
@@ -87,6 +102,9 @@ pushd bindings/python
python setup.py install -O1 --skip-build --root %{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
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -110,8 +128,14 @@ popd
%doc bindings/python/README
%{python_sitelib}/*
+%files mutt
+%{_bindir}/notmuch-mutt
+%{_mandir}/man1/notmuch-mutt.1*
%changelog
+* Sun Apr 28 2013 Felipe Contreras <felipe.contreras@gmail.com> - 0.15.2-2
+- Sync with Fedora
+
* Sun Apr 28 2013 Felipe Contreras <felipe.contreras@gmail.com> - 0.15.2-1
- Update to latest upstream