lorax-templates-rhel/lorax-templates-rhel.spec
Will Woods 2f477626fa Add the rest of the files
...turns out you can't just have a single template file, because lorax
just picks a single directory and expects all the data it needs to be
there. Sigh.

So this adds all the rest of the files, plus some Makefile machinery for
generating a tarball and updating the specfile after you've checked in
changes. See README for details.
2018-06-18 15:32:22 -04:00

36 lines
833 B
RPMSpec

Name: lorax-templates-rhel
Version: 8.0
Release: 0%{?dist}
Summary: RHEL8 build templates for lorax and livemedia-creator
License: GPLv2+
URL: https://github.com/weldr/lorax
BuildArch: noarch
Source0: lorax-templates-rhel-8.0-0.tar.gz
# Where are these supposed to end up?
%define templatedir %{_datadir}/lorax/templates.d/80-rhel
%description
RHEL-specific Lorax templates for creating the boot.iso and live isos are
placed in %{templatedir}
%prep
%setup
%build
# nothing to build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{templatedir}
cp -a 80-rhel/* $RPM_BUILD_ROOT/%{templatedir}
%files
%dir %{templatedir}
%{templatedir}/*
%changelog
* Mon Jun 18 2018 Will Woods <wwoods@redhat.com> - 8.0-0
- Initial creation of lorax-templates-rhel package