diff --git a/ly.spec b/ly.spec index fae665b..e77f87f 100644 --- a/ly.spec +++ b/ly.spec @@ -4,6 +4,7 @@ Release: 1 Summary: A TUI display manager License: WTFPL URL: https://github.com/nullgemm/ly +Source: https://github.com/dhalucario/ly/archive/v0.5.2.tar.gz BuildRequires: libxcb-devel BuildRequires: pam-devel BuildRequires: make @@ -14,17 +15,18 @@ Requires: pam Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD. %prep -tar -czvf v0.5.2.tar.gz %{buildroot} -mv v0.5.2.tar.gz %{_sourcedir} -cd %{_sourcedir} -ls -la +rm * -rf +git clone https://github.com/dhalucario/ly.git +cd ly +git checkout v0.5.2 +make github %build -cd src +cd ly make %install -cd src +cd ly mkdir -p %{buildroot}/etc/ mkdir -p %{buildroot}/usr/bin/ mkdir -p %{buildroot}/usr/lib/systemd/system/