lorax-templates-rhel/lorax-templates-rhel.spec
Will Woods 1f7e7e67c8 Initial commit with runtime-install from rhel-8.0 lorax
This is the initial commit for this package. We're just keeping the
templates here in dist-git so for the purposes of posterity I'm starting
with the runtime-install.tmpl from current rhel-8.0 lorax. This way
every change made to the template(s) will be in the git repo. Hooray!

I know we're going to make changes to runtime-install.tmpl, and I
_suspect_ we'll make changes to runtime-postinstall.tmpl and
runtime-cleanup.tmpl, so they're in the specfile (but commented out).
2018-06-18 12:45:54 -04:00

45 lines
1.1 KiB
RPMSpec

Name: lorax-templates-rhel
Version: 8.0
Release: 1%{?dist}
Summary: RHEL8 build templates for lorax and livemedia-creator
#Group: Applications/System
License: GPLv2+
URL: https://github.com/weldr/lorax
Source0: runtime-install.tmpl
#Source1: runtime-postinstall.tmpl
#Source2: runtime-cleanup.tmpl
# It's just text, my friends
BuildArch: noarch
# Where are these supposed to end up?
%define templatedir %{_datadir}/lorax/templates.d/80-rhel
# We need the toplevel templates for arch-specific bits etc.
Requires: lorax-templates >= 28.14.0
%description
RHEL-specific Lorax templates for creating the boot.iso and live isos are
placed in %{templatedir}
%prep
# no-op - our sources are already prepped
%build
# no-op - there's nothing to build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{templatedir}
cp -a %{sources} $RPM_BUILD_ROOT/%{templatedir}
%files
%dir %{templatedir}
%{templatedir}/*.tmpl
%changelog
* Mon Jun 18 2018 Will Woods <wwoods@redhat.com> - 8.0-1
- Initial creation of lorax-templates-rhel package