%if 0%{!?mkrel:1} %define mkrel(c) %{1}%{?dist} %endif Name: notmuchfs Version: 0.5 Release: %mkrel 1.1 Summary: A virtual maildir file system for notmuch queries Group: Applications/Internet License: GPLv3 URL: https://github.com/tsto/notmuchfs/ # Doesn't Tag Releases # git archive --format=tar --prefix=notmuchfs-0.5/ HEAD | xz > notmuchfs-0.5.tar.xz Source0: https://github.com/tsto/notmuchfs/archive/%{version}.tar.xz#/%{name}-%{version}.tar.xz Patch0: notmuchfs-use-fuse3.diff BuildRequires: pkgconfig BuildRequires: make BuildRequires: gcc BuildRequires: pkgconfig(fuse3) >= 3.0 BuildRequires: notmuch-devel >= 0.32 Recommends: mutt # For notmuch_tag, full of Bashisms. Recommends: bash # To unmount the created file system. Recommends: fuse3 # To scan for new mail. Recommends: notmuch %description Notmuchfs implements a virtual file system which creates maildirs from notmuch mail query results. This is useful for using notmuch with tools which are not aware of notmuch, only maildirs - such as mutt. %prep %autosetup -p1 %build %make_build %install install -d %{buildroot}%{_bindir} install -Dm755 notmuchfs mutt/bin/{notmuch_tag,prompt_mkdir} %{buildroot}%{_bindir} %files %doc ISSUES README.md README.MUTT.md %license COPYING COPYING-GPL-3 %{_bindir}/