File ctactoe.spec of Package ctactoe

#
# spec file for package ctactoe
#
# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

Name:           ctactoe
Version:        1.0
Release:        0
Summary:        A library-free TUI Tic-Tac-Toe game

License:        GPLv3
URL:            https://github.com/bazgab/ctactoe
Source0:        ctactoe-1.0.tar.gz

BuildRequires:  gcc
BuildRequires:  make

%description
A simple, clean, and library-free Tic-Tac-Toe game written in C.
It features a TUI (Text User Interface) with cursor navigation
and ANSI color support.

%prep

%setup -q

%build

make %{?_smp_mflags}

%install

rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%files
%attr(0755, root, root) /usr/bin/ctactoe

%changelog
openSUSE Build Service is sponsored by