Multimedia - update spec

This commit is contained in:
unman 2022-05-16 14:12:31 +00:00
parent 17b5b7d677
commit 84f5a3c212
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C

View File

@ -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