X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=packaging%2Ffedora%2Fnotmuch.spec;h=1e6ec3ba2e82605e0de8938960459796c915ba09;hp=65c26dba708410cf845cc4fe3f4da8d2d91d4b3e;hb=de668cffd73b1c3d2de58dc7cb9b8d8b6aee22fd;hpb=92c0591db92963fec03f48608404a120af72dccc diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec index 65c26dba..1e6ec3ba 100644 --- a/packaging/fedora/notmuch.spec +++ b/packaging/fedora/notmuch.spec @@ -1,16 +1,6 @@ %global git 6b9a717c %global date %(date +%Y%m%d) -%if %($(pkg-config emacs) ; echo $?) -%global emacs_version 23.1 -%global emacs_lispdir %{_datadir}/emacs/site-lisp -%global emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d -%else -%global emacs_version %(pkg-config emacs --modversion) -%global emacs_lispdir %(pkg-config emacs --variable sitepkglispdir) -%global emacs_startdir %(pkg-config emacs --variable sitestartdir) -%endif - # If you are doing a git snapshot: # # Release should be 1%{git}%{?dist} @@ -27,74 +17,48 @@ Name: notmuch Version: 0.15.2 Release: 1%{?dist} -Summary: Not much of an email program +Summary: Thread-based email index, search and tagging Group: Applications/Internet License: GPLv3+ URL: http://notmuchmail.org/ Source0: http://notmuchmail.org/releases/notmuch-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: xapian-core-devel -BuildRequires: gmime-devel -BuildRequires: libtalloc-devel -BuildRequires: zlib-devel -BuildRequires: emacs-el -BuildRequires: emacs-nox -Requires: emacs(bin) >= %{emacs_version} +BuildRequires: xapian-core-devel gmime-devel libtalloc-devel +BuildRequires: zlib-devel emacs-el emacs-nox %description -* "Not much mail" is what Notmuch thinks about your email - collection. Even if you receive 12000 messages per month or have on - the order of millions of messages that you've been saving for - decades. Regardless, Notmuch will be able to quickly search all of - it. It's just plain not much mail. - -* "Not much mail" is also what you should have in your inbox at any - time. Notmuch gives you what you need, (tags and fast search), so - that you can keep your inbox tamed and focus on what really matters - in your life, (which is surely not email). - -* Notmuch is an answer to Sup. Sup is a very good email program - written by William Morgan (and others) and is the direct inspiration - 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} +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} Group: Development/Libraries Requires: %{name} = %{version}-%{release} -%description devel +%description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%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}. + %prep %setup -q @@ -106,32 +70,24 @@ make %{?_smp_mflags} CFLAGS="%{optflags}" %install make install DESTDIR=%{buildroot} -%clean -rm -rf %{buildroot} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc AUTHORS COPYING COPYING-GPL-3 INSTALL README - +%{_sysconfdir}/bash_completion.d/notmuch +%{_datadir}/zsh/functions/Completion/Unix/_notmuch %{_bindir}/notmuch -%{_libdir}/libnotmuch.so.3* %{_mandir}/man?/* - -%{_emacs_sitelispdir}/* - -%{_datarootdir}/zsh/functions/Completion/Unix/_notmuch -%{_sysconfdir}/bash_completion.d/notmuch +%{_libdir}/libnotmuch.so.3* %files devel -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README +%{_libdir}/libnotmuch.so %{_includedir}/* -%{_libdir}/*.so +%files -n emacs-notmuch +%{_emacs_sitelispdir}/* %changelog * Sun Apr 28 2013 Felipe Contreras - 0.15.2-1