File shippy.spec of Package shippy
#
# spec file for package shippy
#
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# 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: shippy
Version: 1.5.5
Release: 0
Summary: Space invaders like game
License: GPL-2.0-or-later
Group: Amusements/Games/Action/Arcade
#Git-Clone: https://github.com/dulsi/shippy1984.git
URL: http://identicalsoftware.com/shippy1984/
Source: https://github.com/dulsi/shippy1984/archive/refs/tags/release-%{version}.tar.gz
Source1: shippy-wrapper.sh
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gamerzilla)
BuildRequires: pkgconfig(sdl2)
%description
A Space invaders / Galaxians like game with powerups.
%prep
%setup -q -n shippy1984-release-%{version}
mv docs html
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%doc html
%license LICENSE.txt
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/metainfo/%{name}.metainfo.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%changelog