File OpenE2140.spec of Package OpenE2140

#
# spec file for package OpenE2140
#
# Copyright (c) 2020, 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:           OpenE2140
Version:        0.0.0+git.20200301
Release:        0
Summary:        An open source game reimplementing Earth 2140
License:        GPL-3.0-or-later
Group:          Amusements/Games/Strategy/Real Time
URL:            https://github.com/IonAgorria/OpenE2140
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  gcc-c++
BuildRequires:  libboost_filesystem-devel
BuildRequires:  meson
BuildRequires:  nlohmann_json-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(glew)
BuildRequires:  pkgconfig(glm)
BuildRequires:  pkgconfig(sdl2)

%description
An open source game reimplementing Earth 2140 gameplay using
original game files.
The project aims to reproduce the overall gameplay experience
while adding a modern game features that are not available in
the original game.

To play E2140 with OpenE2140 you need the original game files
See: %{_docdir}/OpenE2140/README.md for details.

%prep
%setup -q

%build
meson build --prefix=%{_prefix} --buildtype=release
ninja -C build

%install
DESTDIR=%{buildroot} ninja -C build install

%files
%license LICENSE
%doc README.md
%{_bindir}/opene2140

%changelog
openSUSE Build Service is sponsored by