2022-09-09 19:55:53 -04:00
|
|
|
Name: 3isec-qubes-reader
|
2024-02-06 18:51:39 -05:00
|
|
|
Version: 1.1
|
2022-09-09 19:55:53 -04:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Prepares useful software in Qubes
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
SOURCE0: reader
|
|
|
|
|
|
|
|
%description
|
2024-02-06 18:51:39 -05:00
|
|
|
This package creates a template configured with a range of useful software, of particular use to terminal users.
|
|
|
|
The template is based on the debian-12-xfce template.
|
|
|
|
The new template is set as the default template and as template for the global disposable template.
|
2022-09-09 19:55:53 -04:00
|
|
|
|
|
|
|
Removing this package does NOT revert these changes.
|
|
|
|
It only removes the salt files.
|
2024-02-06 18:51:39 -05:00
|
|
|
You must manually set another template as the default using
|
|
|
|
qubes-global-settings, and qubes-template-manager.
|
2022-09-09 19:55:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}/srv/salt
|
|
|
|
cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/srv/salt/reader/*
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
qubesctl state.apply reader.clone
|
|
|
|
qubesctl --skip-dom0 --targets=template-reader state.apply reader.install
|
2022-11-26 11:16:21 -05:00
|
|
|
elif [ $1 -eq 2 ]; then
|
|
|
|
qubesctl state.apply reader.clone
|
2022-09-09 19:55:53 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-02-06 18:51:39 -05:00
|
|
|
* Tue Feb 06 2024 unman <unman@thirdeyesecurity.org> - 1.1
|
|
|
|
- Update base template to debian-12-xfce
|
|
|
|
- Fix bug so that default dispvm will be correctly identified and have template set.
|
2023-02-21 08:52:35 -05:00
|
|
|
* Mon Feb 20 2023 unman <unman@thirdeyesecurity.org> - 1.0
|
|
|
|
- Use pillar for cacher to determine repo changes
|
2022-11-26 11:16:21 -05:00
|
|
|
* Sat Nov 26 2022 unman <unman@thirdeyesecurity.org>
|
|
|
|
- Fix error on setting templates
|
2022-09-09 19:55:53 -04:00
|
|
|
* Fri Sep 09 2022 unman <unman@thirdeyesecurity.org>
|
|
|
|
- First Build
|