2013-01-24 10:50:02 +00:00
|
|
|
Name: lorax-templates-qubes
|
2018-09-17 13:40:39 +00:00
|
|
|
Version: 4.0.3
|
2016-05-18 01:22:57 +00:00
|
|
|
Release: 1%{?dist}
|
2013-01-24 10:50:02 +00:00
|
|
|
Summary: Lorax templates for Qubes installation ISO
|
|
|
|
|
|
|
|
Group: Applications/System
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.qubes-os.org/
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
#BuildRequires:
|
|
|
|
Requires: lorax
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Lorax templates for Qubes installation ISO.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
install -d $RPM_BUILD_ROOT/usr/share/lorax-qubes
|
|
|
|
cp -r templates/* $RPM_BUILD_ROOT/usr/share/lorax-qubes/
|
|
|
|
|
|
|
|
%post
|
|
|
|
# pungi does not allow to specify alternative config, so must override the default one
|
|
|
|
if [ -r /etc/lorax/lorax.conf -a ! -r /etc/lorax/lorax-pre-qubes.conf ]; then
|
|
|
|
mv /etc/lorax/lorax.conf /etc/lorax/lorax-pre-qubes.conf
|
|
|
|
fi
|
|
|
|
|
|
|
|
cat > /etc/lorax/lorax.conf << EOF
|
|
|
|
# Lorax configuration file
|
|
|
|
[lorax]
|
|
|
|
sharedir: /usr/share/lorax-qubes
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/usr/share/lorax-qubes
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|