File ballerburg.spec of Package ballerburg

# spec file for package ballerburg
# 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

Name:           ballerburg
Version:        1.2.1
Release:        0
Summary:        Two players, two castles, and a hill in between
License:        GPL-3.0-only
Group:          Amusements/Games/Action/Arcade
#Git-Clone:     git://
Source1:        %{name}.xpm
BuildRequires:  cmake
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
#BuildRequires:  pkgconfig(SDL_gfx)
BuildRequires:  pkgconfig(sdl2)

Ballerburg is a castle combat game. Two players (which can be human or
computer-controlled) try to destroy the opponent's castle with their cannons.

Eckhard Kruse's original Ballerburg from 1987 ported to SDL.

%setup -q

make %{?_smp_mflags}

install -D -m0644 %{S:1} %{buildroot}/%{_datadir}/pixmaps/%{name}.xpm
%suse_update_desktop_file -c %{name} %{name} "Turn-based castle computer game" %{name} %{name} Game BoardGame
rm -rf %{buildroot}%{_datadir}/doc/ballerburg/
%find_lang %{name}

%files -f %{name}.lang
%license COPYING.txt
%doc LIESMICH.txt README.txt doc/de/anleitung.html doc/en/manual.html

openSUSE Build Service is sponsored by