File crimson-fields.spec of Package crimson-fields
#
# spec file for package crimson-fields
#
# Copyright (c) 2022 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: crimson-fields
Version: 0.5.3
Release: 0
Summary: A turn based tactical war game
License: GPL-2.0-only
Group: Amusements/Games/Strategy/Turn Based
URL: https://crimson.seul.org/
Source: http://crimson.seul.org/files/crimson-%{version}.tar.bz2
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(SDL_mixer)
BuildRequires: pkgconfig(SDL_net)
BuildRequires: pkgconfig(SDL_ttf)
BuildRequires: pkgconfig(sdl)
# Fix for: Failed loading SDL2 library on openSUSE Leap
%if 0%{?suse_version} <= 1500
BuildRequires: pkgconfig(sdl2)
%endif
%description
Crimson Fields is a tactical war game in the tradition of Battle Isle for
one or two players.
The outcome of the war lies in your hands. You decide which units are
sent to the front lines, and when to unleash the reserves. Your mission
objectives range from defending strategically vital locations to simply
destroying all enemy forces in the area. Protect supply convoys or raid
enemy facilities to uncover technological secrets or fill your storage
bays so you can repair damaged units or build new ones in your own
factories. Lead your troops to victory!
Tools are available to create custom maps and campaigns. You can also play
the original Battle Isle maps if you have a copy of the game.
%prep
%setup -q -n crimson-%{version}
%build
%configure --enable-cfed --enable-bi2cf
%make_build
%install
%make_install
%files
%license COPYING music/COPYING.MUSIC
%doc NEWS README README.bi2cf README.CoMET THANKS TODO ChangeLog
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/crimson
%{_datadir}/pixmaps/*
%{_mandir}/man6/*
%changelog