From 1926901edac23358905f23c6e5a47ede87416b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Gr=C3=BCnewald?= Date: Mon, 8 Feb 2021 01:47:01 +0100 Subject: [PATCH] Fix it up --- .copr/Makefile | 2 ++ ly.spec.rpkg => ly.spec | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 .copr/Makefile rename ly.spec.rpkg => ly.spec (77%) diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 0000000..09b443a --- /dev/null +++ b/.copr/Makefile @@ -0,0 +1,2 @@ +srpm: + make github diff --git a/ly.spec.rpkg b/ly.spec similarity index 77% rename from ly.spec.rpkg rename to ly.spec index 6dbf810..888a082 100644 --- a/ly.spec.rpkg +++ b/ly.spec @@ -1,11 +1,9 @@ -Name: {{{ git_dir_name }}} -Version: {{{ git_dir_version }}} -Release: 1%{?dist} +Name: ly +Version: 0.5.2 +Release: 0 Summary: A TUI display manager License: WTFPL URL: https://github.com/nullgemm/ly -VCS: {{{ git_dir_vcs }}} -Source: {{{ git_dir_pack }}} BuildRequires: libxcb-devel BuildRequires: pam-devel BuildRequires: make @@ -16,10 +14,11 @@ Requires: pam Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD. %prep -{{{ git_dir_setup_macro }}} +cd src make github %build +cd src make %install @@ -29,6 +28,8 @@ mkdir -p %{buildroot}/usr/bin/ mkdir -p %{buildroot}/usr/lib/systemd/system/ mkdir -p %{buildroot}/etc/pam.d/ DESTDIR="%{buildroot}" make install +chmod -x %{buildroot}/etc/ly/config.ini +chmod -x %{buildroot}/etc/ly/lang/* %files /usr/bin/ly @@ -45,4 +46,3 @@ DESTDIR="%{buildroot}" make install /etc/pam.d/ly %changelog -{{{ git_dir_changelog }}}