shaker/mutt.spec

38 lines
923 B
RPMSpec
Raw Normal View History

2022-07-16 14:13:52 +00:00
Name: 3isec-qubes-mutt
2023-02-21 13:52:35 +00:00
Version: 1.1
2022-07-16 14:13:52 +00:00
Release: 1%{?dist}
2022-08-04 13:47:37 +00:00
Summary: Prepares qube for using mutt in Qubes
2022-07-16 14:13:52 +00:00
License: GPLv3+
2022-08-04 13:47:37 +00:00
SOURCE0: mutt
2022-07-16 14:13:52 +00:00
%description
2022-08-04 13:47:37 +00:00
This package creates a minimal template configured for using mutt in Qubes, including notmuch.
There is a helper script to make it easy to set up mutt.
By default, attachments will be opened in a disposable.
2022-07-16 14:13:52 +00:00
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/srv/salt
cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
%files
%defattr(-,root,root,-)
/srv/salt/mutt/*
%post
if [ $1 -eq 1 ]; then
qubesctl state.apply mutt.clone
qubesctl --skip-dom0 --targets=template-mutt state.apply mutt.install
2022-07-17 16:06:18 +00:00
qubesctl state.apply mutt.configure
2022-07-16 14:13:52 +00:00
fi
%preun
%changelog
2023-02-21 13:52:35 +00:00
* Mon Feb 20 2023 unman <unman@thirdeyesecurity.org> - 1.1
- Use pillar for cacher to determine repo changes
2022-07-16 14:13:52 +00:00
* Wed Jul 15 2021 unman <unman@thirdeyesecurity.org>
- First Build