2010-11-12 01:30:50 +01:00
|
|
|
%global git 6b9a717c
|
|
|
|
%global date %(date +%Y%m%d)
|
2009-11-18 19:31:54 +01:00
|
|
|
|
2010-11-12 01:30:50 +01:00
|
|
|
# If you are doing a git snapshot:
|
|
|
|
#
|
|
|
|
# Release should be 1%{git}%{?dist}
|
|
|
|
# Source0 should be notmuch-%{version}-%{git}.tar.gz
|
|
|
|
# git version is generated by 'git show-ref --hash=8 HEAD'
|
|
|
|
#
|
|
|
|
# To create a tarball:
|
|
|
|
#
|
|
|
|
# git clone git://notmuchmail.org/git/notmuch
|
|
|
|
# cd notmuch
|
|
|
|
# git archive --format=tar --prefix=notmuch-0.4/ HEAD | gzip > notmuch-0.4-`git show-ref --hash=8 HEAD`.tar.gz
|
|
|
|
#
|
|
|
|
|
2009-11-18 19:31:54 +01:00
|
|
|
Name: notmuch
|
2013-04-28 11:52:31 +02:00
|
|
|
Version: 0.15.2
|
2010-11-12 01:30:50 +01:00
|
|
|
Release: 1%{?dist}
|
2013-04-28 11:52:33 +02:00
|
|
|
Summary: Thread-based email index, search and tagging
|
2009-11-18 19:31:54 +01:00
|
|
|
|
|
|
|
Group: Applications/Internet
|
|
|
|
License: GPLv3+
|
|
|
|
URL: http://notmuchmail.org/
|
|
|
|
|
2010-11-12 01:30:50 +01:00
|
|
|
Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz
|
2009-11-18 19:31:54 +01:00
|
|
|
|
2013-04-28 11:52:33 +02:00
|
|
|
BuildRequires: xapian-core-devel gmime-devel libtalloc-devel
|
|
|
|
BuildRequires: zlib-devel emacs-el emacs-nox
|
2009-11-18 19:31:54 +01:00
|
|
|
|
|
|
|
%description
|
2013-04-28 11:52:33 +02:00
|
|
|
Fast system for indexing, searching, and tagging email. Even if you
|
|
|
|
receive 12000 messages per month or have on the order of millions of
|
|
|
|
messages that you've been saving for decades, Notmuch will be able to
|
|
|
|
quickly search all of it.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries and header files for %{name}
|
2010-11-12 01:30:50 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
2013-04-28 11:52:33 +02:00
|
|
|
%description devel
|
2010-11-12 01:30:50 +01:00
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
2013-04-28 11:52:35 +02:00
|
|
|
%package -n emacs-notmuch
|
|
|
|
Summary: Not much support for Emacs
|
|
|
|
Group: Applications/Editors
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: %{name} = %{version}-%{release}, emacs(bin) >= %{_emacs_version}
|
|
|
|
|
|
|
|
%description -n emacs-notmuch
|
|
|
|
%{summary}.
|
|
|
|
|
2009-11-18 19:31:54 +01:00
|
|
|
%prep
|
2010-11-12 01:30:50 +01:00
|
|
|
%setup -q
|
2009-11-18 19:31:54 +01:00
|
|
|
|
|
|
|
%build
|
2013-04-28 11:52:31 +02:00
|
|
|
./configure --prefix=%{_prefix} --libdir=%{_libdir} --sysconfdir=%{_sysconfdir} \
|
|
|
|
--mandir=%{_mandir} --includedir=%{_includedir} --emacslispdir=%{_emacs_sitelispdir}
|
2009-11-18 19:31:54 +01:00
|
|
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
%install
|
2013-04-28 11:52:31 +02:00
|
|
|
make install DESTDIR=%{buildroot}
|
2009-11-18 19:31:54 +01:00
|
|
|
|
2010-11-12 01:30:50 +01:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2009-11-18 19:31:54 +01:00
|
|
|
%files
|
2013-04-28 11:52:31 +02:00
|
|
|
%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README
|
2013-04-28 11:52:34 +02:00
|
|
|
%{_sysconfdir}/bash_completion.d/notmuch
|
|
|
|
%{_datadir}/zsh/functions/Completion/Unix/_notmuch
|
2009-11-18 19:31:54 +01:00
|
|
|
%{_bindir}/notmuch
|
2013-04-28 11:52:31 +02:00
|
|
|
%{_mandir}/man?/*
|
2013-04-28 11:52:34 +02:00
|
|
|
%{_libdir}/libnotmuch.so.3*
|
2010-11-12 01:30:50 +01:00
|
|
|
|
|
|
|
%files devel
|
2013-04-28 11:52:34 +02:00
|
|
|
%{_libdir}/libnotmuch.so
|
2010-11-12 01:30:50 +01:00
|
|
|
%{_includedir}/*
|
2009-11-18 19:31:54 +01:00
|
|
|
|
2013-04-28 11:52:35 +02:00
|
|
|
%files -n emacs-notmuch
|
|
|
|
%{_emacs_sitelispdir}/*
|
|
|
|
|
2009-11-18 19:31:54 +01:00
|
|
|
%changelog
|
2013-04-28 11:52:31 +02:00
|
|
|
* Sun Apr 28 2013 Felipe Contreras <felipe.contreras@gmail.com> - 0.15.2-1
|
|
|
|
- Update to latest upstream
|
|
|
|
|
2010-11-12 01:30:50 +01:00
|
|
|
* Tue Nov 2 2010 Scott Henson <shenson@redhat.com> - 0.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2009-11-18 19:31:54 +01:00
|
|
|
* Wed Nov 18 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.0-0.3.306635c2
|
|
|
|
- First version
|
|
|
|
|