Name: xtitle Version: 0.4.3 Release: 2%{?dist} Summary: Simple console app that outputs X window titles License: Unlicense URL: https://github.com/baskerville/xtitle Source0: https://github.com/baskerville/%{name}/archive/%{version}.tar.gz BuildRequires: gcc BuildRequires: libxcb-devel xcb-util-devel xcb-util-wm-devel %description Outputs the title of the active window and continue to output it as it changes if the snoop mode is on %prep %setup -q sed -i 's@CFLAGS += -std=c99 -pedantic -Wall -Wextra@CFLAGS += %{optflags}@' Makefile sed -i 's@LDLIBS :=@LDLIBS := %{__global_ldflags}@' Makefile %build make %{?_smp_mflags} %install %make_install PREFIX=%{_prefix} %files %{_bindir}/* %changelog * Sun Nov 12 2017 Ilya Rum - 0.4.3-1 - Initial build