diff --git a/ly.spec b/ly.spec index f8ee1b7..0298e22 100644 --- a/ly.spec +++ b/ly.spec @@ -12,6 +12,8 @@ BuildRequires: gcc gcc-c++ BuildRequires: kernel-devel pam-devel BuildRequires: libxcb-devel +%systemd_requires + %description Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD. @@ -32,9 +34,19 @@ Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD. %files %license license.md -%doc +%doc readme.md +%{_sysconfdir}/ly +%{_sysconfdir}/pam.d/* +%{_unitdir}/* +%{_bindir}/* +%post +%systemd_post %{name}.service + +%preun +%systemd_preun %{name}.service + %changelog * Thu Sep 29 2022 Jerzy Drozdz - 0.5.3-1 - Initial build