File csol.spec of Package csol
#
# spec file for package csol
#
# Copyright (c) 2023 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: csol
Version: 1.6.0
Release: 0
Summary: A small collection of ncurses-based solitaire/patience games
License: MIT
URL: https://github.com/nielssp/csol
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: ncurses-devel
%description
A small collection of solitaire games implemented in C using ncurses.
%prep
%autosetup
%build
%cmake -DCMAKE_INSTALL_PREFIX=/usr
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc CHANGES.md README*
%config %{_sysconfdir}/xdg/%{name}/
%{_bindir}/%{name}
%{_mandir}/man6/%{name}.6%{?ext_man}
%changelog