mirror of
https://github.com/unman/shaker.git
synced 2025-03-01 03:01:25 -05:00
Salt - add example spec files
This commit is contained in:
parent
c63b615c24
commit
bb657bde05
23
builder.spec
Normal file
23
builder.spec
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Name: template-builder
|
||||||
|
Version: 1.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Salt builder template
|
||||||
|
|
||||||
|
License: GPLv3+
|
||||||
|
SOURCE0: builder
|
||||||
|
|
||||||
|
%description
|
||||||
|
Salt state for Qubes builder template
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
mkdir -p %{buildroot}/srv/salt
|
||||||
|
cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
/srv/salt/builder/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Fed 03 2021 unman <unman@thirdeyesecurity.org>
|
||||||
|
- First Build
|
23
multimedia.spec
Normal file
23
multimedia.spec
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Name: template-multimedia
|
||||||
|
Version: 1.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Salt multimedia template
|
||||||
|
|
||||||
|
License: GPLv3+
|
||||||
|
SOURCE0: multimedia
|
||||||
|
|
||||||
|
%description
|
||||||
|
Salt state for multimedia template
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
mkdir -p %{buildroot}/srv/salt
|
||||||
|
cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
/srv/salt/multimedia/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Fed 03 2021 unman <unman@thirdeyesecurity.org>
|
||||||
|
- First Build
|
Loading…
x
Reference in New Issue
Block a user