74b3ef0647
- Update to 2.15.6 * Fixed bugs related to rebelling * Improved AI on handling rebellions * Fixed several crash bugs * Fixed small graphic update bugs * Fixed bug when assigning to ship * Fixed AI declare war bug * Fixed AI give tribute bug * Greatly improved AI sea based missions * Improved AI on training and recruiting * Cleaned up some deinit code * Improved handling of town migration with workers * Improved AI to be move aggressive in attack missions * Improved validation of attack actions * Added display of the land mass size in the F10 menu * Enabled town peasant migration * Created button for markets to control stocking type * Added Phoenix vision on fryhtan lairs * Improved AI at building harbors * Fixed bugs related to AI surrenders * Improved locale code * Made English the default language on Windows * Increased the max number of raw resource sites to 10 * Fixed bug on trade ship docking and exiting * Reduced penalty on trade unit destruction * Improved distance calculating so placing buildings and towns on any side is treated the same * Fixed some path finding issues * Enabled the ability for AI to scout the map * Fixed screen edge mouse handling bug * Fixed exploit when spying on an enemy nation report * Improved AI handling on granting money to towns and recruiting * Increased the speed of speed level 9 - Update BuildRequires pkgconfig(sdl2) >= 2.24.0 OBS-URL: https://build.opensuse.org/request/show/1113169 OBS-URL: https://build.opensuse.org/package/show/games/7kaa?expand=0&rev=30
90 lines
3.0 KiB
RPMSpec
90 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package 7kaa
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define base_version 2.15
|
|
Name: 7kaa
|
|
Version: %{base_version}.6
|
|
Release: 0
|
|
Summary: Seven Kingdoms: Ancient Adversaries
|
|
License: GPL-2.0-only
|
|
Group: Amusements/Games/Strategy/Real Time
|
|
URL: https://7kfans.com/
|
|
Source0: https://github.com/the3dfxdude/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1: %{name}.png
|
|
Source2: %{name}.desktop
|
|
BuildRequires: curl-devel
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(libenet)
|
|
BuildRequires: pkgconfig(openal)
|
|
BuildRequires: pkgconfig(sdl2) >= 2.24.0
|
|
Recommends: %{name}-music >= %{base_version}
|
|
|
|
%description
|
|
Seven Kingdoms made departures from the traditional real-time strategy models
|
|
of "gather resources, build a base and army, and attack". The economic model
|
|
bears more resemblance to a turn-based strategy game. It features an espionage
|
|
system that allows players to train and control spies individually, who each
|
|
have a spying skill that increases over time. The player is also responsible
|
|
for catching spies in their own kingdom. Inns built within the game allow
|
|
players to hire mercenaries of various occupations, skill levels, and races.
|
|
Skilled spies of enemy races are essential to a well-conducted espionage
|
|
program, and the player can bolster his forces by grabbing a skilled fighter
|
|
or give ones own factories, mines, and towers of science, a boost by hiring a
|
|
skilled professional.
|
|
|
|
Enlight Software decided to release the game to the Open Source community
|
|
in August 2009. At that time everything, but the music, was released under
|
|
the GPL v2.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
|
%configure --docdir=%{_docdir}/%{name}
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
# install icon
|
|
install -Dm 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
|
|
# install Desktop file
|
|
install -Dm 0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
%suse_update_desktop_file %{name}
|
|
%fdupes -s %{buildroot}%{_prefix}
|
|
%find_lang %{name}
|
|
|
|
# remove duplicate COPYING file
|
|
rm -f %{buildroot}%{_docdir}/7kaa/COPYING
|
|
|
|
%files -f %{name}.lang
|
|
%license COPYING
|
|
%doc README
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
%{_datadir}/%{name}
|
|
|
|
%changelog
|