File morris.spec of Package morris

# spec file for package morris
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020, Martin Hauke <>
# 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:           morris
Version:        0.2
Release:        0
Summary:        Nine men's morris game
License:        GPL-3.0-only
Group:          Amusements/Games/Strategy/Other
Source1:        morris.6
Patch0:         boost-signals.patch
Patch1:         gsettings-port.patch
Patch2:         workaround_autotools.patch
Patch3:         localedir.patch
BuildRequires:  automake
BuildRequires:  boost-devel
BuildRequires:  gcc-c++
BuildRequires:  intltool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gthread-2.0)
BuildRequires:  pkgconfig(gtk+-2.0) >= 2.4

Morris is an implementation of the board game "Nine Men's Morris".
Other names for this game are: Mills, Merrills, Morris, or Mühle in
This implementation of Nine Men's Morris supports not only the
standard game, but also several rule-variants and different board
layouts. You can play against the computer, or simply use the
program to present the board, but play against another human
opponent. The computer opponent learns from previous games and
tries not to make the same mistake twice.

Among others, the game plays the following variants:
  * Lasker variant (moves are also allowed in the set-phase)
  * the Möbius board (invented by Ingo Althöfer)
  * the Windmill board
  * Pentagon and Hexagon boards
  * Morabaraba
  * Six and Seven Men's Morris
  * Tapatan, Achi, Nine Holes

Furthermore, the game supports:
  * advanced AI controls to tweak AI playing style
  * giving hints for good moves
  * showing the principal variation
  * move takeback (undo and redo)
  * internationalization (English, German, Chinese)
  * many board and rule variations, as well as free customization
    of rules
  * configurable display

%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1

export CXXFLAGS="%{optflags} -Wno-return-type"
autoreconf -fiv

install -Dpm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man6/%{name}.6
%find_lang %{name}

%files -f %{name}.lang
%license COPYING

openSUSE Build Service is sponsored by