Name: system-installer Version: 0.1 Release: 0 License: GPL-2.0 Summary: PC Installer Group: Base/Utilities Source: %{name}-%{version}.tar.xz Requires: rsync Requires: plymouth Requires: syslinux-extlinux Requires: btrfs-progs Requires: snapper Requires: dosfstools Requires: gptfdisk Source1001: system-installer.manifest %description Installs a system from a USB stick to a local hard-disk. %prep %setup -q cp %{SOURCE1001} . %build %install install -d %{buildroot}/%{_sbindir} install -d %{buildroot}/%{_sysconfdir}/installer install -d %{buildroot}/%{_unitdir} install -m 0644 systemd/system-installer.service %{buildroot}/%{_unitdir} install -m 0775 scripts/system-installer %{buildroot}/%{_sbindir}/system-installer install -m 0775 scripts/installer-conf-creator %{buildroot}/%{_sbindir}/installer-conf-creator %files %manifest %{name}.manifest %defattr(-,root,root) %{_sbindir}/system-installer %{_sbindir}/installer-conf-creator %{_unitdir}/system-installer.service