File Vanilla-Conquer.spec of Package Vanilla-Conquer

#
# spec file for package Vanilla-Conquer
#
# 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:           Vanilla-Conquer
Version:        0~git20210325
Release:        0
Summary:        Game Engine for the 1st generation Command and Conquer games
License:        GPL-3.0-or-later
Group:          Amusements/Games/Strategy/Real Time
URL:            https://github.com/TheAssemblyArmada/Vanilla-Conquer
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  pkgconfig
BuildRequires:  gcc-c++
BuildRequires:  git-core
BuildRequires:  pkgconfig(openal)
BuildRequires:  pkgconfig(sdl2)

%description
Vanilla Conquer is a fully portable version of the first generation
C&C engine and is capable of running both Tiberian Dawn and Red Alert
on multiple platforms. It can also be used for mod development for
the Remastered Collection.

The main focus of Vanilla Conquer is to keep the default out-of-box
experience faithful to what the games were back when they were
released and work as a drop-in replacement for the original
executables while also providing bug fixes, compatiblity and quality
of life improvements.

Note: This package only includes the binary files.
You still need the data files from the original C&C games to play
the game.

%prep
%setup -q

%build
%cmake
%cmake_build

%install
install -d %{buildroot}%{_bindir}
install -m 0755 build/vanillara %{buildroot}%{_bindir}/
install -m 0755 build/vanillatd %{buildroot}%{_bindir}/

%files
%license License.txt
%doc README.md
%{_bindir}/vanillara
%{_bindir}/vanillatd

%changelog
openSUSE Build Service is sponsored by