Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:michals
notmuchfs
notmuchfs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File notmuchfs.spec of Package notmuchfs
# # spec file for package notmuchfs # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define hash 4241a4dc28eafe026dfe0232e68f72fd64e0c0bb Name: notmuchfs Version: 0.2+git20160726144223+4241a4d Release: 0 Summary: A virtual maildir file system for notmuch queries License: GPL-3.0 Group: Productivity/Networking/Email/Utilities Url: https://github.com/tsto/notmuchfs Source: https://github.com/tsto/notmuchfs/archive/%{hash}.tar.gz BuildRequires: fuse-devel >= 2.6 BuildRequires: notmuch-devel >= 0.20 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A notmuchfs virtual file system is mounted referencing a particular existing (real) directory called the 'backing store'. Directories created within the backing store, when read, appear to have the standard maildir format (e.g. cur/, new/, tmp/ sub-directories). Notmuchfs interprets the names of these backing store directories as notmuch queries, and fills the cur/ maildir sub-directory in the directory in the virtual file system with corresponding name, to appear to contain messages which are the result of executing that query (at the instant in time that the directory is read). Each virtual maildir message file, when read, appears to have the exact content of the message referenced by the notmuch query, augmented with an 'X-Label' header generated automatically by notmuchfs, containing the notmuch tags of that message. The name of each virtual maildir message is derived from the real name of the maildir message, causing maildir flags to be 'passed through' from the real maildir message to notmuchfs. The renaming of virtual maildir messages within the same maildir sub-directory e.g. cur/, is supported. This allows the modification of maildir flags to be passed back through notmuchfs to the real message, by renaming the real message. Renaming virtual messages from new/ to cur/ is allowed, to support standard maildir behavior. Renaming virtual messages from cur/ to new/ is optionally also allowed, to support non-maildir-compliant MUAs such as mutt (see mount option '-o mutt_2476_workaround'). In all rename cases, the notmuch database is informed of the rename, to keep the database in sync with the real maildir message. Symbolic links to directories have their targets interpreted as notmuch queries, providing query 'aliases'. The unlinking of virtual maildir messages is supported - the real message file is unlinked. In general, non-maildir operations such as mkdir() at the root level, rename of non-maildir files, etc. which are executed within the virtual file system are passed to the backing store. %prep %setup -q -n %{name}-%{hash} %build make %{?_smp_mflags} %install install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name} %post %postun %files %defattr(-,root,root) %doc AUTHORS COPYING COPYING-GPL-3 INSTALL ISSUES mutt README.md README.MUTT.md %{_bindir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor