packaging: fedora: trivial cleanups

Mostly to sync with Fedora's spec.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras 2013-04-28 04:52:33 -05:00 committed by David Bremner
parent 8dde4af6cd
commit c30ef56a1b

View file

@ -17,71 +17,38 @@
Name: notmuch Name: notmuch
Version: 0.15.2 Version: 0.15.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: Not much of an email program Summary: Thread-based email index, search and tagging
Group: Applications/Internet Group: Applications/Internet
License: GPLv3+ License: GPLv3+
URL: http://notmuchmail.org/ URL: http://notmuchmail.org/
Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xapian-core-devel BuildRequires: xapian-core-devel gmime-devel libtalloc-devel
BuildRequires: gmime-devel BuildRequires: zlib-devel emacs-el emacs-nox
BuildRequires: libtalloc-devel
BuildRequires: zlib-devel
BuildRequires: emacs-el
BuildRequires: emacs-nox
Requires: emacs(bin) >= %{_emacs_version} Requires: emacs(bin) >= %{_emacs_version}
%description %description
* "Not much mail" is what Notmuch thinks about your email Fast system for indexing, searching, and tagging email. Even if you
collection. Even if you receive 12000 messages per month or have on receive 12000 messages per month or have on the order of millions of
the order of millions of messages that you've been saving for messages that you've been saving for decades, Notmuch will be able to
decades. Regardless, Notmuch will be able to quickly search all of quickly search all of it.
it. It's just plain not much mail.
* "Not much mail" is also what you should have in your inbox at any Notmuch is not much of an email program. It doesn't receive messages
time. Notmuch gives you what you need, (tags and fast search), so (no POP or IMAP support). It doesn't send messages (no mail composer,
that you can keep your inbox tamed and focus on what really matters no network code at all). And for what it does do (email search) that
in your life, (which is surely not email). work is provided by an external library, Xapian. So if Notmuch
provides no user interface and Xapian does all the heavy lifting, then
what's left here? Not much.
* Notmuch is an answer to Sup. Sup is a very good email program %package devel
written by William Morgan (and others) and is the direct inspiration Summary: Development libraries and header files for %{name}
for Notmuch. Notmuch began as an effort to rewrite
performance-critical pieces of Sup in C rather than ruby. From
there, it grew into a separate project. One significant contribution
Notmuch makes compared to Sup is the separation of the
indexer/searcher from the user interface. (Notmuch provides a
library interface so that its indexing/searching/tagging features
can be integrated into any email program.)
* Notmuch is not much of an email program. It doesn't receive messages
(no POP or IMAP support). It doesn't send messages (no mail composer,
no network code at all). And for what it does do (email search) that
work is provided by an external library, Xapian. So if Notmuch
provides no user interface and Xapian does all the heavy lifting,
then what's left here? Not much.
Notmuch is still in the early stages of development, but it does
include one user interface, (implemented within Emacs), which has at
least two users using it for reading all of their incoming mail. If
you've been looking for a fast, global-search and tag-based email
reader to use within Emacs, then Notmuch may be exactly what you've
been looking for.
Otherwise, if you're a developer of an existing email program and
would love a good library interface for fast, global search with
support for arbitrary tags, then Notmuch also may be exactly what
you've been looking for.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -96,9 +63,6 @@ make %{?_smp_mflags} CFLAGS="%{optflags}"
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig