diff --git a/kshisen.changes b/kshisen.changes index 8ef7a5c..70f4fc5 100644 --- a/kshisen.changes +++ b/kshisen.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Aug 11 22:46:00 UTC 2017 - christophe@krop.fr + +- Update to KDE Applications 17.08.0 + * New feature release + * https://www.kde.org/announcements/announce-applications-17.08.0.php +- Changes since 17.04.3 : + * Use Q_DECLARE_OVERRIDE + ------------------------------------------------------------------- Sat Aug 5 18:18:45 UTC 2017 - christophe@krop.fr diff --git a/kshisen.spec b/kshisen.spec index 7361c20..40fea1d 100644 --- a/kshisen.spec +++ b/kshisen.spec @@ -1,7 +1,7 @@ # # spec file for package kshisen # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %bcond_without lang Name: kshisen Version: 17.07.90 Release: 0 %define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Shisen-Sho Mahjongg-like game License: GPL-2.0+ @@ -32,10 +33,10 @@ Source0: kshisen-%{version}.tar.xz Patch1: cpp14.patch BuildRequires: extra-cmake-modules BuildRequires: kconfig-devel -BuildRequires: kxmlgui-devel BuildRequires: kcrash-devel BuildRequires: kdbusaddons-devel BuildRequires: kdoctools-devel +BuildRequires: kxmlgui-devel BuildRequires: libkdegames-devel BuildRequires: libkmahjongg-devel BuildRequires: pkgconfig @@ -46,7 +47,9 @@ BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Test) Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} +%if %{with lang} Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -77,15 +80,15 @@ two tiles with of the same type until no tile is left. %files %defattr(-,root,root) %doc COPYING COPYING.DOC -%{_kf5_bindir}/kshisen -%{_kf5_htmldir}/en/kshisen/ -%{_kf5_applicationsdir}/org.kde.kshisen.desktop -%{_kf5_iconsdir}/hicolor/*/apps/kshisen.* -%{_kf5_configkcfgdir}/ -%{_kf5_sharedir}/sounds/kshisen/ -%{_kf5_kxmlguidir}/ -%{_kf5_appstreamdir}/org.kde.kshisen.appdata.xml %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_iconsdir}/hicolor/*/apps/kshisen.* +%{_kf5_kxmlguidir}/ +%{_kf5_sharedir}/sounds/kshisen/ %if %{with lang} %files lang -f %{name}.lang