2014-10-05 07:38:28 +02:00
|
|
|
#
|
|
|
|
# spec file for package 7kaa
|
|
|
|
#
|
2023-09-23 15:33:47 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-10-05 07:38:28 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-02-20 14:12:36 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-10-05 07:38:28 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-04-29 17:16:58 +02:00
|
|
|
%define base_version 2.15
|
2014-10-05 07:38:28 +02:00
|
|
|
Name: 7kaa
|
2023-09-23 15:33:47 +02:00
|
|
|
Version: %{base_version}.6
|
2014-10-05 07:38:28 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Seven Kingdoms: Ancient Adversaries
|
2019-02-20 14:12:36 +01:00
|
|
|
License: GPL-2.0-only
|
2017-11-05 07:35:19 +01:00
|
|
|
Group: Amusements/Games/Strategy/Real Time
|
2020-07-17 09:15:31 +02:00
|
|
|
URL: https://7kfans.com/
|
2023-09-23 15:33:47 +02:00
|
|
|
Source0: https://github.com/the3dfxdude/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2014-10-05 07:38:28 +02:00
|
|
|
Source1: %{name}.png
|
|
|
|
Source2: %{name}.desktop
|
2017-11-05 07:35:19 +01:00
|
|
|
BuildRequires: curl-devel
|
2016-09-05 22:05:01 +02:00
|
|
|
BuildRequires: fdupes
|
2014-10-05 07:38:28 +02:00
|
|
|
BuildRequires: gcc-c++
|
2017-11-05 07:35:19 +01:00
|
|
|
BuildRequires: pkgconfig
|
2016-09-05 22:05:01 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2019-02-20 14:12:36 +01:00
|
|
|
BuildRequires: pkgconfig(libenet)
|
|
|
|
BuildRequires: pkgconfig(openal)
|
2023-09-23 15:33:47 +02:00
|
|
|
BuildRequires: pkgconfig(sdl2) >= 2.24.0
|
2021-04-29 17:16:58 +02:00
|
|
|
Recommends: %{name}-music >= %{base_version}
|
2014-10-05 07:38:28 +02:00
|
|
|
|
|
|
|
%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
|
2015-09-26 21:23:31 +02:00
|
|
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
2015-09-29 16:53:53 +02:00
|
|
|
%configure --docdir=%{_docdir}/%{name}
|
2020-07-17 09:15:31 +02:00
|
|
|
%make_build
|
2014-10-05 07:38:28 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
# install icon
|
2017-11-05 07:35:19 +01:00
|
|
|
install -Dm 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
2014-10-05 07:38:28 +02:00
|
|
|
|
|
|
|
# install Desktop file
|
2017-11-05 07:35:19 +01:00
|
|
|
install -Dm 0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
2014-10-05 07:38:28 +02:00
|
|
|
|
2016-09-05 22:05:01 +02:00
|
|
|
%suse_update_desktop_file %{name}
|
|
|
|
%fdupes -s %{buildroot}%{_prefix}
|
2019-02-20 14:12:36 +01:00
|
|
|
%find_lang %{name}
|
2014-10-05 07:38:28 +02:00
|
|
|
|
2019-02-20 14:12:36 +01:00
|
|
|
# remove duplicate COPYING file
|
|
|
|
rm -f %{buildroot}%{_docdir}/7kaa/COPYING
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%license COPYING
|
|
|
|
%doc README
|
2014-10-05 07:38:28 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|