Name: autosig-crypt-enroll Version: 0.1 Release: 1%{?dist} Summary: Auto-enroll a TPM key at startup for dm-crypt License: MIT Source0: autosig-crypt-enroll Source1: autosig-crypt-enroll.service %description Auto-enroll a TPM key at startup for dm-crypt %prep %build %install mkdir -p %{buildroot}%{_bindir} install -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/ mkdir -p %{buildroot}%{_unitdir} install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/ %post systemctl --no-reload enable autosig-crypt-enroll.service %files %{_bindir}/autosig-crypt-enroll %{_unitdir}/autosig-crypt-enroll.service %changelog * Wed Apr 20 2022 Alexander Larsson - Initial version