KDE Applications 18.12.0 Beta (last try; fix any other issue post acceptance)

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kshisen?expand=0&rev=81
This commit is contained in:
Wolfgang Bauer
2018-11-24 23:45:11 +00:00
committed by Git OBS Bridge
parent 4246133d9c
commit f8fd01450f
4 changed files with 31 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package kshisen
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,21 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_without lang
Name: kshisen
Version: 18.08.3
Release: 0
%define kf5_version 5.26.0
# 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}')}
%bcond_without lang
Name: kshisen
Version: 18.11.80
Release: 0
Summary: Shisen-Sho Mahjongg-like game
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Amusements/Games/Board/Other
Url: http://www.kde.org
URL: http://www.kde.org
Source0: kshisen-%{version}.tar.xz
# PATCH-FIX-OPENSUSE cpp14.patch fabian@ritter-vogt.de Use only c++11 features
Patch1: cpp14.patch
@@ -50,7 +49,6 @@ Provides: %{name}5 = %{version}
%if %{with lang}
Recommends: %{name}-lang
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Shisen-Sho (KShishen) is a game similar to Mahjongg. The object of the
@@ -73,26 +71,26 @@ two tiles with of the same type until no tile is left.
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%{kf5_find_htmldocs}
%endif
%suse_update_desktop_file -r org.kde.kshisen Game BoardGame
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%license COPYING COPYING.DOC
%dir %{_kf5_appstreamdir}
%doc %lang(en) %{_kf5_htmldir}/en/kshisen/
%{_kf5_applicationsdir}/org.kde.kshisen.desktop
%{_kf5_appstreamdir}/org.kde.kshisen.appdata.xml
%{_kf5_bindir}/kshisen
%{_kf5_configkcfgdir}/
%{_kf5_debugdir}/kshisen.categories
%{_kf5_iconsdir}/hicolor/*/apps/kshisen.*
%{_kf5_kxmlguidir}/
%{_kf5_sharedir}/sounds/kshisen/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%license COPYING*
%endif
%changelog