2012-12-07 14:34:42 +01:00
|
|
|
#
|
2012-12-21 09:08:57 +01:00
|
|
|
# spec file for package kshisen
|
2012-12-07 14:34:42 +01:00
|
|
|
#
|
2023-03-02 15:21:30 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-12-07 14:34:42 +01: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-25 00:45:11 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-12-07 14:34:42 +01:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:58:53 +02:00
|
|
|
|
2022-01-06 13:44:57 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:45:11 +01:00
|
|
|
Name: kshisen
|
2023-09-14 12:52:12 +02:00
|
|
|
Version: 23.08.1
|
2018-11-25 00:45:11 +01:00
|
|
|
Release: 0
|
2012-12-21 09:08:57 +01:00
|
|
|
Summary: Shisen-Sho Mahjongg-like game
|
2018-11-25 00:45:11 +01:00
|
|
|
License: GPL-2.0-or-later
|
2021-04-19 15:31:06 +02:00
|
|
|
URL: https://apps.kde.org/kshisen
|
2023-08-24 12:29:08 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:44:57 +01:00
|
|
|
%if %{with released}
|
2023-08-24 12:29:08 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:31:06 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 23:56:48 +01:00
|
|
|
# PATCH-FIX-OPENSUSE cpp14.patch fabian@ritter-vogt.de Use only c++11 features
|
|
|
|
Patch1: cpp14.patch
|
2016-12-03 14:56:20 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2020-03-28 14:58:08 +01:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: xz
|
2019-11-29 12:40:12 +01:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5KDEGames)
|
|
|
|
BuildRequires: cmake(KF5KMahjongglib)
|
2020-03-28 14:58:08 +01:00
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2019-11-29 12:40:12 +01:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
2015-05-11 18:23:28 +02:00
|
|
|
Obsoletes: %{name}5 < %{version}
|
|
|
|
Provides: %{name}5 = %{version}
|
2012-12-07 14:34:42 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Shisen-Sho (KShishen) is a game similar to Mahjongg. The object of the
|
|
|
|
game is to remove all tiles from the field. This is done by removing
|
|
|
|
two tiles with of the same type until no tile is left.
|
|
|
|
|
2017-04-15 15:28:39 +02:00
|
|
|
%lang_package
|
|
|
|
|
2012-12-07 14:34:42 +01:00
|
|
|
%prep
|
2021-04-19 15:31:06 +02:00
|
|
|
%autosetup -p1
|
2012-12-07 14:34:42 +01:00
|
|
|
|
|
|
|
%build
|
2022-11-17 23:58:39 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2012-12-07 14:34:42 +01:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:58:39 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
|
|
|
|
|
|
|
%suse_update_desktop_file -r org.kde.kshisen Game BoardGame
|
2012-12-07 14:34:42 +01:00
|
|
|
|
2016-12-03 14:56:20 +01:00
|
|
|
%files
|
2021-03-28 09:27:35 +02:00
|
|
|
%license LICENSES/*
|
2017-08-12 00:58:53 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kshisen/
|
2015-05-11 18:23:28 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kshisen.desktop
|
2017-08-12 00:58:53 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kshisen.appdata.xml
|
|
|
|
%{_kf5_bindir}/kshisen
|
2015-05-11 18:23:28 +02:00
|
|
|
%{_kf5_configkcfgdir}/
|
2018-11-25 00:45:11 +01:00
|
|
|
%{_kf5_debugdir}/kshisen.categories
|
2017-08-12 00:58:53 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kshisen.*
|
|
|
|
%{_kf5_sharedir}/sounds/kshisen/
|
2012-12-07 14:34:42 +01:00
|
|
|
|
2017-04-15 15:28:39 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2012-12-07 14:34:42 +01:00
|
|
|
%changelog
|