File numptyphysics.spec of Package numptyphysics
#
# spec file for package numptyphysics
#
# Copyright (c) 2022 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: numptyphysics
Version: 0.3.9
Release: 0
Summary: Numpty Physics
License: GPL-2.0-or-later
Group: Amusements/Games/Logic
URL: http://thp.io/2015/numptyphysics/
Source: https://github.com/thp/numptyphysics/archive/refs/tags/%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: zlib-devel
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(sdl2)
# Incorrect version format was used
Obsoletes: %{name} >= 0.3.81
%description
Harness gravity with your crayon and set about creating blocks, ramps,
levers, pulleys and whatever else you fancy to get the little red thing
to the little yellow thing.
Numpty Physics is a drawing puzzle game in the spirit (and style?)
of Crayon Physics using the same excellent Box2D engine. Note though
that I've not actually played CP so the experience may be very different.
Numpty Physics includes a built-in editor so that you may build (and submit)
your own levels.
%prep
%setup -q
%build
%{make_build}
%install
%{make_install}
%fdupes %{buildroot}%{_datadir}/%{name}/
%files
%defattr(-,root,root)
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man6/%{name}.6.*
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog