SHA256
1
0
forked from pool/7kaa

Accepting request 253960 from home:nemysis

- Change %fdupes
- Initial package creation

OBS-URL: https://build.opensuse.org/request/show/253960
OBS-URL: https://build.opensuse.org/package/show/games/7kaa?expand=0&rev=1
This commit is contained in:
Matthias Mailänder 2014-10-05 05:38:28 +00:00 committed by Git OBS Bridge
commit 3d09d255b7
7 changed files with 135 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60b61f321db6c295330fb3fb21894bc41cb6e0bd797aff9abe45cf2392b49fa1
size 27366752

10
7kaa.changes Normal file
View File

@ -0,0 +1,10 @@
-------------------------------------------------------------------
Sat Oct 4 21:02:03 UTC 2014 - nemysis@gmx.ch
- Change %fdupes
-------------------------------------------------------------------
Mon Sep 29 21:54:09 UTC 2014 - nemysis@gmx.ch
- Initial package creation

9
7kaa.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Name=Seven Kingdoms
GenericName=Seven Kingdoms
Comment=Seven Kingdoms: Ancient Adversaries
Type=Application
Exec=7kaa
Icon=7kaa
Categories=Game;StrategyGame;
StartupNotify=false

3
7kaa.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57ea34ada0392e4f1ead1950aee6fd976abfd96adb027119427ff177d4cac053
size 4922

86
7kaa.spec Normal file
View File

@ -0,0 +1,86 @@
#
# spec file for package 7kaa
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: 7kaa
Version: 2.14.4
Release: 0
Summary: Seven Kingdoms: Ancient Adversaries
License: GPL-2.0
Group: Amusements/Games/StrategyGame
Url: http://7kfans.com/
Source0: http://sourceforge.net/projects/skfans/7KAA%20%{version}/%{name}-source-%{version}.tar.bz2
Source1: %{name}.png
Source2: %{name}.desktop
BuildRequires: desktop-file-utils
BuildRequires: update-desktop-files
BuildRequires: gcc-c++
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: SDL-devel
BuildRequires: libSDL_net-devel
BuildRequires: openal-soft-devel
Requires: %{name}-music
%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
%configure --docdir=%{_docdir}/%{name}
make %{?_smp_mflags}
%install
%make_install
# install icon
install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
# install Desktop file
install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop
%suse_update_desktop_file %{name}
%fdupes %{buildroot}%{_prefix}
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}
%changelog