%global DIRVERSION %{version} %global _hardened_build 1 %undefine _disable_source_fetch %define debug_package %{nil} Name: bricktick Version: 0.9 Release: 100%{?dist} Summary: Ncurses-based Arkanoid/Breakout clone License: Unlicense public domain (see unlicense.org) Group: Applications/Games URL: https://universe2.us/bricktick.html Source0: https://universe2.us/bricktick_%{version}.tar.gz BuildRequires: ncurses-devel BuildRequires: make BuildRequires: gcc Requires: ncurses %description Ncurses-based Arkanoid/Breakout clone with levels, color, charms, save and load, and more %prep %setup -q -n bricktick_%{version} %build %{?set_build_flags} make CFLAGS="${CFLAGS} -std=gnu89 -pedantic" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_bindir}/ install -m 0755 bricktick $RPM_BUILD_ROOT/%{_bindir}/ %files %license UNLICENSE.txt %{_bindir}/bricktick