Summary: Simple console clock Name: tty-clock Version: 2.3 Release: 1%{?dist} License: BSD 3-Clause Url: http://github.com/xorg62/tty-clock # Nice trick to rename the "tag file" and give it a nicer name Source: https://github.com/xorg62/tty-clock/archive/refs/tags/v%{version}.tar.gz#/tty-clock-%{version}.tar.gz BuildRequires: gcc make ncurses-devel %description A digital clock in ncurses %prep %setup -q -n tty-clock-%{version} chmod -x README %build export CFLAGS="${CFLAGS} -Wno-error=format-security" %make_build %check %{buildroot}%{_bindir}/tty-clock -v | grep 'TTY-Clock' %install install -d -m 755 %buildroot%_bindir install -m 755 %name %buildroot%_bindir/ %files %doc README %_bindir/%name %changelog * Mon Sep 15 2025 Dejan Lekić 2.3-1 - Initial version of the SPEC file