|
Luke Macken |
edb925d |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
Luke Macken |
edb925d |
|
|
Karel Klic |
7a586b7 |
Name: notmuch
|
|
Luke Macken |
fd6b017 |
Version: 0.16
|
|
|
e9fcf3e |
Release: 2%{?dist}
|
|
Karel Klic |
7a586b7 |
Summary: System for indexing, searching, and tagging email
|
|
Karel Klic |
7a586b7 |
Group: Applications/Internet
|
|
Karel Klic |
7a586b7 |
License: GPLv3+
|
|
Karel Klic |
7a586b7 |
URL: http://notmuchmail.org/
|
|
Karel Klic |
7a586b7 |
Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz
|
|
Karel Klic |
b465405 |
BuildRequires: xapian-core-devel gmime-devel libtalloc-devel
|
|
Karel Klic |
b465405 |
BuildRequires: zlib-devel emacs-el emacs-nox perl python2-devel
|
|
Luke Macken |
fd6b017 |
BuildRequires: perl-podlators
|
|
|
e9fcf3e |
BuildRequires: glib libtool
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%description
|
|
Karel Klic |
7a586b7 |
Fast system for indexing, searching, and tagging email. Even if you
|
|
Karel Klic |
7a586b7 |
receive 12000 messages per month or have on the order of millions of
|
|
Karel Klic |
7a586b7 |
messages that you've been saving for decades, Notmuch will be able to
|
|
Karel Klic |
7a586b7 |
quickly search all of it.
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
Notmuch is not much of an email program. It doesn't receive messages
|
|
Karel Klic |
7a586b7 |
(no POP or IMAP support). It doesn't send messages (no mail composer,
|
|
Karel Klic |
7a586b7 |
no network code at all). And for what it does do (email search) that
|
|
Karel Klic |
7a586b7 |
work is provided by an external library, Xapian. So if Notmuch
|
|
Karel Klic |
7a586b7 |
provides no user interface and Xapian does all the heavy lifting, then
|
|
Karel Klic |
7a586b7 |
what's left here? Not much.
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%package devel
|
|
Karel Klic |
7a586b7 |
Summary: Development libraries and header files for the Notmuch library
|
|
Karel Klic |
7a586b7 |
Group: Development/Libraries
|
|
Karel Klic |
7a586b7 |
Requires: %{name} = %{version}-%{release}
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%description devel
|
|
Karel Klic |
7a586b7 |
Notmuch-devel contains the development libraries and header files for
|
|
Karel Klic |
7a586b7 |
Notmuch email program. These libraries and header files are
|
|
Karel Klic |
7a586b7 |
necessary if you plan to do development using Notmuch.
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
Install notmuch-devel if you are developing C programs which will use the
|
|
Karel Klic |
7a586b7 |
Notmuch library. You'll also need to install the notmuch package.
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%package -n emacs-notmuch
|
|
Karel Klic |
7a586b7 |
Summary: Not much support for Emacs
|
|
Karel Klic |
7a586b7 |
Group: Applications/Editors
|
|
Karel Klic |
7a586b7 |
BuildArch: noarch
|
|
Karel Klic |
e15c65f |
Requires: %{name} = %{version}-%{release}, emacs(bin) >= %{_emacs_version}
|
|
Karel Klic |
249d02a |
Obsoletes: emacs-notmuch-el < 0.11.1-2
|
|
Karel Klic |
249d02a |
Provides: emacs-notmuch-el < 0.11.1-2
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%description -n emacs-notmuch
|
|
Karel Klic |
7a586b7 |
%{summary}.
|
|
Karel Klic |
7a586b7 |
|
|
Luke Macken |
edb925d |
%package -n python-notmuch
|
|
Luke Macken |
edb925d |
Summary: Python bindings for notmuch
|
|
Luke Macken |
edb925d |
Group: Development/Libraries
|
|
Luke Macken |
edb925d |
BuildArch: noarch
|
|
Luke Macken |
edb925d |
Requires: %{name} = %{version}-%{release}
|
|
Luke Macken |
edb925d |
|
|
Luke Macken |
edb925d |
%description -n python-notmuch
|
|
Luke Macken |
edb925d |
%{summary}.
|
|
Luke Macken |
edb925d |
|
|
Karel Klic |
b465405 |
%package mutt
|
|
Karel Klic |
b465405 |
Summary: Notmuch (of a) helper for Mutt
|
|
Karel Klic |
b465405 |
Group: Development/Libraries
|
|
Karel Klic |
b465405 |
BuildArch: noarch
|
|
Karel Klic |
b465405 |
Requires: %{name} = %{version}-%{release}
|
|
Karel Klic |
a441203 |
Requires: perl(Term::ReadLine::Gnu)
|
|
Karel Klic |
b465405 |
|
|
Karel Klic |
b465405 |
%description mutt
|
|
Karel Klic |
b465405 |
notmuch-mutt provide integration among the Mutt mail user agent and
|
|
Karel Klic |
b465405 |
the Notmuch mail indexer.
|
|
Karel Klic |
b465405 |
|
|
|
e9fcf3e |
%package deliver
|
|
|
e9fcf3e |
Summary: A maildir delivery tool
|
|
|
e9fcf3e |
Group: Development/Libraries
|
|
|
e9fcf3e |
Requires: %{name} = %{version}-%{release}
|
|
|
e9fcf3e |
Requires: glib >= 2.16
|
|
|
e9fcf3e |
|
|
|
e9fcf3e |
%description deliver
|
|
|
e9fcf3e |
notmuch-deliver is a maildir delivery tool for the notmuch mail indexer. It
|
|
|
e9fcf3e |
reads from standard input, delivers the mail to the specified maildir and adds
|
|
|
e9fcf3e |
it to the notmuch database. This is meant as a convenient alternative to
|
|
|
e9fcf3e |
running notmuch new after mail delivery.
|
|
|
e9fcf3e |
|
|
Karel Klic |
7a586b7 |
%prep
|
|
Karel Klic |
7a586b7 |
%setup -q
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%build
|
|
Karel Klic |
7a586b7 |
# The %%configure macro cannot be used because notmuch doesn't support
|
|
Karel Klic |
7a586b7 |
# some arguments the macro adds to the ./configure call.
|
|
Karel Klic |
7a586b7 |
./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} \
|
|
Karel Klic |
7a586b7 |
--libdir=%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} \
|
|
Karel Klic |
7a586b7 |
--emacslispdir=%{_emacs_sitelispdir}
|
|
Karel Klic |
7a586b7 |
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
|
Karel Klic |
7a586b7 |
|
|
Luke Macken |
edb925d |
# Build the python bindings
|
|
Luke Macken |
edb925d |
pushd bindings/python
|
|
Luke Macken |
edb925d |
python setup.py build
|
|
Luke Macken |
edb925d |
popd
|
|
Luke Macken |
edb925d |
|
|
Karel Klic |
b465405 |
# Build notmuch-mutt
|
|
Karel Klic |
b465405 |
pushd contrib/notmuch-mutt
|
|
Karel Klic |
b465405 |
make
|
|
Karel Klic |
b465405 |
popd
|
|
Karel Klic |
b465405 |
|
|
|
e9fcf3e |
# Build notmuch-deliver
|
|
|
e9fcf3e |
pushd contrib/notmuch-deliver
|
|
|
e9fcf3e |
./autogen.sh
|
|
|
e9fcf3e |
LDFLAGS="-L$(pwd)/../../lib/" CPPFLAGS="-I$(pwd)/../../lib/" ./configure \
|
|
|
e9fcf3e |
--prefix=%{_prefix} --sysconfdir=%{_sysconfdir} \
|
|
|
e9fcf3e |
--libdir=%{_libdir} \
|
|
|
e9fcf3e |
--includedir=%{_includedir} \
|
|
|
e9fcf3e |
--mandir=%{_mandir}
|
|
|
e9fcf3e |
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
|
|
e9fcf3e |
popd
|
|
|
e9fcf3e |
|
|
Karel Klic |
7a586b7 |
%install
|
|
Karel Klic |
7a586b7 |
make install DESTDIR=%{buildroot}
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
# Enable dynamic library stripping.
|
|
Karel Klic |
7a586b7 |
find %{buildroot}%{_libdir} -name *.so* -exec chmod 755 {} \;
|
|
Karel Klic |
7a586b7 |
|
|
Luke Macken |
edb925d |
# Install the python bindings and documentation
|
|
Luke Macken |
edb925d |
pushd bindings/python
|
|
Luke Macken |
edb925d |
python setup.py install -O1 --skip-build --root %{buildroot}
|
|
Luke Macken |
edb925d |
popd
|
|
Luke Macken |
edb925d |
|
|
Karel Klic |
b465405 |
# Install notmuch-mutt
|
|
Karel Klic |
b465405 |
install contrib/notmuch-mutt/notmuch-mutt %{buildroot}%{_bindir}/notmuch-mutt
|
|
Karel Klic |
b465405 |
install contrib/notmuch-mutt/notmuch-mutt.1 %{buildroot}%{_mandir}/man1/notmuch-mutt.1
|
|
Karel Klic |
b465405 |
|
|
|
e9fcf3e |
# Install notmuch-deliver
|
|
|
e9fcf3e |
pushd contrib/notmuch-deliver
|
|
|
e9fcf3e |
make install DESTDIR=%{buildroot}
|
|
|
e9fcf3e |
popd
|
|
|
e9fcf3e |
|
|
Karel Klic |
7a586b7 |
%post -p /sbin/ldconfig
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%postun -p /sbin/ldconfig
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%files
|
|
Karel Klic |
249d02a |
%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README
|
|
Karel Klic |
7a586b7 |
%{_sysconfdir}/bash_completion.d/notmuch
|
|
Karel Klic |
77312fd |
%{_datadir}/zsh/functions/Completion/Unix/_notmuch
|
|
Karel Klic |
7a586b7 |
%{_bindir}/notmuch
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-config.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-count.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-dump.1*
|
|
Luke Macken |
fd6b017 |
%{_mandir}/man1/notmuch-insert.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-new.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-reply.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-restore.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-search.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-setup.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-show.1*
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-tag.1*
|
|
Karel Klic |
249d02a |
%{_mandir}/man5/notmuch*.5*
|
|
Karel Klic |
249d02a |
%{_mandir}/man7/notmuch*.7*
|
|
Karel Klic |
249d02a |
%{_libdir}/libnotmuch.so.3*
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%files devel
|
|
Karel Klic |
7a586b7 |
%{_libdir}/libnotmuch.so
|
|
Karel Klic |
7a586b7 |
%{_includedir}/*
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
%files -n emacs-notmuch
|
|
Karel Klic |
249d02a |
%{_emacs_sitelispdir}/*.el
|
|
Karel Klic |
7a586b7 |
%{_emacs_sitelispdir}/*.elc
|
|
Karel Klic |
7a586b7 |
%{_emacs_sitelispdir}/notmuch-logo.png
|
|
Karel Klic |
7a586b7 |
|
|
Luke Macken |
edb925d |
%files -n python-notmuch
|
|
Luke Macken |
edb925d |
%doc bindings/python/README
|
|
Luke Macken |
edb925d |
%{python_sitelib}/*
|
|
Luke Macken |
edb925d |
|
|
Karel Klic |
b465405 |
%files mutt
|
|
Karel Klic |
b465405 |
%{_bindir}/notmuch-mutt
|
|
Karel Klic |
b465405 |
%{_mandir}/man1/notmuch-mutt.1*
|
|
Karel Klic |
b465405 |
|
|
|
e9fcf3e |
%files deliver
|
|
|
e9fcf3e |
%{_bindir}/notmuch-deliver
|
|
|
e9fcf3e |
%{_datadir}/doc/notmuch-deliver/README.mkd
|
|
|
e9fcf3e |
|
|
Karel Klic |
7a586b7 |
%changelog
|
|
|
e9fcf3e |
* Wed Feb 12 2014 Ralph Bean <rbean@redhat.com> - 0.16-2
|
|
|
e9fcf3e |
- Added install of notmuch-deliver.
|
|
|
e9fcf3e |
|
|
Luke Macken |
fd6b017 |
* Fri Sep 27 2013 Lars Kellogg-Stedman <lars@redhat.com> - 0.16-1
|
|
Luke Macken |
fd6b017 |
- Updated to notmuch 0.16.
|
|
Luke Macken |
fd6b017 |
|
|
|
c9ba112 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-7
|
|
|
c9ba112 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
c9ba112 |
|
|
|
57e85e2 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.13.2-6
|
|
|
57e85e2 |
- Perl 5.18 rebuild
|
|
|
57e85e2 |
|
|
|
987023b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-5
|
|
|
987023b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
987023b |
|
|
Karel Klic |
a441203 |
* Mon Sep 17 2012 Karel Klíč <kklic@redhat.com> - 0.13.2-4
|
|
Karel Klic |
a441203 |
- notmuch-mutt requires perl(Term::Readline::Gnu)
|
|
Karel Klic |
a441203 |
|
|
|
73e03df |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-3
|
|
|
73e03df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
73e03df |
|
|
Karel Klic |
b465405 |
* Fri Jul 13 2012 Karel Klíč <kklic@redhat.com> - 0.13.2-2
|
|
Karel Klic |
b465405 |
- Packaged notmuch-mutt from contrib
|
|
Karel Klic |
b465405 |
|
|
Karel Klic |
249d02a |
* Fri Jul 13 2012 Karel Klíč <kklic@redhat.com> - 0.13.2-1
|
|
Karel Klic |
249d02a |
- Update to the newest release
|
|
Karel Klic |
249d02a |
- Merge emacs-notmuch-el into emacs-el to conform to the packaging
|
|
Karel Klic |
249d02a |
guidelines
|
|
Karel Klic |
249d02a |
|
|
Karel Klic |
13e95a1 |
* Wed Mar 7 2012 Karel Klíč <kklic@redhat.com> - 0.11.1-1
|
|
Karel Klic |
13e95a1 |
- Update to newest release, which fixes CVE-2011-1103
|
|
Karel Klic |
13e95a1 |
|
|
Stanislav Ochotnicky |
5005490 |
* Mon Jan 30 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.11-1
|
|
Stanislav Ochotnicky |
5005490 |
- Latest upstream release
|
|
Stanislav Ochotnicky |
5005490 |
- Update patch so it applies
|
|
Stanislav Ochotnicky |
5005490 |
|
|
|
174532a |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
174532a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
174532a |
|
|
Luke Macken |
a72944d |
* Thu Oct 20 2011 Luke Macken <lmacken@redhat.com> - 0.9-1
|
|
Luke Macken |
a72944d |
- Latest upstream release
|
|
Luke Macken |
a72944d |
|
|
Luke Macken |
edb925d |
* Tue Aug 09 2011 Luke Macken <lmacken@redhat.com> - 0.6.1-2
|
|
Luke Macken |
edb925d |
- Create a subpackage for the Python bindings
|
|
Luke Macken |
edb925d |
|
|
Karel Klic |
77312fd |
* Thu Jul 28 2011 Karel Klíč <kklic@redhat.com> - 0.6.1-1
|
|
Karel Klic |
77312fd |
- Latest upstream release
|
|
Karel Klic |
77312fd |
- Added -gmime patch to compile with GMime 2.5.x (upstream uses GMime 2.4.x)
|
|
Karel Klic |
77312fd |
|
|
|
9c9b55b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-4
|
|
|
9c9b55b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9c9b55b |
|
|
Karel Klic |
e15c65f |
* Thu Dec 09 2010 Karel Klic <kklic@redhat.com> - 0.5-3
|
|
Karel Klic |
e15c65f |
- Removed local emacs %%globals, as they are not needed
|
|
Karel Klic |
e15c65f |
|
|
Karel Klic |
245ea35 |
* Thu Nov 25 2010 Karel Klic <kklic@redhat.com> - 0.5-2
|
|
Karel Klic |
245ea35 |
- Removed BuildRoot tag
|
|
Karel Klic |
245ea35 |
- Removed %%clean section
|
|
Karel Klic |
245ea35 |
|
|
Karel Klic |
7a586b7 |
* Mon Nov 15 2010 Karel Klic <kklic@redhat.com> - 0.5-1
|
|
Karel Klic |
7a586b7 |
- New upstream release
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
* Fri Oct 15 2010 Karel Klic <kklic@redhat.com> - 0.3.1-3
|
|
Karel Klic |
7a586b7 |
- Improved the main package description.
|
|
Karel Klic |
7a586b7 |
- Various spec file improvements.
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
* Fri Oct 8 2010 Karel Klic <kklic@redhat.com> - 0.3.1-2
|
|
Karel Klic |
7a586b7 |
- Added patch that fixes linking on F13+
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
* Thu Oct 7 2010 Karel Klic <kklic@redhat.com> - 0.3.1-1
|
|
Karel Klic |
7a586b7 |
- New version
|
|
Karel Klic |
7a586b7 |
- Splitted notmuch into several packages
|
|
Karel Klic |
7a586b7 |
|
|
Karel Klic |
7a586b7 |
* Wed Nov 18 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.0-0.3.306635c2
|
|
Karel Klic |
7a586b7 |
- First version
|