File reone.spec of Package reone
#
# spec file for package reone
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2020-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: reone
Version: 0.19.0
Release: 0
Summary: A game engine capable of running Star Wars: KotOR and TSL
License: GPL-3.0-or-later
Group: Amusements/Games/3D/Shoot
URL: https://github.com/seedhartha/reone
Source: https://github.com/seedhartha/reone/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_system-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(glm)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(mad)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(sdl2)
%description
A free and open source game engine capable of running Star Wars: Knights
of the Old Republic and its sequel, The Sith Lords.
We aim to provide an engine that is flexible and modern, and can be used to:
* Play KotOR and TSL from beginning to end
* Create mods that drastically change the gameplay or improve the visuals
NOTE: To play supported games with reone you need the original game files.
%prep
%setup -q
%build
%cmake
%cmake_build
%install
install -d %{buildroot}%{_bindir}
install -m0755 build/bin/reone %{buildroot}%{_bindir}/reone
install -m0755 build/bin/reone-tools %{buildroot}%{_bindir}/reone-tools
%files
%license COPYING
%doc README.md
%{_bindir}/reone
%{_bindir}/reone-tools
%changelog