mirror of
https://github.com/unman/shaker.git
synced 2025-01-26 06:25:54 -05:00
Multimedia - update spec
This commit is contained in:
parent
17b5b7d677
commit
84f5a3c212
@ -1,13 +1,13 @@
|
||||
Name: template-multimedia
|
||||
Version: 1.0
|
||||
Name: sys-multimedia
|
||||
Version: 2.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Salt multimedia template
|
||||
Summary: Salt multimedia template and qubes
|
||||
|
||||
License: GPLv3+
|
||||
SOURCE0: multimedia
|
||||
|
||||
%description
|
||||
Salt state for multimedia template
|
||||
Salt state for multimedia template and qubes
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
@ -18,6 +18,15 @@ cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
||||
%defattr(-,root,root,-)
|
||||
/srv/salt/multimedia/*
|
||||
|
||||
%post
|
||||
if [ $1 -eq 1 ]; then
|
||||
qubesctl state.apply multimedia.create
|
||||
qubesctl --skip-dom0 --targets=template-multimedia state.apply multimedia.install
|
||||
qubesctl --skip-dom0 --targets=media state.apply multimedia.configure
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Wed Fed 03 2021 unman <unman@thirdeyesecurity.org>
|
||||
* Sun May 15 2022 unman <unman@thirdeyesecurity.org> - 2.0
|
||||
- Add post install salting
|
||||
* Wed Feb 03 2021 unman <unman@thirdeyesecurity.org>
|
||||
- First Build
|
||||
|
Loading…
x
Reference in New Issue
Block a user