Salt - add example spec files

This commit is contained in:
unman 2021-02-03 00:42:01 +00:00
parent c63b615c24
commit bb657bde05
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
2 changed files with 46 additions and 0 deletions

23
builder.spec Normal file
View 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
View 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