File bomns.spec of Package bomns

# spec file for package bomns
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# 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:           bomns
Version:        0.99.3
Release:        0
Summary:        Best old-school Deathmatch game ever (only for two players)
License:        GPL-2.0+
Group:          Amusements/Games/Action/Arcade
# Downloaded from
# Packed as tar.bz2
Source:         %{name}-%{version}+git-113be27.tar.bz2
# PATCH-FIX-UPSTREAM - bomns-bomns.desktop.patch -- Add GenericName
Patch0:         %{name}-%{name}.desktop.patch
%if 0%{?suse_version}
BuildRequires:  fdupes
BuildRequires:  hicolor-icon-theme
BuildRequires:  update-desktop-files
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  gtk2-devel
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(sdl)
BuildRequires:  pkgconfig(SDL_mixer)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The gameplay of Bomns for Linux is quite simple: just move around the level,
picking up powerups and avoiding powerdowns, all the while laying bomns and
plotting your opponent's desctruction. A bomn will do 5 damage to the other
player, and running into them will do 1 damage. The first to kill their
opponent before the time runs out is declared the winner.

Player one controls:
  Move      : arrow keys
  Drop Bomn : enter

Player two controls:
  Move      : w,a,s,d
  Drop Bomn : spacebar

Other controls:
  Enter/exit fullscreen mode: f
  Quit current game         : escape

%setup -q -n Bomns-for-Linux

make %{?_smp_mflags}

cd build

%if 0%{?suse_version}
    %suse_update_desktop_file %{name}
    %fdupes -s %{buildroot}%{_prefix}


openSUSE Build Service is sponsored by