Re: bug#6214: 23.1; json-read-string crashes emacs with long string
[notmuch-archives.git] / 1b / 36bc867cd82908a2a4ecd9f1116109e51fd130
1 Return-Path: <jeff@ocjtech.us>\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 B83BF431FC0\r
6         for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 13:23:06 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id 69Et9SgpYeSG for <notmuch@notmuchmail.org>;\r
11         Wed, 18 Nov 2009 13:23:05 -0800 (PST)\r
12 Received: from mail-yx0-f204.google.com (mail-yx0-f204.google.com\r
13         [209.85.210.204])\r
14         by olra.theworths.org (Postfix) with ESMTP id A7B79431FC4\r
15         for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 13:23:04 -0800 (PST)\r
16 Received: by mail-yx0-f204.google.com with SMTP id 42so1686954yxe.22\r
17         for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 13:23:04 -0800 (PST)\r
18 Received: by 10.101.72.16 with SMTP id z16mr3865306ank.90.1258579384054;\r
19         Wed, 18 Nov 2009 13:23:04 -0800 (PST)\r
20 Received: from lt26923.campus.dmacc.edu ([69.57.47.215])\r
21         by mx.google.com with ESMTPS id 36sm180609yxh.31.2009.11.18.13.23.03\r
22         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
23         Wed, 18 Nov 2009 13:23:03 -0800 (PST)\r
24 Received: from localhost ([127.0.0.1] helo=localhost.localdomain)\r
25         by lt26923.campus.dmacc.edu with esmtps (TLSv1:AES256-SHA:256)\r
26         (Exim 4.69) (envelope-from <jeff@ocjtech.us>)\r
27         id 1NApKA-0004Bn-67; Wed, 18 Nov 2009 12:32:14 -0600\r
28 From: "Jeffrey C. Ollie" <jeff@ocjtech.us>\r
29 To: Not Much Mail <notmuch@notmuchmail.org>\r
30 Date: Wed, 18 Nov 2009 12:31:54 -0600\r
31 Message-Id: <1258569114-16034-2-git-send-email-jeff@ocjtech.us>\r
32 X-Mailer: git-send-email 1.6.5.2\r
33 In-Reply-To: <1258569114-16034-1-git-send-email-jeff@ocjtech.us>\r
34 References: <1258569114-16034-1-git-send-email-jeff@ocjtech.us>\r
35 Subject: [notmuch] [PATCH] notmuch build: add a RPM spec file\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.12\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Wed, 18 Nov 2009 21:23:07 -0000\r
49 \r
50 Add a spec file for building RPM packages.\r
51 \r
52 Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>\r
53 ---\r
54  notmuch.spec |  110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r
55  1 files changed, 110 insertions(+), 0 deletions(-)\r
56  create mode 100644 notmuch.spec\r
57 \r
58 diff --git a/notmuch.spec b/notmuch.spec\r
59 new file mode 100644\r
60 index 0000000..cca3a1b\r
61 --- /dev/null\r
62 +++ b/notmuch.spec\r
63 @@ -0,0 +1,110 @@\r
64 +%global git 306635c2\r
65 +\r
66 +%if %($(pkg-config emacs) ; echo $?)\r
67 +%global emacs_version 23.1\r
68 +%global emacs_lispdir %{_datadir}/emacs/site-lisp\r
69 +%global emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d\r
70 +%else\r
71 +%global emacs_version %(pkg-config emacs --modversion)\r
72 +%global emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)\r
73 +%global emacs_startdir %(pkg-config emacs --variable sitestartdir)\r
74 +%endif\r
75 +\r
76 +Name:           notmuch\r
77 +Version:        0.0\r
78 +Release:        0.3.%{git}%{?dist}\r
79 +Summary:        Not much of an email program\r
80 +\r
81 +Group:          Applications/Internet\r
82 +License:        GPLv3+\r
83 +URL:            http://notmuchmail.org/\r
84 +\r
85 +#\r
86 +# To create a tarball:\r
87 +#\r
88 +# git clone git://notmuchmail.org/git/notmuch\r
89 +# cd notmuch\r
90 +# git archive --format=tar --prefix=notmuch/ HEAD | bzip2 > notmuch-`git show-ref --hash=8 HEAD`.tar.bz2\r
91 +#\r
92 +Source0:        notmuch-%{git}.tar.bz2\r
93 +BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)\r
94 +\r
95 +BuildRequires:  xapian-core-devel\r
96 +BuildRequires:  gmime-devel\r
97 +BuildRequires:  libtalloc-devel\r
98 +BuildRequires:  zlib-devel\r
99 +BuildRequires:  emacs-el\r
100 +BuildRequires:  emacs-nox\r
101 +\r
102 +Requires:       emacs(bin) >= %{emacs_version}\r
103 +\r
104 +%description\r
105 +* "Not much mail" is what Notmuch thinks about your email\r
106 +  collection. Even if you receive 12000 messages per month or have on\r
107 +  the order of millions of messages that you've been saving for\r
108 +  decades. Regardless, Notmuch will be able to quickly search all of\r
109 +  it. It's just plain not much mail.\r
110 +\r
111 +* "Not much mail" is also what you should have in your inbox at any\r
112 +  time. Notmuch gives you what you need, (tags and fast search), so\r
113 +  that you can keep your inbox tamed and focus on what really matters\r
114 +  in your life, (which is surely not email).\r
115 +\r
116 +* Notmuch is an answer to Sup. Sup is a very good email program\r
117 +  written by William Morgan (and others) and is the direct inspiration\r
118 +  for Notmuch. Notmuch began as an effort to rewrite\r
119 +  performance-critical pieces of Sup in C rather than ruby. From\r
120 +  there, it grew into a separate project. One significant contribution\r
121 +  Notmuch makes compared to Sup is the separation of the\r
122 +  indexer/searcher from the user interface. (Notmuch provides a\r
123 +  library interface so that its indexing/searching/tagging features\r
124 +  can be integrated into any email program.)\r
125 +\r
126 +* Notmuch is not much of an email program. It doesn't receive messages\r
127 +  (no POP or IMAP suport). It doesn't send messages (no mail composer,\r
128 +  no network code at all). And for what it does do (email search) that\r
129 +  work is provided by an external library, Xapian. So if Notmuch\r
130 +  provides no user interface and Xapian does all the heavy lifting,\r
131 +  then what's left here? Not much.\r
132 +\r
133 +Notmuch is still in the early stages of development, but it does\r
134 +include one user interface, (implemented within emacs), which has at\r
135 +least two users using it for reading all of their incoming mail. If\r
136 +you've been looking for a fast, global-search and tag-based email\r
137 +reader to use within emacs, then Notmuch may be exactly what you've\r
138 +been looking for.\r
139 +\r
140 +Otherwise, if you're a developer of an existing email program and\r
141 +would love a good library interface for fast, global search with\r
142 +support for arbitrary tags, then Notmuch also may be exactly what\r
143 +you've been looking for.\r
144 +\r
145 +%prep\r
146 +%setup -q -n notmuch\r
147 +\r
148 +%build\r
149 +make %{?_smp_mflags} CFLAGS="%{optflags}"\r
150 +emacs -batch -f batch-byte-compile notmuch.el\r
151 +\r
152 +%install\r
153 +rm -rf %{buildroot}\r
154 +make install DESTDIR=%{buildroot} prefix=%{_prefix}\r
155 +mkdir -p %{buildroot}%{emacs_startdir}\r
156 +install -m0644 -p notmuch.el* %{buildroot}%{emacs_startdir}\r
157 +\r
158 +%clean\r
159 +rm -rf %{buildroot}\r
160 +\r
161 +%files\r
162 +%defattr(-,root,root,-)\r
163 +%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README TODO\r
164 +\r
165 +%{_sysconfdir}/bash_completion.d/notmuch\r
166 +%{_bindir}/notmuch\r
167 +%{_mandir}/man1/notmuch.1*\r
168 +%{emacs_startdir}/notmuch.el*\r
169 +\r
170 +%changelog\r
171 +* Wed Nov 18 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.0-0.3.306635c2\r
172 +- First version\r
173 +\r
174 -- \r
175 1.6.5.2\r
176 \r