2012-12-07 13:27:58 +00:00
|
|
|
#
|
2012-12-20 14:31:39 +00:00
|
|
|
# spec file for package kigo
|
2012-12-07 13:27:58 +00:00
|
|
|
#
|
2021-03-28 07:27:15 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2012-12-07 13:27:58 +00: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.
|
|
|
|
|
2018-11-24 23:44:46 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-12-07 13:27:58 +00:00
|
|
|
#
|
|
|
|
|
2017-08-09 13:52:41 +00:00
|
|
|
|
2018-11-24 23:44:46 +00:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2017-08-05 20:47:14 +00:00
|
|
|
%bcond_without lang
|
2017-08-09 13:52:41 +00:00
|
|
|
Name: kigo
|
2021-10-07 11:40:02 +00:00
|
|
|
Version: 21.08.2
|
2017-08-09 13:52:41 +00:00
|
|
|
Release: 0
|
2021-04-19 13:30:58 +00:00
|
|
|
Summary: Traditional Chinese Boardgame by KDE
|
2018-11-24 23:44:46 +00:00
|
|
|
License: GPL-2.0-or-later
|
2012-12-07 13:27:58 +00:00
|
|
|
Group: Amusements/Games/Board/Other
|
2021-04-19 13:30:58 +00:00
|
|
|
URL: https://apps.kde.org/kigo
|
2021-08-07 11:17:19 +00:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2021-04-19 13:30:58 +00:00
|
|
|
%if %{with lang}
|
2021-08-07 11:17:19 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 13:30:58 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2017-08-05 20:47:14 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
2020-03-28 13:57:39 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 11:39:41 +00:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
2020-03-28 13:57:39 +00:00
|
|
|
BuildRequires: cmake(KF5KDEGames)
|
2019-11-29 11:39:41 +00:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2020-03-28 13:57:39 +00:00
|
|
|
Recommends: gnugo
|
2017-08-11 22:56:31 +00:00
|
|
|
Obsoletes: kigo5 < %{version}
|
|
|
|
Provides: kigo5 = %{version}
|
2012-12-07 13:27:58 +00:00
|
|
|
|
|
|
|
%description
|
2021-04-19 13:30:58 +00:00
|
|
|
Traditional Chinese Boardgame.
|
2012-12-07 13:27:58 +00:00
|
|
|
|
2017-08-05 20:47:14 +00:00
|
|
|
%lang_package
|
2017-03-26 12:56:20 +00:00
|
|
|
|
2012-12-07 13:27:58 +00:00
|
|
|
%prep
|
2021-04-19 13:30:58 +00:00
|
|
|
%autosetup -p1
|
2012-12-07 13:27:58 +00:00
|
|
|
|
|
|
|
%build
|
2017-08-05 20:47:14 +00:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 08:43:32 +00:00
|
|
|
%cmake_build
|
2012-12-07 13:27:58 +00:00
|
|
|
|
|
|
|
%install
|
2017-08-05 20:47:14 +00:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2017-08-09 13:52:41 +00:00
|
|
|
%{kf5_find_htmldocs}
|
2017-08-05 20:47:14 +00:00
|
|
|
%endif
|
2018-11-24 23:44:46 +00:00
|
|
|
|
2017-04-12 14:52:14 +00:00
|
|
|
%files
|
2021-03-28 07:27:15 +00:00
|
|
|
%license LICENSES/*
|
2017-08-11 22:56:31 +00:00
|
|
|
%{_kf5_bindir}/kigo
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kigo/
|
|
|
|
%{_kf5_applicationsdir}/org.kde.kigo.desktop
|
|
|
|
%{_kf5_appsdir}/kigo/
|
2021-04-19 13:30:58 +00:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kigo.appdata.xml
|
2017-08-05 20:47:14 +00:00
|
|
|
%{_kf5_configkcfgdir}/kigo.kcfg
|
2020-03-28 13:57:39 +00:00
|
|
|
%{_kf5_debugdir}/kigo.categories
|
2021-04-19 13:30:58 +00:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kigo.*
|
|
|
|
%{_kf5_knsrcfilesdir}/kigo*.knsrc
|
2017-08-05 20:47:14 +00:00
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
2012-12-07 13:27:58 +00:00
|
|
|
|
|
|
|
%changelog
|