File MAR1D.spec of Package MAR1D
#
# spec file for package MAR1D
#
# 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: MAR1D
Version: 0.3.1
Release: 0
Summary: First person Mario
License: AGPL-3.0-or-later
URL: https://github.com/Radvendii/MAR1D
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: hicolor-icon-theme
BuildRequires: fdupes
BuildRequires: meson
BuildRequires: pkgconfig(libconfig)
BuildRequires: pkgconfig(SDL2_mixer)
%description
The original Super Mario Bros as you've never seen it. Step into Mario's
shoes in this first person clone of the classic Mario game. True to the
original, however, the game still takes place in a two dimensional world.
You must view the world as mario does, as a one dimensional line.
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%fdupes %{buildroot}%{_datadir}/mar1d
%files
%license COPYING
%doc README*
%{_bindir}/%{name}
%{_datadir}/mar1d/
%{_datadir}/applications/mar1d.desktop
%{_datadir}/icons/hicolor/256x256/apps/MAR1D.png
%changelog