X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=packaging%2Ffedora%2Fnotmuch.spec;h=79994c9ae6234a19ef29af4247c303e8e8f2e0f3;hp=bc0a58ccb417b6aad43cc432981fdb4f810d5df3;hb=b6a60cf355de9c54a71d8859d8b57aed1fb688d5;hpb=13a06c0d431961aea18ee8174f02d350fe7fded6 diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec index bc0a58cc..79994c9a 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: 3%{?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 ruby ruby-devel perl %description Fast system for indexing, searching, and tagging email. Even if you @@ -68,6 +68,25 @@ Requires: %{name} = %{version}-%{release} %description -n python-notmuch %{summary}. +%package -n notmuch-ruby +Summary: Ruby bindings for notmuch +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description -n notmuch-ruby +%{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 +99,16 @@ pushd bindings/python python setup.py build popd +pushd bindings/ruby + export CONFIGURE_ARGS="--with-cflags='%{optflags}'" + ruby extconf.rb --vendor + make +popd + +pushd contrib/notmuch-mutt + make +popd + %install make install DESTDIR=%{buildroot} @@ -87,6 +116,13 @@ pushd bindings/python python setup.py install -O1 --skip-build --root %{buildroot} popd +pushd bindings/ruby + make install DESTDIR=%{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 +146,20 @@ popd %doc bindings/python/README %{python_sitelib}/* +%files -n notmuch-ruby +%{ruby_vendorarchdir}/* + +%files mutt +%{_bindir}/notmuch-mutt +%{_mandir}/man1/notmuch-mutt.1* %changelog +* Sun Apr 28 2013 Felipe Contreras - 0.15.2-3 +- Add ruby bingings + +* Sun Apr 28 2013 Felipe Contreras - 0.15.2-2 +- Sync with Fedora + * Sun Apr 28 2013 Felipe Contreras - 0.15.2-1 - Update to latest upstream