commandergenius/commandergenius.spec
Jan Engelhardt d88c414e57 Accepting request 785378 from home:mnhauke:games
- Update to new upstream release 2.4.0
  * Fixed problem with some dialogs in vorticon keen engine
  * Improved the code for save game menus
  * Added option where you can choose whether you type your save
    game or a timestamp is automatically entered instead
  * Disabled button cannot be triggered anymore as it should be

OBS-URL: https://build.opensuse.org/request/show/785378
OBS-URL: https://build.opensuse.org/package/show/games/commandergenius?expand=0&rev=4
2020-03-20 07:30:31 +00:00

69 lines
2.0 KiB
RPMSpec

#
# spec file for package commandergenius
#
# Copyright (c) 2020 SUSE LLC
#
# 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: commandergenius
Version: 2.4.0
Release: 0
Summary: An open clone of the Commander Keen engines
License: GPL-2.0-only
Group: Amusements/Games/Action/Arcade
URL: http://clonekeenplus.sf.net/
#Git-Clone: https://gitlab.com/Dringgstein/Commander-Genius.git
Source: https://gitlab.com/Dringgstein/Commander-Genius/-/archive/v%version/Commander-Genius-v%version.tar.bz2
BuildRequires: boost-devel
BuildRequires: cmake >= 2.8
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(SDL2_image) >= 2.0.0
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(zlib)
%description
Commander Genius is a software piece that interprets the Commander
Keen Vorticon (1-3) and Galaxy (3½-6) series.
It has 4-player cooperative mode and six difficulty modes.
%prep
%setup -q -n Commander-Genius-v%version
%build
%cmake \
-DCMAKE_INSTALL_PREFIX="%_prefix" \
-DAPPDIR="%_bindir"
%make_jobs
%install
%cmake_install
%fdupes %buildroot%_datadir
%files
%license COPYRIGHT
%_bindir/CGeniusExe
%_datadir/applications/cgenius.desktop
%_datadir/icons/hicolor/
%_datadir/games/%name/
%changelog