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
|
|
|
#
|
2024-02-23 20:08:17 +00:00
|
|
|
# Copyright (c) 2024 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
|
|
|
|
2024-02-23 20:08:17 +00:00
|
|
|
%define kf6_version 5.246.0
|
|
|
|
%define qt6_version 6.6.0
|
|
|
|
|
2022-01-06 12:44:44 +00:00
|
|
|
%bcond_without released
|
2017-08-09 13:52:41 +00:00
|
|
|
Name: kigo
|
2024-02-26 06:51:47 +00:00
|
|
|
Version: 24.02.0
|
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
|
2021-04-19 13:30:58 +00:00
|
|
|
URL: https://apps.kde.org/kigo
|
2024-02-26 10:17:20 +00:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-01-06 12:44:44 +00:00
|
|
|
%if %{with released}
|
2024-02-26 10:17:20 +00:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2021-04-19 13:30:58 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2024-02-23 20:08:17 +00:00
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KDEGames6)
|
|
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6TextWidgets) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Svg) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
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
|
2024-02-23 20:08:17 +00:00
|
|
|
%cmake_kf6
|
|
|
|
|
|
|
|
%kf6_build
|
2012-12-07 13:27:58 +00:00
|
|
|
|
|
|
|
%install
|
2024-02-23 20:08:17 +00:00
|
|
|
%kf6_install
|
2022-11-17 22:58:23 +00:00
|
|
|
|
2024-02-23 20:08:17 +00:00
|
|
|
%find_lang %{name} --with-man --with-html --all-name
|
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/*
|
2024-02-23 20:08:17 +00:00
|
|
|
%{_kf6_bindir}/kigo
|
|
|
|
%doc %lang(en) %{_kf6_htmldir}/en/kigo/
|
|
|
|
%{_kf6_applicationsdir}/org.kde.kigo.desktop
|
|
|
|
%{_kf6_appstreamdir}/org.kde.kigo.appdata.xml
|
|
|
|
%{_kf6_configkcfgdir}/kigo.kcfg
|
|
|
|
%{_kf6_debugdir}/kigo.categories
|
|
|
|
%{_kf6_iconsdir}/hicolor/*/apps/kigo.*
|
|
|
|
%{_kf6_knsrcfilesdir}/kigo*.knsrc
|
|
|
|
%{_kf6_sharedir}/kigo/
|
2017-08-05 20:47:14 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2024-02-23 20:08:17 +00:00
|
|
|
%exclude %{_kf6_htmldir}/en/kigo/
|
2012-12-07 13:27:58 +00:00
|
|
|
|
|
|
|
%changelog
|