mirror of
https://github.com/unman/shaker.git
synced 2025-07-26 15:55:24 -04:00
Salt - add example spec files
This commit is contained in:
parent
c63b615c24
commit
bb657bde05
2 changed files with 46 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue