Name: i3blocks Version: 1.5 Release: 1%{?dist} Summary: Highly flexible status line for the i3 window manager License: GPLv3+ URL: https://github.com/vivien/i3blocks/ Source0: https://github.com/vivien/i3blocks/releases/download/%{version}/i3blocks-%{version}.tar.gz BuildRequires: gcc %description i3blocks is a highly flexible status line for the i3 window manager. It handles clicks, signals and language-agnostic user scripts. %prep %autosetup %build ./autogen.sh %configure %make_build CFLAGS="%{optflags} -Iinclude" LDFLAGS="%{__global_ldflags}" PREFIX="%{_prefix}" %install %make_install PREFIX="%{_prefix}" %files %{_bindir}/%{name} %{_sysconfdir}/%{name}.conf %{_mandir}/man1/%{name}.1.gz %{_datadir}/bash-completion/completions/%{name} %changelog