From 1bd765ced8618172875f694dd8bb32845b51663d2c8974a7bdf651cd172b40d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 5 Oct 2014 05:38:28 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++ 7kaa-source-2.14.4.tar.bz2 | 3 ++ 7kaa.changes | 10 +++++ 7kaa.desktop | 9 ++++ 7kaa.png | 3 ++ 7kaa.spec | 86 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 134 insertions(+) create mode 100644 .gitattributes create mode 100644 7kaa-source-2.14.4.tar.bz2 create mode 100644 7kaa.changes create mode 100644 7kaa.desktop create mode 100644 7kaa.png create mode 100644 7kaa.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/7kaa-source-2.14.4.tar.bz2 b/7kaa-source-2.14.4.tar.bz2 new file mode 100644 index 0000000..d25bce0 --- /dev/null +++ b/7kaa-source-2.14.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60b61f321db6c295330fb3fb21894bc41cb6e0bd797aff9abe45cf2392b49fa1 +size 27366752 diff --git a/7kaa.changes b/7kaa.changes new file mode 100644 index 0000000..71215f2 --- /dev/null +++ b/7kaa.changes @@ -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 + diff --git a/7kaa.desktop b/7kaa.desktop new file mode 100644 index 0000000..e8e01a3 --- /dev/null +++ b/7kaa.desktop @@ -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 \ No newline at end of file diff --git a/7kaa.png b/7kaa.png new file mode 100644 index 0000000..52dbf1f --- /dev/null +++ b/7kaa.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57ea34ada0392e4f1ead1950aee6fd976abfd96adb027119427ff177d4cac053 +size 4922 diff --git a/7kaa.spec b/7kaa.spec new file mode 100644 index 0000000..27ccb9b --- /dev/null +++ b/7kaa.spec @@ -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