1 Return-Path: <scott@foolishpride.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id DE29940DBD1
\r
6 for <notmuch@notmuchmail.org>; Thu, 11 Nov 2010 16:31:55 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id ahrMiQpExwc7 for <notmuch@notmuchmail.org>;
\r
16 Thu, 11 Nov 2010 16:31:45 -0800 (PST)
\r
17 Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id 15E3340DBE8
\r
20 for <notmuch@notmuchmail.org>; Thu, 11 Nov 2010 16:31:45 -0800 (PST)
\r
21 Received: by qwg5 with SMTP id 5so944034qwg.26
\r
22 for <notmuch@notmuchmail.org>; Thu, 11 Nov 2010 16:31:44 -0800 (PST)
\r
23 Received: by 10.224.32.165 with SMTP id c37mr1494946qad.97.1289521903404;
\r
24 Thu, 11 Nov 2010 16:31:43 -0800 (PST)
\r
25 Received: from localhost.localdomain ([216.1.176.121])
\r
26 by mx.google.com with ESMTPS id n7sm2461438qcu.28.2010.11.11.16.31.39
\r
27 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
28 Thu, 11 Nov 2010 16:31:42 -0800 (PST)
\r
29 Sender: Scott Henson <sjh@foolishpride.org>
\r
30 From: Scott Henson <scott@foolishpride.org>
\r
31 To: notmuch@notmuchmail.org
\r
32 Subject: [PATCH] Update of the spec file to the 0.4 release.
\r
33 Date: Thu, 11 Nov 2010 16:30:50 -0800
\r
34 Message-Id: <1289521850-3280-2-git-send-email-scott@foolishpride.org>
\r
35 X-Mailer: git-send-email 1.7.2.3
\r
36 In-Reply-To: <1289521850-3280-1-git-send-email-scott@foolishpride.org>
\r
37 References: <1289521850-3280-1-git-send-email-scott@foolishpride.org>
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Fri, 12 Nov 2010 00:31:56 -0000
\r
53 packaging/fedora/notmuch.spec | 74 ++++++++++++++++++++++++++++++-----------
\r
54 1 files changed, 54 insertions(+), 20 deletions(-)
\r
56 diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec
\r
57 index cca3a1b..ef1af2e 100644
\r
58 --- a/packaging/fedora/notmuch.spec
\r
59 +++ b/packaging/fedora/notmuch.spec
\r
61 -%global git 306635c2
\r
62 +%global git 6b9a717c
\r
63 +%global date %(date +%Y%m%d)
\r
65 %if %($(pkg-config emacs) ; echo $?)
\r
66 %global emacs_version 23.1
\r
68 %global emacs_startdir %(pkg-config emacs --variable sitestartdir)
\r
71 +# If you are doing a git snapshot:
\r
73 +# Release should be 1%{git}%{?dist}
\r
74 +# Source0 should be notmuch-%{version}-%{git}.tar.gz
\r
75 +# git version is generated by 'git show-ref --hash=8 HEAD'
\r
77 +# To create a tarball:
\r
79 +# git clone git://notmuchmail.org/git/notmuch
\r
81 +# git archive --format=tar --prefix=notmuch-0.4/ HEAD | gzip > notmuch-0.4-`git show-ref --hash=8 HEAD`.tar.gz
\r
86 -Release: 0.3.%{git}%{?dist}
\r
89 Summary: Not much of an email program
\r
91 Group: Applications/Internet
\r
93 URL: http://notmuchmail.org/
\r
96 -# To create a tarball:
\r
98 -# git clone git://notmuchmail.org/git/notmuch
\r
100 -# git archive --format=tar --prefix=notmuch/ HEAD | bzip2 > notmuch-`git show-ref --hash=8 HEAD`.tar.bz2
\r
102 -Source0: notmuch-%{git}.tar.bz2
\r
103 +Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz
\r
104 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
\r
106 BuildRequires: xapian-core-devel
\r
107 @@ -61,17 +68,17 @@ Requires: emacs(bin) >= %{emacs_version}
\r
108 can be integrated into any email program.)
\r
110 * Notmuch is not much of an email program. It doesn't receive messages
\r
111 - (no POP or IMAP suport). It doesn't send messages (no mail composer,
\r
112 + (no POP or IMAP support). It doesn't send messages (no mail composer,
\r
113 no network code at all). And for what it does do (email search) that
\r
114 work is provided by an external library, Xapian. So if Notmuch
\r
115 provides no user interface and Xapian does all the heavy lifting,
\r
116 then what's left here? Not much.
\r
118 Notmuch is still in the early stages of development, but it does
\r
119 -include one user interface, (implemented within emacs), which has at
\r
120 +include one user interface, (implemented within Emacs), which has at
\r
121 least two users using it for reading all of their incoming mail. If
\r
122 you've been looking for a fast, global-search and tag-based email
\r
123 -reader to use within emacs, then Notmuch may be exactly what you've
\r
124 +reader to use within Emacs, then Notmuch may be exactly what you've
\r
127 Otherwise, if you're a developer of an existing email program and
\r
128 @@ -79,32 +86,59 @@ would love a good library interface for fast, global search with
\r
129 support for arbitrary tags, then Notmuch also may be exactly what
\r
130 you've been looking for.
\r
133 +Summary: Development files for %{name}
\r
134 +Group: Development/Libraries
\r
135 +Requires: %{name} = %{version}-%{release}
\r
137 +%description devel
\r
138 +The %{name}-devel package contains libraries and header files for
\r
139 +developing applications that use %{name}.
\r
142 -%setup -q -n notmuch
\r
146 +./configure --prefix=/usr --libdir=%{_libdir} --sysconfdir=%{_sysconfdir}
\r
147 make %{?_smp_mflags} CFLAGS="%{optflags}"
\r
148 -emacs -batch -f batch-byte-compile notmuch.el
\r
149 +emacs -batch -f batch-byte-compile emacs/*.el
\r
152 rm -rf %{buildroot}
\r
153 make install DESTDIR=%{buildroot} prefix=%{_prefix}
\r
154 -mkdir -p %{buildroot}%{emacs_startdir}
\r
155 -install -m0644 -p notmuch.el* %{buildroot}%{emacs_startdir}
\r
156 +mv %{buildroot}%{_sysconfdir}/bash_completion.d %{buildroot}%{_datarootdir}/bash_completion
\r
159 rm -rf %{buildroot}
\r
161 +%post -p /sbin/ldconfig
\r
163 +%postun -p /sbin/ldconfig
\r
166 %defattr(-,root,root,-)
\r
167 %doc AUTHORS COPYING COPYING-GPL-3 INSTALL README TODO
\r
169 -%{_sysconfdir}/bash_completion.d/notmuch
\r
171 +%{_libdir}/libnotmuch.so.*
\r
172 %{_mandir}/man1/notmuch.1*
\r
173 -%{emacs_startdir}/notmuch.el*
\r
175 +%{_emacs_sitelispdir}/*
\r
177 +%{_datarootdir}/zsh/functions/Completion/Unix/notmuch
\r
178 +%{_datarootdir}/bash_completion/notmuch
\r
181 +%defattr(-,root,root,-)
\r
182 +%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README TODO
\r
188 +* Tue Nov 2 2010 Scott Henson <shenson@redhat.com> - 0.4-1
\r
189 +- New upstream release
\r
191 * Wed Nov 18 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.0-0.3.306635c2
\r