File hannah.spec of Package hannah

#
# spec file for package hannah
#
# 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:           hannah
Version:        2.0.1
Release:        0
Summary:        Pac-Man like, child oriented game
License:        GPL-3.0
Group:          Amusements/Games/Action/Arcade
URL:            https://sourceforge.net/projects/hannah/
Source:         Hannah-%{version}-src.tar.bz2
BuildRequires:  gcc-c++
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  pkgconfig(sdl2) >= 2.0.5
BuildRequires:  pkgconfig(SDL2_image)
BuildRequires:  pkgconfig(SDL2_mixer)
BuildRequires:  pkgconfig(SDL2_ttf)
BuildRequires:  fdupes

%description
Remember the 1990's home micro game Fast Food starring Dizzy? No?
Well this is a bit like if that game and Pacman had a baby. Navigate
the mazes collecting the coins, powerpills and moving food while
avoiding the ghosts and making use of the power ups.

%prep
%autosetup -n Hannah
sed -i 's|INSTALL_DATA=$${INSTALL} -m 644 -D|INSTALL_DATA="$${INSTALL} -m 644 -D"|' configure.ac
autoreconf -fi

%build
%configure
%make_build

%install
%make_install
%fdupes %{buildroot}%{_datadir}/hannah

%files
%license COPYING
%doc CHANGELOG README
%{_bindir}/hannah
%{_datadir}/hannah

%changelog
openSUSE Build Service is sponsored by