2 %global date %(date +%Y%m%d)
4 %if %($(pkg-config emacs) ; echo $?)
5 %global emacs_version 23.1
6 %global emacs_lispdir %{_datadir}/emacs/site-lisp
7 %global emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d
9 %global emacs_version %(pkg-config emacs --modversion)
10 %global emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
11 %global emacs_startdir %(pkg-config emacs --variable sitestartdir)
14 # If you are doing a git snapshot:
16 # Release should be 1%{git}%{?dist}
17 # Source0 should be notmuch-%{version}-%{git}.tar.gz
18 # git version is generated by 'git show-ref --hash=8 HEAD'
20 # To create a tarball:
22 # git clone git://notmuchmail.org/git/notmuch
24 # git archive --format=tar --prefix=notmuch-0.4/ HEAD | gzip > notmuch-0.4-`git show-ref --hash=8 HEAD`.tar.gz
30 Summary: Not much of an email program
32 Group: Applications/Internet
34 URL: http://notmuchmail.org/
36 Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz
37 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
39 BuildRequires: xapian-core-devel
40 BuildRequires: gmime-devel
41 BuildRequires: libtalloc-devel
42 BuildRequires: zlib-devel
43 BuildRequires: emacs-el
44 BuildRequires: emacs-nox
46 Requires: emacs(bin) >= %{emacs_version}
49 * "Not much mail" is what Notmuch thinks about your email
50 collection. Even if you receive 12000 messages per month or have on
51 the order of millions of messages that you've been saving for
52 decades. Regardless, Notmuch will be able to quickly search all of
53 it. It's just plain not much mail.
55 * "Not much mail" is also what you should have in your inbox at any
56 time. Notmuch gives you what you need, (tags and fast search), so
57 that you can keep your inbox tamed and focus on what really matters
58 in your life, (which is surely not email).
60 * Notmuch is an answer to Sup. Sup is a very good email program
61 written by William Morgan (and others) and is the direct inspiration
62 for Notmuch. Notmuch began as an effort to rewrite
63 performance-critical pieces of Sup in C rather than ruby. From
64 there, it grew into a separate project. One significant contribution
65 Notmuch makes compared to Sup is the separation of the
66 indexer/searcher from the user interface. (Notmuch provides a
67 library interface so that its indexing/searching/tagging features
68 can be integrated into any email program.)
70 * Notmuch is not much of an email program. It doesn't receive messages
71 (no POP or IMAP support). It doesn't send messages (no mail composer,
72 no network code at all). And for what it does do (email search) that
73 work is provided by an external library, Xapian. So if Notmuch
74 provides no user interface and Xapian does all the heavy lifting,
75 then what's left here? Not much.
77 Notmuch is still in the early stages of development, but it does
78 include one user interface, (implemented within Emacs), which has at
79 least two users using it for reading all of their incoming mail. If
80 you've been looking for a fast, global-search and tag-based email
81 reader to use within Emacs, then Notmuch may be exactly what you've
84 Otherwise, if you're a developer of an existing email program and
85 would love a good library interface for fast, global search with
86 support for arbitrary tags, then Notmuch also may be exactly what
87 you've been looking for.
90 Summary: Development files for %{name}
91 Group: Development/Libraries
92 Requires: %{name} = %{version}-%{release}
95 The %{name}-devel package contains libraries and header files for
96 developing applications that use %{name}.
102 ./configure --prefix=/usr --libdir=%{_libdir} --sysconfdir=%{_sysconfdir}
103 make %{?_smp_mflags} CFLAGS="%{optflags}"
104 emacs -batch -f batch-byte-compile emacs/*.el
108 make install DESTDIR=%{buildroot} prefix=%{_prefix}
109 mv %{buildroot}%{_sysconfdir}/bash_completion.d %{buildroot}%{_datarootdir}/bash_completion
114 %post -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
119 %defattr(-,root,root,-)
120 %doc AUTHORS COPYING COPYING-GPL-3 INSTALL README TODO
123 %{_libdir}/libnotmuch.so.*
124 %{_mandir}/man1/notmuch.1*
126 %{_emacs_sitelispdir}/*
128 %{_datarootdir}/zsh/functions/Completion/Unix/notmuch
129 %{_datarootdir}/bash_completion/notmuch
132 %defattr(-,root,root,-)
133 %doc AUTHORS COPYING COPYING-GPL-3 INSTALL README TODO
139 * Tue Nov 2 2010 Scott Henson <shenson@redhat.com> - 0.4-1
140 - New upstream release
142 * Wed Nov 18 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.0-0.3.306635c2