File openjazz.spec of Package openjazz
#
# spec file for package openjazz
#
# Copyright (c) 2023 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: openjazz
Version: 20231028
Release: 0
Summary: Remake of the classic Jazz Jackrabbit games
License: GPL-2.0-or-later
Group: Amusements/Games/Action/Arcade
URL: http://www.alister.eu/jazz/oj/
#Git-Clone: https://github.com/AlisterT/openjazz.git
Source: https://github.com/AlisterT/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(libmodplug)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(zlib)
%description
OpenJazz is a free, open-source version of the classic Jazz Jackrabbit™ games.
Jazz Jackrabbit™ is a PC platform game. Produced by Epic Games (then Epic MegaGames),
it was first released in 1994. The fast-paced, colourful gameplay proved popular,
and the game won PC Format's Arcade Game of the Year award. Many people still fondly
recall the shareware versions.
With the demise of DOS-based operating systems, it has become necessary to use
emulators to play old DOS games. Jazz Jackrabbit™ deserves more - and would benefit
greatly from new features.
To play, you will need the files from one of the original games.
%prep
%setup -q
%build
%cmake
%cmake_build
%install
%cmake_install
rm %{buildroot}/%{_datadir}/pixmaps/OpenJazz.png
%files
%doc README.md
%license licenses.txt
%{_bindir}/OpenJazz
%{_datadir}/applications/OpenJazz.desktop
%{_datadir}/icons/hicolor/*/apps/OpenJazz.??g
%changelog