File pipewalker.spec of Package pipewalker

#
# spec file for package pipewalker
#
# Copyright (c) 2025 SUSE LLC
# Copyright Vincent Petry <PVince81@yahoo.fr>
#
# 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:           pipewalker
Version:        1.1
Release:        0
Summary:        A clone of the NetWalk game
License:        GPL-3.0-only
Group:          Amusements/Games/Board/Puzzle
URL:            https://github.com/artemsen/pipewalker
Source:         https://github.com/artemsen/pipewalker/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(SDL2_image)
BuildRequires:  pkgconfig(sdl2)

%description
This is a puzzle game where pieces of a computer network are to be
turned in the right/left direction to make all computers connected
to the same network.

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install

%files
%license LICENSE
%doc README.md
%{_bindir}/pipewalker
%{_datadir}/games/pipewalker
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/64x64/apps/pipewalker.png
%{_mandir}/man6/pipewalker.6%{?ext_man}

%changelog
openSUSE Build Service is sponsored by